Class RolesHbmDAO
- All Implemented Interfaces:
Serializable
,RolesDAO
,org.europa.together.business.GenericDAO<RolesDO,
String>
@Repository
@Transactional
public class RolesHbmDAO
extends org.europa.together.application.GenericHbmDAO<RolesDO,String>
implements RolesDAO
Implementation of the RolesDAO.
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Return a list of all roles which protected against deleting, to prevent accidents.Methods inherited from class org.europa.together.application.GenericHbmDAO
countAllElements, create, deserializeJsonAsList, deserializeJsonAsObject, find, 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, deserializeJsonAsList, deserializeJsonAsObject, find, getPrimaryKeyOfObject, listAllElements, serializeAsJson, update
-
Constructor Details
-
RolesHbmDAO
public RolesHbmDAO()Default Constructor.
-
-
Method Details
-
delete
-
listProtectedRoles
Description copied from interface:RolesDAO
Return a list of all roles which protected against deleting, to prevent accidents.- Specified by:
listProtectedRoles
in interfaceRolesDAO
- Returns:
- List of RolesDO
-