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
mainEntityManagerFactoryFields inherited from interface org.europa.together.business.GenericDAO
FEATURE_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReturn 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, 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, deserializeJsonAsList, deserializeJsonAsObject, find, getPrimaryKeyOfObject, listAllElements, serializeAsJson, update
-
Constructor Details
-
RolesHbmDAO
public RolesHbmDAO()Default Constructor.
-
-
Method Details
-
delete
-
listProtectedRoles
Description copied from interface:RolesDAOReturn a list of all roles which protected against deleting, to prevent accidents.- Specified by:
listProtectedRolesin interfaceRolesDAO- Returns:
- List of RolesDO
-