Class ResourcesHbmDAO
java.lang.Object
org.europa.together.application.GenericHbmDAO<org.europa.together.domain.acl.ResourcesDO,String>
org.europa.together.application.acl.ResourcesHbmDAO
- All Implemented Interfaces:
Serializable,org.europa.together.business.acl.ResourcesDAO,org.europa.together.business.GenericDAO<org.europa.together.domain.acl.ResourcesDO,String>
@Repository
@Transactional
public class ResourcesHbmDAO
extends org.europa.together.application.GenericHbmDAO<org.europa.together.domain.acl.ResourcesDO,String>
implements org.europa.together.business.acl.ResourcesDAO
Implementation of the ResourcesDAO.
- 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
Modifier and TypeMethodDescriptionvoidDeprecated.booleandelete(org.europa.together.domain.acl.ResourcesDO resource) org.europa.together.domain.acl.ResourcesDOorg.europa.together.domain.acl.ResourcesDOList<org.europa.together.domain.acl.ResourcesDO>List<org.europa.together.domain.acl.ResourcesDO>listResourcesOfSameType(String resource) voidDeprecated.voidupdate(org.europa.together.domain.acl.ResourcesDO resource) Methods inherited from class org.europa.together.application.GenericHbmDAO
countAllElements, create, deserializeJsonAsList, deserializeJsonAsObject, getPrimaryKeyOfObject, listAllElements, serializeAsJsonMethods 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, deserializeJsonAsList, deserializeJsonAsObject, getPrimaryKeyOfObject, listAllElements, serializeAsJson
-
Constructor Details
-
ResourcesHbmDAO
public ResourcesHbmDAO()Default Constructor.
-
-
Method Details
-
update
Deprecated. -
delete
Deprecated. -
find
@Transactional(readOnly=true) public org.europa.together.domain.acl.ResourcesDO find(String resource) -
find
@Transactional(readOnly=true) public org.europa.together.domain.acl.ResourcesDO find(String resource, String view) - Specified by:
findin interfaceorg.europa.together.business.acl.ResourcesDAO
-
update
public void update(org.europa.together.domain.acl.ResourcesDO resource) throws jakarta.persistence.EntityNotFoundException - Specified by:
updatein interfaceorg.europa.together.business.acl.ResourcesDAO- Throws:
jakarta.persistence.EntityNotFoundException
-
delete
public boolean delete(org.europa.together.domain.acl.ResourcesDO resource) throws jakarta.persistence.EntityNotFoundException - Specified by:
deletein interfaceorg.europa.together.business.acl.ResourcesDAO- Throws:
jakarta.persistence.EntityNotFoundException
-
listResourcesOfSameType
@Transactional(readOnly=true) public List<org.europa.together.domain.acl.ResourcesDO> listResourcesOfSameType(String resource) - Specified by:
listResourcesOfSameTypein interfaceorg.europa.together.business.acl.ResourcesDAO
-
listProtectedResources
@Transactional(readOnly=true) public List<org.europa.together.domain.acl.ResourcesDO> listProtectedResources()- Specified by:
listProtectedResourcesin interfaceorg.europa.together.business.acl.ResourcesDAO
-