Class PermissionHbmDAO
java.lang.Object
org.europa.together.application.GenericHbmDAO<org.europa.together.domain.acl.PermissionDO,String>
org.europa.together.application.acl.PermissionHbmDAO
- All Implemented Interfaces:
Serializable
,org.europa.together.business.acl.PermissionDAO
,org.europa.together.business.GenericDAO<org.europa.together.domain.acl.PermissionDO,
String>
@Repository
@Transactional
public class PermissionHbmDAO
extends org.europa.together.application.GenericHbmDAO<org.europa.together.domain.acl.PermissionDO,String>
implements org.europa.together.business.acl.PermissionDAO
Implementation of the PermissionDAO.
- See Also:
-
Field Summary
Fields inherited from class org.europa.together.application.GenericHbmDAO
mainEntityManagerFactory
Fields inherited from interface org.europa.together.business.GenericDAO
FEATURE_ID
-
Constructor Summary
-
Method Summary
Methods inherited from class org.europa.together.application.GenericHbmDAO
countAllElements, create, delete, deserializeJsonAsList, deserializeJsonAsObject, getPrimaryKeyOfObject, listAllElements, serializeAsJson, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.europa.together.business.GenericDAO
countAllElements, create, delete, deserializeJsonAsList, deserializeJsonAsObject, getPrimaryKeyOfObject, listAllElements, serializeAsJson, update
-
Constructor Details
-
PermissionHbmDAO
public PermissionHbmDAO()Default Constructor.
-
-
Method Details
-
find
- Specified by:
find
in interfaceorg.europa.together.business.GenericDAO<org.europa.together.domain.acl.PermissionDO,
String> - Specified by:
find
in interfaceorg.europa.together.business.acl.PermissionDAO
- Overrides:
find
in classorg.europa.together.application.GenericHbmDAO<org.europa.together.domain.acl.PermissionDO,
String>
-
find
public org.europa.together.domain.acl.PermissionDO find(String roleName, String resource, String view) - Specified by:
find
in interfaceorg.europa.together.business.acl.PermissionDAO
-
listRolePermissions
@Transactional(readOnly=true) public List<org.europa.together.domain.acl.PermissionDO> listRolePermissions(String roleName) - Specified by:
listRolePermissions
in interfaceorg.europa.together.business.acl.PermissionDAO
-