Package com.soffid.iam.model
Interface RoleEntityDao
-
- All Known Implementing Classes:
RoleEntityDaoBase,RoleEntityDaoImpl
public interface RoleEntityDaoDAO for Entity RoleEntity- See Also:
es.caib.seycon.ng.model.RolEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcommitDefinition(RoleEntity role)Operation commitDefinitionRoleEntitycontainerRoleToEntity(com.soffid.iam.api.ContainerRole instance)Transforms fromContainerRoleobjectvoidcontainerRoleToEntity(com.soffid.iam.api.ContainerRole source, RoleEntity target, boolean copyIfNull)Copy data fromContainerRoleobjectList<RoleEntity>containerRoleToEntityList(Collection<com.soffid.iam.api.ContainerRole> instances)Transforms fromContainerRolelistRoleEntitycontenidorRolToEntity(es.caib.seycon.ng.comu.ContenidorRol instance)Transforms fromContenidorRolobjectvoidcontenidorRolToEntity(es.caib.seycon.ng.comu.ContenidorRol source, RoleEntity target, boolean copyIfNull)Copy data fromContenidorRolobjectList<RoleEntity>contenidorRolToEntityList(Collection<es.caib.seycon.ng.comu.ContenidorRol> instances)Transforms fromContenidorRollistRoleEntitycreate(com.soffid.iam.api.Role role, boolean updateOwnedRoles)Operation createvoidcreate(RoleEntity entity)Adds an instance ofRoleEntityto the persistent store.voidcreate(Collection<? extends RoleEntity> entities)Creates a collection ofRoleEntityand adds it to the persistent store.Collection<RoleEntity>findApplicationManagementRoles()Operation findApplicationManagementRolesCollection<RoleEntity>findApplicationManagementRoles(CriteriaSearchConfiguration criteria)CriteriaSearchConfiguration finderList<RoleEntity>findApplicationRolesByUserAndInformationSystem(CriteriaSearchConfiguration criteria, String userName, String informationSystem)CriteriaSearchConfiguration finderList<RoleEntity>findApplicationRolesByUserAndInformationSystem(String userName, String informationSystem)Operation findApplicationRolesByUserAndInformationSystemRoleEntityfindById(CriteriaSearchConfiguration criteria, Long id)CriteriaSearchConfiguration finderRoleEntityfindById(Long id)Operation findByIdList<RoleEntity>findByInformationSystem(CriteriaSearchConfiguration criteria, String informationSystem)CriteriaSearchConfiguration finderList<RoleEntity>findByInformationSystem(String informationSystem)Operation findByInformationSystemList<RoleEntity>findByInformationSystemAndDomain(CriteriaSearchConfiguration criteria, String informationSystem, String domainName)CriteriaSearchConfiguration finderList<RoleEntity>findByInformationSystemAndDomain(String informationSystem, String domainName)Operation findByInformationSystemAndDomainRoleEntityfindByNameAndSystem(CriteriaSearchConfiguration criteria, String roleName, String system)CriteriaSearchConfiguration finderRoleEntityfindByNameAndSystem(String roleName, String system)Operation findByNameAndSystemRoleEntityfindByShortName(CriteriaSearchConfiguration criteria, String shortName)CriteriaSearchConfiguration finderRoleEntityfindByShortName(String shortName)Operation findByShortNameCollection<RoleEntity>findByText(CriteriaSearchConfiguration criteria, String text)CriteriaSearchConfiguration finderCollection<RoleEntity>findByText(String text)Operation findByTextCollection<RoleEntity>findGroupManagementRoles()Operation findGroupManagementRolesCollection<RoleEntity>findGroupManagementRoles(CriteriaSearchConfiguration criteria)CriteriaSearchConfiguration finderRoleEntityfindRoleByNameInformationSystemAndStystem(CriteriaSearchConfiguration criteria, String roleName, String informationSystem, String system)CriteriaSearchConfiguration finderRoleEntityfindRoleByNameInformationSystemAndStystem(String roleName, String informationSystem, String system)Operation findRoleByNameInformationSystemAndStystemList<String>findRoleNames(CriteriaSearchConfiguration criteria, String system)CriteriaSearchConfiguration finderList<String>findRoleNames(String system)Operation findRoleNamesList<RoleEntity>findRolesByCriteria(CriteriaSearchConfiguration criteria, String roleName, String description, String defaultRole, String system, String password, String informationSystem)CriteriaSearchConfiguration finderList<RoleEntity>findRolesByCriteria(String roleName, String description, String defaultRole, String system, String password, String informationSystem)Operation findRolesByCriteriaList<RoleEntity>findRolesByManageableWFCriteria(CriteriaSearchConfiguration criteria, String roleName, String description, String defaultRole, String system, String password, String informationSystem, String manageableWF)CriteriaSearchConfiguration finderList<RoleEntity>findRolesByManageableWFCriteria(String roleName, String description, String defaultRole, String system, String password, String informationSystem, String manageableWF)Operation findRolesByManageableWFCriteriaList<RoleEntity>findRolesByUserName(CriteriaSearchConfiguration criteria, String userName)CriteriaSearchConfiguration finderList<RoleEntity>findRolesByUserName(String userName)Operation findRolesByUserNameRoleEntityidentitatToEntity(es.caib.seycon.ng.comu.Identitat instance)Transforms fromIdentitatobjectvoididentitatToEntity(es.caib.seycon.ng.comu.Identitat source, RoleEntity target, boolean copyIfNull)Copy data fromIdentitatobjectList<RoleEntity>identitatToEntityList(Collection<es.caib.seycon.ng.comu.Identitat> instances)Transforms fromIdentitatlistRoleEntityidentityToEntity(com.soffid.iam.api.Identity instance)Transforms fromIdentityobjectvoididentityToEntity(com.soffid.iam.api.Identity source, RoleEntity target, boolean copyIfNull)Copy data fromIdentityobjectList<RoleEntity>identityToEntityList(Collection<com.soffid.iam.api.Identity> instances)Transforms fromIdentitylistRoleEntityload(Long id)Loads an instance ofRoleEntityfrom the persistent store.List<RoleEntity>loadAll()Loads all instances ofRoleEntityfrom the persistent store.RoleEntitynewRoleEntity()Creates an instance ofRoleEntity.List<RoleEntity>query(String query, Parameter[] parameters)Query ofRoleEntityfrom the persistent store.List<RoleEntity>query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofRoleEntityfrom the persistent store.voidremove(com.soffid.iam.api.Role role)Operation removevoidremove(RoleEntity entity)Removes an instance ofRoleEntityfrom the persistent store.voidremove(Long id)Removes an instance ofRoleEntityfrom the persistent store.voidremove(Collection<? extends RoleEntity> entities)Removes a collection ofRoleEntityfrom the persistent store.RoleEntityroleToEntity(com.soffid.iam.api.Role instance)Transforms fromRoleobjectvoidroleToEntity(com.soffid.iam.api.Role source, RoleEntity target, boolean copyIfNull)Copy data fromRoleobjectList<RoleEntity>roleToEntityList(Collection<com.soffid.iam.api.Role> instances)Transforms fromRolelistvoidrollbackDefinition(RoleEntity role)Operation rollbackDefinitionRoleEntityrolToEntity(es.caib.seycon.ng.comu.Rol instance)Transforms fromRolobjectvoidrolToEntity(es.caib.seycon.ng.comu.Rol source, RoleEntity target, boolean copyIfNull)Copy data fromRolobjectList<RoleEntity>rolToEntityList(Collection<es.caib.seycon.ng.comu.Rol> instances)Transforms fromRollistcom.soffid.iam.api.ContainerRoletoContainerRole(RoleEntity entity)Transforms toContainerRoleobjectvoidtoContainerRole(RoleEntity source, com.soffid.iam.api.ContainerRole target)Copy data toContainerRoleobjectList<com.soffid.iam.api.ContainerRole>toContainerRoleList(Collection<RoleEntity> entities)Transforms toContainerRolelistes.caib.seycon.ng.comu.ContenidorRoltoContenidorRol(RoleEntity entity)Transforms toContenidorRolobjectvoidtoContenidorRol(RoleEntity source, es.caib.seycon.ng.comu.ContenidorRol target)Copy data toContenidorRolobjectList<es.caib.seycon.ng.comu.ContenidorRol>toContenidorRolList(Collection<RoleEntity> entities)Transforms toContenidorRollistes.caib.seycon.ng.comu.IdentitattoIdentitat(RoleEntity entity)Transforms toIdentitatobjectvoidtoIdentitat(RoleEntity source, es.caib.seycon.ng.comu.Identitat target)Copy data toIdentitatobjectList<es.caib.seycon.ng.comu.Identitat>toIdentitatList(Collection<RoleEntity> entities)Transforms toIdentitatlistcom.soffid.iam.api.IdentitytoIdentity(RoleEntity entity)Transforms toIdentityobjectvoidtoIdentity(RoleEntity source, com.soffid.iam.api.Identity target)Copy data toIdentityobjectList<com.soffid.iam.api.Identity>toIdentityList(Collection<RoleEntity> entities)Transforms toIdentitylistes.caib.seycon.ng.comu.RoltoRol(RoleEntity entity)Transforms toRolobjectvoidtoRol(RoleEntity source, es.caib.seycon.ng.comu.Rol target)Copy data toRolobjectcom.soffid.iam.api.RoletoRole(RoleEntity entity)Transforms toRoleobjectvoidtoRole(RoleEntity source, com.soffid.iam.api.Role target)Copy data toRoleobjectList<com.soffid.iam.api.Role>toRoleList(Collection<RoleEntity> entities)Transforms toRolelistList<es.caib.seycon.ng.comu.Rol>toRolList(Collection<RoleEntity> entities)Transforms toRollistRoleEntityupdate(com.soffid.iam.api.Role role, boolean updateOwnedRoles)Operation updatevoidupdate(RoleEntity entity)Updates an instance ofRoleEntityat the persistent store.voidupdate(Collection<? extends RoleEntity> entities)Updates a collection ofRoleEntityin the persistent store.voidupdateMailLists(RoleEntity role)Operation updateMailLists Creates update mail tasks for each mail list affected by the role
-
-
-
Method Detail
-
create
RoleEntity create(com.soffid.iam.api.Role role, boolean updateOwnedRoles) throws es.caib.seycon.ng.exception.InternalErrorException
Operation create- Parameters:
role-updateOwnedRoles-- Returns:
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findById
RoleEntity findById(Long id)
Operation findById- Parameters:
id-- Returns:
-
findById
RoleEntity findById(CriteriaSearchConfiguration criteria, Long id)
CriteriaSearchConfiguration finder
-
findByNameAndSystem
RoleEntity findByNameAndSystem(String roleName, String system)
Operation findByNameAndSystem- Parameters:
roleName-system-- Returns:
-
findByNameAndSystem
RoleEntity findByNameAndSystem(CriteriaSearchConfiguration criteria, String roleName, String system)
CriteriaSearchConfiguration finder
-
findRoleByNameInformationSystemAndStystem
RoleEntity findRoleByNameInformationSystemAndStystem(String roleName, String informationSystem, String system)
Operation findRoleByNameInformationSystemAndStystem- Parameters:
roleName-informationSystem-system-- Returns:
-
findRoleByNameInformationSystemAndStystem
RoleEntity findRoleByNameInformationSystemAndStystem(CriteriaSearchConfiguration criteria, String roleName, String informationSystem, String system)
CriteriaSearchConfiguration finder
-
findByShortName
RoleEntity findByShortName(String shortName)
Operation findByShortName- Parameters:
shortName-- Returns:
-
findByShortName
RoleEntity findByShortName(CriteriaSearchConfiguration criteria, String shortName)
CriteriaSearchConfiguration finder
-
update
RoleEntity update(com.soffid.iam.api.Role role, boolean updateOwnedRoles) throws es.caib.seycon.ng.exception.InternalErrorException
Operation update- Parameters:
role-updateOwnedRoles-- Returns:
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findApplicationManagementRoles
Collection<RoleEntity> findApplicationManagementRoles() throws es.caib.seycon.ng.exception.InternalErrorException
Operation findApplicationManagementRoles- Returns:
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findApplicationManagementRoles
Collection<RoleEntity> findApplicationManagementRoles(CriteriaSearchConfiguration criteria) throws es.caib.seycon.ng.exception.InternalErrorException
CriteriaSearchConfiguration finder- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findByText
Collection<RoleEntity> findByText(String text)
Operation findByText- Parameters:
text-- Returns:
-
findByText
Collection<RoleEntity> findByText(CriteriaSearchConfiguration criteria, String text)
CriteriaSearchConfiguration finder
-
findGroupManagementRoles
Collection<RoleEntity> findGroupManagementRoles() throws es.caib.seycon.ng.exception.InternalErrorException
Operation findGroupManagementRoles- Returns:
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findGroupManagementRoles
Collection<RoleEntity> findGroupManagementRoles(CriteriaSearchConfiguration criteria) throws es.caib.seycon.ng.exception.InternalErrorException
CriteriaSearchConfiguration finder- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findByInformationSystem
List<RoleEntity> findByInformationSystem(String informationSystem)
Operation findByInformationSystem- Parameters:
informationSystem-- Returns:
-
findByInformationSystem
List<RoleEntity> findByInformationSystem(CriteriaSearchConfiguration criteria, String informationSystem)
CriteriaSearchConfiguration finder
-
findByInformationSystemAndDomain
List<RoleEntity> findByInformationSystemAndDomain(String informationSystem, String domainName)
Operation findByInformationSystemAndDomain- Parameters:
informationSystem-domainName-- Returns:
-
findByInformationSystemAndDomain
List<RoleEntity> findByInformationSystemAndDomain(CriteriaSearchConfiguration criteria, String informationSystem, String domainName)
CriteriaSearchConfiguration finder
-
findRoleNames
List<String> findRoleNames(String system)
Operation findRoleNames- Parameters:
system-- Returns:
-
findRoleNames
List<String> findRoleNames(CriteriaSearchConfiguration criteria, String system)
CriteriaSearchConfiguration finder
-
findRolesByUserName
List<RoleEntity> findRolesByUserName(String userName)
Operation findRolesByUserName- Parameters:
userName-- Returns:
-
findRolesByUserName
List<RoleEntity> findRolesByUserName(CriteriaSearchConfiguration criteria, String userName)
CriteriaSearchConfiguration finder
-
findRolesByCriteria
List<RoleEntity> findRolesByCriteria(String roleName, String description, String defaultRole, String system, String password, String informationSystem)
Operation findRolesByCriteria- Parameters:
roleName-description-defaultRole-system-password-informationSystem-- Returns:
-
findRolesByCriteria
List<RoleEntity> findRolesByCriteria(CriteriaSearchConfiguration criteria, String roleName, String description, String defaultRole, String system, String password, String informationSystem)
CriteriaSearchConfiguration finder
-
findRolesByManageableWFCriteria
List<RoleEntity> findRolesByManageableWFCriteria(String roleName, String description, String defaultRole, String system, String password, String informationSystem, String manageableWF)
Operation findRolesByManageableWFCriteria- Parameters:
roleName-description-defaultRole-system-password-informationSystem-manageableWF-- Returns:
-
findRolesByManageableWFCriteria
List<RoleEntity> findRolesByManageableWFCriteria(CriteriaSearchConfiguration criteria, String roleName, String description, String defaultRole, String system, String password, String informationSystem, String manageableWF)
CriteriaSearchConfiguration finder
-
findApplicationRolesByUserAndInformationSystem
List<RoleEntity> findApplicationRolesByUserAndInformationSystem(String userName, String informationSystem)
Operation findApplicationRolesByUserAndInformationSystem- Parameters:
userName-informationSystem-- Returns:
-
findApplicationRolesByUserAndInformationSystem
List<RoleEntity> findApplicationRolesByUserAndInformationSystem(CriteriaSearchConfiguration criteria, String userName, String informationSystem)
CriteriaSearchConfiguration finder
-
commitDefinition
void commitDefinition(RoleEntity role) throws es.caib.seycon.ng.exception.InternalErrorException
Operation commitDefinition- Parameters:
role-- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
remove
void remove(com.soffid.iam.api.Role role) throws es.caib.seycon.ng.exception.InternalErrorExceptionOperation remove- Parameters:
role-- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
rollbackDefinition
void rollbackDefinition(RoleEntity role) throws es.caib.seycon.ng.exception.InternalErrorException
Operation rollbackDefinition- Parameters:
role-- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
updateMailLists
void updateMailLists(RoleEntity role) throws es.caib.seycon.ng.exception.InternalErrorException
Operation updateMailLists Creates update mail tasks for each mail list affected by the role- Parameters:
role-- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
toContainerRole
void toContainerRole(RoleEntity source, com.soffid.iam.api.ContainerRole target)
Copy data toContainerRoleobject
-
toContainerRole
com.soffid.iam.api.ContainerRole toContainerRole(RoleEntity entity)
Transforms toContainerRoleobject
-
toContainerRoleList
List<com.soffid.iam.api.ContainerRole> toContainerRoleList(Collection<RoleEntity> entities)
Transforms toContainerRolelist
-
containerRoleToEntity
void containerRoleToEntity(com.soffid.iam.api.ContainerRole source, RoleEntity target, boolean copyIfNull)Copy data fromContainerRoleobject
-
containerRoleToEntity
RoleEntity containerRoleToEntity(com.soffid.iam.api.ContainerRole instance)
Transforms fromContainerRoleobject
-
containerRoleToEntityList
List<RoleEntity> containerRoleToEntityList(Collection<com.soffid.iam.api.ContainerRole> instances)
Transforms fromContainerRolelist
-
toContenidorRol
void toContenidorRol(RoleEntity source, es.caib.seycon.ng.comu.ContenidorRol target)
Copy data toContenidorRolobject
-
toContenidorRol
es.caib.seycon.ng.comu.ContenidorRol toContenidorRol(RoleEntity entity)
Transforms toContenidorRolobject
-
toContenidorRolList
List<es.caib.seycon.ng.comu.ContenidorRol> toContenidorRolList(Collection<RoleEntity> entities)
Transforms toContenidorRollist
-
contenidorRolToEntity
void contenidorRolToEntity(es.caib.seycon.ng.comu.ContenidorRol source, RoleEntity target, boolean copyIfNull)Copy data fromContenidorRolobject
-
contenidorRolToEntity
RoleEntity contenidorRolToEntity(es.caib.seycon.ng.comu.ContenidorRol instance)
Transforms fromContenidorRolobject
-
contenidorRolToEntityList
List<RoleEntity> contenidorRolToEntityList(Collection<es.caib.seycon.ng.comu.ContenidorRol> instances)
Transforms fromContenidorRollist
-
toIdentity
void toIdentity(RoleEntity source, com.soffid.iam.api.Identity target)
Copy data toIdentityobject
-
toIdentity
com.soffid.iam.api.Identity toIdentity(RoleEntity entity)
Transforms toIdentityobject
-
toIdentityList
List<com.soffid.iam.api.Identity> toIdentityList(Collection<RoleEntity> entities)
Transforms toIdentitylist
-
identityToEntity
void identityToEntity(com.soffid.iam.api.Identity source, RoleEntity target, boolean copyIfNull)Copy data fromIdentityobject
-
identityToEntity
RoleEntity identityToEntity(com.soffid.iam.api.Identity instance)
Transforms fromIdentityobject
-
identityToEntityList
List<RoleEntity> identityToEntityList(Collection<com.soffid.iam.api.Identity> instances)
Transforms fromIdentitylist
-
toIdentitat
void toIdentitat(RoleEntity source, es.caib.seycon.ng.comu.Identitat target)
Copy data toIdentitatobject
-
toIdentitat
es.caib.seycon.ng.comu.Identitat toIdentitat(RoleEntity entity)
Transforms toIdentitatobject
-
toIdentitatList
List<es.caib.seycon.ng.comu.Identitat> toIdentitatList(Collection<RoleEntity> entities)
Transforms toIdentitatlist
-
identitatToEntity
void identitatToEntity(es.caib.seycon.ng.comu.Identitat source, RoleEntity target, boolean copyIfNull)Copy data fromIdentitatobject
-
identitatToEntity
RoleEntity identitatToEntity(es.caib.seycon.ng.comu.Identitat instance)
Transforms fromIdentitatobject
-
identitatToEntityList
List<RoleEntity> identitatToEntityList(Collection<es.caib.seycon.ng.comu.Identitat> instances)
Transforms fromIdentitatlist
-
toRole
void toRole(RoleEntity source, com.soffid.iam.api.Role target)
Copy data toRoleobject
-
toRole
com.soffid.iam.api.Role toRole(RoleEntity entity)
Transforms toRoleobject
-
toRoleList
List<com.soffid.iam.api.Role> toRoleList(Collection<RoleEntity> entities)
Transforms toRolelist
-
roleToEntity
void roleToEntity(com.soffid.iam.api.Role source, RoleEntity target, boolean copyIfNull)Copy data fromRoleobject
-
roleToEntity
RoleEntity roleToEntity(com.soffid.iam.api.Role instance)
Transforms fromRoleobject
-
roleToEntityList
List<RoleEntity> roleToEntityList(Collection<com.soffid.iam.api.Role> instances)
Transforms fromRolelist
-
toRol
void toRol(RoleEntity source, es.caib.seycon.ng.comu.Rol target)
Copy data toRolobject
-
toRol
es.caib.seycon.ng.comu.Rol toRol(RoleEntity entity)
Transforms toRolobject
-
toRolList
List<es.caib.seycon.ng.comu.Rol> toRolList(Collection<RoleEntity> entities)
Transforms toRollist
-
rolToEntity
void rolToEntity(es.caib.seycon.ng.comu.Rol source, RoleEntity target, boolean copyIfNull)Copy data fromRolobject
-
rolToEntity
RoleEntity rolToEntity(es.caib.seycon.ng.comu.Rol instance)
Transforms fromRolobject
-
rolToEntityList
List<RoleEntity> rolToEntityList(Collection<es.caib.seycon.ng.comu.Rol> instances)
Transforms fromRollist
-
newRoleEntity
RoleEntity newRoleEntity()
Creates an instance ofRoleEntity.
-
create
void create(RoleEntity entity)
Adds an instance ofRoleEntityto the persistent store.
-
update
void update(RoleEntity entity)
Updates an instance ofRoleEntityat the persistent store.
-
remove
void remove(RoleEntity entity)
Removes an instance ofRoleEntityfrom the persistent store.
-
load
RoleEntity load(Long id)
Loads an instance ofRoleEntityfrom the persistent store.
-
loadAll
List<RoleEntity> loadAll()
Loads all instances ofRoleEntityfrom the persistent store.
-
create
void create(Collection<? extends RoleEntity> entities)
Creates a collection ofRoleEntityand adds it to the persistent store.
-
update
void update(Collection<? extends RoleEntity> entities)
Updates a collection ofRoleEntityin the persistent store.
-
remove
void remove(Collection<? extends RoleEntity> entities)
Removes a collection ofRoleEntityfrom the persistent store.
-
remove
void remove(Long id)
Removes an instance ofRoleEntityfrom the persistent store.
-
query
List<RoleEntity> query(String query, Parameter[] parameters)
Query ofRoleEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters
-
query
List<RoleEntity> query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofRoleEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return
-
-