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
mainEntityManagerFactoryFields inherited from interface org.europa.together.business.GenericDAO
FEATURE_ID -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.europa.together.application.GenericHbmDAO
countAllElements, create, delete, deserializeJsonAsList, deserializeJsonAsObject, getPrimaryKeyOfObject, listAllElements, serializeAsJson, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
findin interfaceorg.europa.together.business.GenericDAO<org.europa.together.domain.acl.PermissionDO,String> - Specified by:
findin interfaceorg.europa.together.business.acl.PermissionDAO- Overrides:
findin 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:
findin interfaceorg.europa.together.business.acl.PermissionDAO
-
listRolePermissions
@Transactional(readOnly=true) public List<org.europa.together.domain.acl.PermissionDO> listRolePermissions(String roleName) - Specified by:
listRolePermissionsin interfaceorg.europa.together.business.acl.PermissionDAO
-