Interface RolesDAO

All Superinterfaces:
org.europa.together.business.GenericDAO<RolesDO,String>, Serializable
All Known Implementing Classes:
RolesHbmDAO

@Repository public interface RolesDAO extends org.europa.together.business.GenericDAO<RolesDO,String>
Every account is just with one role related. The security design do not support inheritance of role objects. This decision reduce the complexity in the administration.
Since:
1.0
Version:
1.0
Author:
elmar.dott@gmail.com
  • Field Summary

    Fields inherited from interface org.europa.together.business.GenericDAO

    FEATURE_ID
  • Method Summary

    Modifier and Type
    Method
    Description
    Return a list of all roles which protected against deleting, to prevent accidents.

    Methods inherited from interface org.europa.together.business.GenericDAO

    countAllElements, create, delete, deserializeJsonAsList, deserializeJsonAsObject, find, getPrimaryKeyOfObject, listAllElements, serializeAsJson, update
  • Method Details

    • listProtectedRoles

      @API(status=STABLE, since="1.0") List<RolesDO> listProtectedRoles()
      Return a list of all roles which protected against deleting, to prevent accidents.
      Returns:
      List of RolesDO