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
mainEntityManagerFactory
Fields inherited from interface org.europa.together.business.GenericDAO
FEATURE_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.boolean
delete
(org.europa.together.domain.acl.ResourcesDO resource) org.europa.together.domain.acl.ResourcesDO
org.europa.together.domain.acl.ResourcesDO
List<org.europa.together.domain.acl.ResourcesDO>
List<org.europa.together.domain.acl.ResourcesDO>
listResourcesOfSameType
(String resource) void
Deprecated.void
update
(org.europa.together.domain.acl.ResourcesDO resource) Methods inherited from class org.europa.together.application.GenericHbmDAO
countAllElements, create, deserializeJsonAsList, deserializeJsonAsObject, getPrimaryKeyOfObject, listAllElements, serializeAsJson
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, 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:
find
in interfaceorg.europa.together.business.acl.ResourcesDAO
-
update
public void update(org.europa.together.domain.acl.ResourcesDO resource) throws jakarta.persistence.EntityNotFoundException - Specified by:
update
in 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:
delete
in 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:
listResourcesOfSameType
in interfaceorg.europa.together.business.acl.ResourcesDAO
-
listProtectedResources
@Transactional(readOnly=true) public List<org.europa.together.domain.acl.ResourcesDO> listProtectedResources()- Specified by:
listProtectedResources
in interfaceorg.europa.together.business.acl.ResourcesDAO
-