Package com.soffid.iam.model
Interface RoleEntityDao
-
- All Known Implementing Classes:
RoleEntityDaoBase
,RoleEntityDaoImpl
public interface RoleEntityDao
DAO for Entity RoleEntity- See Also:
es.caib.seycon.ng.model.RolEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
commitDefinition(RoleEntity role)
Operation commitDefinitionRoleEntity
containerRoleToEntity(com.soffid.iam.api.ContainerRole instance)
Transforms fromContainerRole
objectvoid
containerRoleToEntity(com.soffid.iam.api.ContainerRole source, RoleEntity target, boolean copyIfNull)
Copy data fromContainerRole
objectList<RoleEntity>
containerRoleToEntityList(Collection<com.soffid.iam.api.ContainerRole> instances)
Transforms fromContainerRole
listRoleEntity
contenidorRolToEntity(es.caib.seycon.ng.comu.ContenidorRol instance)
Transforms fromContenidorRol
objectvoid
contenidorRolToEntity(es.caib.seycon.ng.comu.ContenidorRol source, RoleEntity target, boolean copyIfNull)
Copy data fromContenidorRol
objectList<RoleEntity>
contenidorRolToEntityList(Collection<es.caib.seycon.ng.comu.ContenidorRol> instances)
Transforms fromContenidorRol
listRoleEntity
create(com.soffid.iam.api.Role role, boolean updateOwnedRoles)
Operation createvoid
create(RoleEntity entity)
Adds an instance ofRoleEntity
to the persistent store.void
create(Collection<? extends RoleEntity> entities)
Creates a collection ofRoleEntity
and 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 findApplicationRolesByUserAndInformationSystemRoleEntity
findById(CriteriaSearchConfiguration criteria, Long id)
CriteriaSearchConfiguration finderRoleEntity
findById(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 findByInformationSystemAndDomainRoleEntity
findByNameAndSystem(CriteriaSearchConfiguration criteria, String roleName, String system)
CriteriaSearchConfiguration finderRoleEntity
findByNameAndSystem(String roleName, String system)
Operation findByNameAndSystemRoleEntity
findByShortName(CriteriaSearchConfiguration criteria, String shortName)
CriteriaSearchConfiguration finderRoleEntity
findByShortName(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 finderRoleEntity
findRoleByNameInformationSystemAndStystem(CriteriaSearchConfiguration criteria, String roleName, String informationSystem, String system)
CriteriaSearchConfiguration finderRoleEntity
findRoleByNameInformationSystemAndStystem(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 findRolesByUserNameRoleEntity
identitatToEntity(es.caib.seycon.ng.comu.Identitat instance)
Transforms fromIdentitat
objectvoid
identitatToEntity(es.caib.seycon.ng.comu.Identitat source, RoleEntity target, boolean copyIfNull)
Copy data fromIdentitat
objectList<RoleEntity>
identitatToEntityList(Collection<es.caib.seycon.ng.comu.Identitat> instances)
Transforms fromIdentitat
listRoleEntity
identityToEntity(com.soffid.iam.api.Identity instance)
Transforms fromIdentity
objectvoid
identityToEntity(com.soffid.iam.api.Identity source, RoleEntity target, boolean copyIfNull)
Copy data fromIdentity
objectList<RoleEntity>
identityToEntityList(Collection<com.soffid.iam.api.Identity> instances)
Transforms fromIdentity
listRoleEntity
load(Long id)
Loads an instance ofRoleEntity
from the persistent store.List<RoleEntity>
loadAll()
Loads all instances ofRoleEntity
from the persistent store.RoleEntity
newRoleEntity()
Creates an instance ofRoleEntity
.List<RoleEntity>
query(String query, Parameter[] parameters)
Query ofRoleEntity
from the persistent store.List<RoleEntity>
query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofRoleEntity
from the persistent store.void
remove(com.soffid.iam.api.Role role)
Operation removevoid
remove(RoleEntity entity)
Removes an instance ofRoleEntity
from the persistent store.void
remove(Long id)
Removes an instance ofRoleEntity
from the persistent store.void
remove(Collection<? extends RoleEntity> entities)
Removes a collection ofRoleEntity
from the persistent store.RoleEntity
roleToEntity(com.soffid.iam.api.Role instance)
Transforms fromRole
objectvoid
roleToEntity(com.soffid.iam.api.Role source, RoleEntity target, boolean copyIfNull)
Copy data fromRole
objectList<RoleEntity>
roleToEntityList(Collection<com.soffid.iam.api.Role> instances)
Transforms fromRole
listvoid
rollbackDefinition(RoleEntity role)
Operation rollbackDefinitionRoleEntity
rolToEntity(es.caib.seycon.ng.comu.Rol instance)
Transforms fromRol
objectvoid
rolToEntity(es.caib.seycon.ng.comu.Rol source, RoleEntity target, boolean copyIfNull)
Copy data fromRol
objectList<RoleEntity>
rolToEntityList(Collection<es.caib.seycon.ng.comu.Rol> instances)
Transforms fromRol
listcom.soffid.iam.api.ContainerRole
toContainerRole(RoleEntity entity)
Transforms toContainerRole
objectvoid
toContainerRole(RoleEntity source, com.soffid.iam.api.ContainerRole target)
Copy data toContainerRole
objectList<com.soffid.iam.api.ContainerRole>
toContainerRoleList(Collection<RoleEntity> entities)
Transforms toContainerRole
listes.caib.seycon.ng.comu.ContenidorRol
toContenidorRol(RoleEntity entity)
Transforms toContenidorRol
objectvoid
toContenidorRol(RoleEntity source, es.caib.seycon.ng.comu.ContenidorRol target)
Copy data toContenidorRol
objectList<es.caib.seycon.ng.comu.ContenidorRol>
toContenidorRolList(Collection<RoleEntity> entities)
Transforms toContenidorRol
listes.caib.seycon.ng.comu.Identitat
toIdentitat(RoleEntity entity)
Transforms toIdentitat
objectvoid
toIdentitat(RoleEntity source, es.caib.seycon.ng.comu.Identitat target)
Copy data toIdentitat
objectList<es.caib.seycon.ng.comu.Identitat>
toIdentitatList(Collection<RoleEntity> entities)
Transforms toIdentitat
listcom.soffid.iam.api.Identity
toIdentity(RoleEntity entity)
Transforms toIdentity
objectvoid
toIdentity(RoleEntity source, com.soffid.iam.api.Identity target)
Copy data toIdentity
objectList<com.soffid.iam.api.Identity>
toIdentityList(Collection<RoleEntity> entities)
Transforms toIdentity
listes.caib.seycon.ng.comu.Rol
toRol(RoleEntity entity)
Transforms toRol
objectvoid
toRol(RoleEntity source, es.caib.seycon.ng.comu.Rol target)
Copy data toRol
objectcom.soffid.iam.api.Role
toRole(RoleEntity entity)
Transforms toRole
objectvoid
toRole(RoleEntity source, com.soffid.iam.api.Role target)
Copy data toRole
objectList<com.soffid.iam.api.Role>
toRoleList(Collection<RoleEntity> entities)
Transforms toRole
listList<es.caib.seycon.ng.comu.Rol>
toRolList(Collection<RoleEntity> entities)
Transforms toRol
listRoleEntity
update(com.soffid.iam.api.Role role, boolean updateOwnedRoles)
Operation updatevoid
update(RoleEntity entity)
Updates an instance ofRoleEntity
at the persistent store.void
update(Collection<? extends RoleEntity> entities)
Updates a collection ofRoleEntity
in the persistent store.void
updateMailLists(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.InternalErrorException
Operation 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 toContainerRole
object
-
toContainerRole
com.soffid.iam.api.ContainerRole toContainerRole(RoleEntity entity)
Transforms toContainerRole
object
-
toContainerRoleList
List<com.soffid.iam.api.ContainerRole> toContainerRoleList(Collection<RoleEntity> entities)
Transforms toContainerRole
list
-
containerRoleToEntity
void containerRoleToEntity(com.soffid.iam.api.ContainerRole source, RoleEntity target, boolean copyIfNull)
Copy data fromContainerRole
object
-
containerRoleToEntity
RoleEntity containerRoleToEntity(com.soffid.iam.api.ContainerRole instance)
Transforms fromContainerRole
object
-
containerRoleToEntityList
List<RoleEntity> containerRoleToEntityList(Collection<com.soffid.iam.api.ContainerRole> instances)
Transforms fromContainerRole
list
-
toContenidorRol
void toContenidorRol(RoleEntity source, es.caib.seycon.ng.comu.ContenidorRol target)
Copy data toContenidorRol
object
-
toContenidorRol
es.caib.seycon.ng.comu.ContenidorRol toContenidorRol(RoleEntity entity)
Transforms toContenidorRol
object
-
toContenidorRolList
List<es.caib.seycon.ng.comu.ContenidorRol> toContenidorRolList(Collection<RoleEntity> entities)
Transforms toContenidorRol
list
-
contenidorRolToEntity
void contenidorRolToEntity(es.caib.seycon.ng.comu.ContenidorRol source, RoleEntity target, boolean copyIfNull)
Copy data fromContenidorRol
object
-
contenidorRolToEntity
RoleEntity contenidorRolToEntity(es.caib.seycon.ng.comu.ContenidorRol instance)
Transforms fromContenidorRol
object
-
contenidorRolToEntityList
List<RoleEntity> contenidorRolToEntityList(Collection<es.caib.seycon.ng.comu.ContenidorRol> instances)
Transforms fromContenidorRol
list
-
toIdentity
void toIdentity(RoleEntity source, com.soffid.iam.api.Identity target)
Copy data toIdentity
object
-
toIdentity
com.soffid.iam.api.Identity toIdentity(RoleEntity entity)
Transforms toIdentity
object
-
toIdentityList
List<com.soffid.iam.api.Identity> toIdentityList(Collection<RoleEntity> entities)
Transforms toIdentity
list
-
identityToEntity
void identityToEntity(com.soffid.iam.api.Identity source, RoleEntity target, boolean copyIfNull)
Copy data fromIdentity
object
-
identityToEntity
RoleEntity identityToEntity(com.soffid.iam.api.Identity instance)
Transforms fromIdentity
object
-
identityToEntityList
List<RoleEntity> identityToEntityList(Collection<com.soffid.iam.api.Identity> instances)
Transforms fromIdentity
list
-
toIdentitat
void toIdentitat(RoleEntity source, es.caib.seycon.ng.comu.Identitat target)
Copy data toIdentitat
object
-
toIdentitat
es.caib.seycon.ng.comu.Identitat toIdentitat(RoleEntity entity)
Transforms toIdentitat
object
-
toIdentitatList
List<es.caib.seycon.ng.comu.Identitat> toIdentitatList(Collection<RoleEntity> entities)
Transforms toIdentitat
list
-
identitatToEntity
void identitatToEntity(es.caib.seycon.ng.comu.Identitat source, RoleEntity target, boolean copyIfNull)
Copy data fromIdentitat
object
-
identitatToEntity
RoleEntity identitatToEntity(es.caib.seycon.ng.comu.Identitat instance)
Transforms fromIdentitat
object
-
identitatToEntityList
List<RoleEntity> identitatToEntityList(Collection<es.caib.seycon.ng.comu.Identitat> instances)
Transforms fromIdentitat
list
-
toRole
void toRole(RoleEntity source, com.soffid.iam.api.Role target)
Copy data toRole
object
-
toRole
com.soffid.iam.api.Role toRole(RoleEntity entity)
Transforms toRole
object
-
toRoleList
List<com.soffid.iam.api.Role> toRoleList(Collection<RoleEntity> entities)
Transforms toRole
list
-
roleToEntity
void roleToEntity(com.soffid.iam.api.Role source, RoleEntity target, boolean copyIfNull)
Copy data fromRole
object
-
roleToEntity
RoleEntity roleToEntity(com.soffid.iam.api.Role instance)
Transforms fromRole
object
-
roleToEntityList
List<RoleEntity> roleToEntityList(Collection<com.soffid.iam.api.Role> instances)
Transforms fromRole
list
-
toRol
void toRol(RoleEntity source, es.caib.seycon.ng.comu.Rol target)
Copy data toRol
object
-
toRol
es.caib.seycon.ng.comu.Rol toRol(RoleEntity entity)
Transforms toRol
object
-
toRolList
List<es.caib.seycon.ng.comu.Rol> toRolList(Collection<RoleEntity> entities)
Transforms toRol
list
-
rolToEntity
void rolToEntity(es.caib.seycon.ng.comu.Rol source, RoleEntity target, boolean copyIfNull)
Copy data fromRol
object
-
rolToEntity
RoleEntity rolToEntity(es.caib.seycon.ng.comu.Rol instance)
Transforms fromRol
object
-
rolToEntityList
List<RoleEntity> rolToEntityList(Collection<es.caib.seycon.ng.comu.Rol> instances)
Transforms fromRol
list
-
newRoleEntity
RoleEntity newRoleEntity()
Creates an instance ofRoleEntity
.
-
create
void create(RoleEntity entity)
Adds an instance ofRoleEntity
to the persistent store.
-
update
void update(RoleEntity entity)
Updates an instance ofRoleEntity
at the persistent store.
-
remove
void remove(RoleEntity entity)
Removes an instance ofRoleEntity
from the persistent store.
-
load
RoleEntity load(Long id)
Loads an instance ofRoleEntity
from the persistent store.
-
loadAll
List<RoleEntity> loadAll()
Loads all instances ofRoleEntity
from the persistent store.
-
create
void create(Collection<? extends RoleEntity> entities)
Creates a collection ofRoleEntity
and adds it to the persistent store.
-
update
void update(Collection<? extends RoleEntity> entities)
Updates a collection ofRoleEntity
in the persistent store.
-
remove
void remove(Collection<? extends RoleEntity> entities)
Removes a collection ofRoleEntity
from the persistent store.
-
remove
void remove(Long id)
Removes an instance ofRoleEntity
from the persistent store.
-
query
List<RoleEntity> query(String query, Parameter[] parameters)
Query ofRoleEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters
-
query
List<RoleEntity> query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofRoleEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return
-
-