Package com.soffid.iam.model
Class RoleEntityDaoImpl
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.RoleEntityDaoBase
-
- com.soffid.iam.model.RoleEntityDaoImpl
-
- All Implemented Interfaces:
RoleEntityDao
,org.springframework.beans.factory.InitializingBean
public class RoleEntityDaoImpl extends RoleEntityDaoBase
-
-
Field Summary
-
Fields inherited from class com.soffid.iam.model.RoleEntityDaoBase
mapRole, mapRoleTimeout
-
-
Constructor Summary
Constructors Constructor Description RoleEntityDaoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoleEntity
containerRoleToEntity(com.soffid.iam.api.ContainerRole contenidorRol)
Transforms fromContainerRole
objectvoid
containerRoleToEntity(com.soffid.iam.api.ContainerRole source, RoleEntity target, boolean copyIfNull)
Copy data fromContainerRole
objectvoid
create(RoleEntity Role)
Adds an instance ofRoleEntity
to the persistent store.void
create(Collection entities)
Creates a collection ofRoleEntity
and adds it to the persistent store.RoleEntity
findByShortName(CriteriaSearchConfiguration criteria, String shortName)
CriteriaSearchConfiguration implementationCollection<RoleEntity>
findByText(CriteriaSearchConfiguration criteria, String text)
CriteriaSearchConfiguration implementationprotected void
handleCommitDefinition(RoleEntity entity)
protected RoleEntity
handleCreate(com.soffid.iam.api.Role role, boolean updateOwnedRoles)
protected void
handleRemove(com.soffid.iam.api.Role role)
protected void
handleRollbackDefinition(RoleEntity entity)
protected RoleEntity
handleUpdate(com.soffid.iam.api.Role role, boolean updateOwnedRoles)
protected void
handleUpdateMailLists(RoleEntity role)
RoleEntity
identityToEntity(com.soffid.iam.api.Identity identitat)
Transforms fromIdentity
objectvoid
identityToEntity(com.soffid.iam.api.Identity source, RoleEntity target, boolean copyIfNull)
Copy data fromIdentity
objectvoid
remove(RoleEntity roleEntity)
Removes an instance ofRoleEntity
from the persistent store.void
remove(Collection entities)
Removes a collection ofRoleEntity
from the persistent store.RoleEntity
roleToEntity(com.soffid.iam.api.Role role)
Transforms fromRole
objectvoid
roleToEntity(com.soffid.iam.api.Role sourceVO, RoleEntity targetEntity, boolean copyIfNull)
Copy data fromRole
objectcom.soffid.iam.api.ContainerRole
toContainerRole(RoleEntity entity)
Transforms toContainerRole
objectvoid
toIdentitatCustom(RoleEntity source, com.soffid.iam.api.Identity target)
com.soffid.iam.api.Identity
toIdentity(RoleEntity entity)
Transforms toIdentity
objectvoid
toIdentity(RoleEntity source, com.soffid.iam.api.Identity target)
Copy data toIdentity
objectcom.soffid.iam.api.Role
toRole(RoleEntity entity)
Transforms toRole
objectvoid
toRole(RoleEntity sourceEntity, com.soffid.iam.api.Role targetVO)
Copy data toRole
objectvoid
update(Collection entities)
Updates a collection ofRoleEntity
in the persistent store.-
Methods inherited from class com.soffid.iam.model.RoleEntityDaoBase
commitDefinition, containerRoleToEntityList, contenidorRolToEntity, contenidorRolToEntity, contenidorRolToEntityList, create, findApplicationManagementRoles, findApplicationManagementRoles, findApplicationManagementRoles, findApplicationRolesByUserAndInformationSystem, findApplicationRolesByUserAndInformationSystem, findApplicationRolesByUserAndInformationSystem, findById, findById, findById, findByInformationSystem, findByInformationSystem, findByInformationSystem, findByInformationSystemAndDomain, findByInformationSystemAndDomain, findByInformationSystemAndDomain, findByNameAndSystem, findByNameAndSystem, findByNameAndSystem, findByShortName, findByShortName, findByText, findByText, findGroupManagementRoles, findGroupManagementRoles, findGroupManagementRoles, findRoleByNameInformationSystemAndStystem, findRoleByNameInformationSystemAndStystem, findRoleByNameInformationSystemAndStystem, findRoleNames, findRoleNames, findRoleNames, findRolesByCriteria, findRolesByCriteria, findRolesByCriteria, findRolesByManageableWFCriteria, findRolesByManageableWFCriteria, findRolesByManageableWFCriteria, findRolesByUserName, findRolesByUserName, findRolesByUserName, getAccessControlEntityDao, getAccountAccessEntityDao, getAdditionalDataService, getApplicationDomainEntityDao, getAuditEntityDao, getAuthorizationEntityDao, getBpmEngine, getCustomObjectRoleEntityDao, getDomainValueEntityDao, getEmailListEntityDao, getGroupEntityDao, getInformationSystemEntityDao, getMailListRoleMemberEntityDao, getNetworkAuthorizationEntityDao, getNoticeEntityDao, getRoleAccountEntityDao, getRoleAttributeEntityDao, getRoleCacheEntry, getRoleDependencyEntityDao, getRoleGroupEntityDao, getRuleAssignedRoleEntityDao, getSoDRoleEntityDao, getSystemEntityDao, getTaskEntityDao, getUserEntityDao, identitatToEntity, identitatToEntity, identitatToEntityList, identityToEntityList, load, loadAll, newRoleEntity, query, query, remove, remove, removeRoleCacheEntry, roleToEntityList, rollbackDefinition, rolToEntity, rolToEntity, rolToEntityList, setAccessControlEntityDao, setAccountAccessEntityDao, setAdditionalDataService, setApplicationDomainEntityDao, setAuditEntityDao, setAuthorizationEntityDao, setBpmEngine, setCustomObjectRoleEntityDao, setDomainValueEntityDao, setEmailListEntityDao, setGroupEntityDao, setInformationSystemEntityDao, setMailListRoleMemberEntityDao, setNetworkAuthorizationEntityDao, setNoticeEntityDao, setRoleAccountEntityDao, setRoleAttributeEntityDao, setRoleDependencyEntityDao, setRoleGroupEntityDao, setRuleAssignedRoleEntityDao, setSoDRoleEntityDao, setSystemEntityDao, setTaskEntityDao, setUserEntityDao, storeRoleCacheEntry, toContainerRole, toContainerRoleList, toContenidorRol, toContenidorRol, toContenidorRolList, toIdentitat, toIdentitat, toIdentitatList, toIdentityList, toRol, toRol, toRoleList, toRolList, update, update, updateMailLists
-
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
-
-
-
-
Method Detail
-
create
public void create(RoleEntity Role) throws RuntimeException
Description copied from class:RoleEntityDaoBase
Adds an instance ofRoleEntity
to the persistent store.- Specified by:
create
in interfaceRoleEntityDao
- Overrides:
create
in classRoleEntityDaoBase
- Throws:
RuntimeException
-
handleUpdateMailLists
protected void handleUpdateMailLists(RoleEntity role) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
handleUpdateMailLists
in classRoleEntityDaoBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
remove
public void remove(RoleEntity roleEntity) throws RuntimeException
Description copied from class:RoleEntityDaoBase
Removes an instance ofRoleEntity
from the persistent store.- Specified by:
remove
in interfaceRoleEntityDao
- Overrides:
remove
in classRoleEntityDaoBase
- Throws:
RuntimeException
-
toRole
public void toRole(RoleEntity sourceEntity, com.soffid.iam.api.Role targetVO)
Description copied from class:RoleEntityDaoBase
Copy data toRole
object- Specified by:
toRole
in interfaceRoleEntityDao
- Overrides:
toRole
in classRoleEntityDaoBase
-
toRole
public com.soffid.iam.api.Role toRole(RoleEntity entity)
Description copied from interface:RoleEntityDao
Transforms toRole
object- Specified by:
toRole
in interfaceRoleEntityDao
- Overrides:
toRole
in classRoleEntityDaoBase
- See Also:
RoleEntityDao.toRol(RoleEntity)
-
roleToEntity
public RoleEntity roleToEntity(com.soffid.iam.api.Role role)
Description copied from class:RoleEntityDaoBase
Transforms fromRole
object- Specified by:
roleToEntity
in interfaceRoleEntityDao
- Overrides:
roleToEntity
in classRoleEntityDaoBase
-
roleToEntity
public void roleToEntity(com.soffid.iam.api.Role sourceVO, RoleEntity targetEntity, boolean copyIfNull)
Description copied from class:RoleEntityDaoBase
Copy data fromRole
object- Specified by:
roleToEntity
in interfaceRoleEntityDao
- Overrides:
roleToEntity
in classRoleEntityDaoBase
-
toIdentity
public void toIdentity(RoleEntity source, com.soffid.iam.api.Identity target)
Description copied from class:RoleEntityDaoBase
Copy data toIdentity
object- Specified by:
toIdentity
in interfaceRoleEntityDao
- Overrides:
toIdentity
in classRoleEntityDaoBase
- See Also:
GroupEntityDao.toIdentitat(GroupEntity, es.caib.seycon.ng.comu.Identitat)
-
toIdentitatCustom
public void toIdentitatCustom(RoleEntity source, com.soffid.iam.api.Identity target)
-
toIdentity
public com.soffid.iam.api.Identity toIdentity(RoleEntity entity)
Description copied from class:RoleEntityDaoBase
Transforms toIdentity
object- Specified by:
toIdentity
in interfaceRoleEntityDao
- Overrides:
toIdentity
in classRoleEntityDaoBase
- See Also:
RoleEntityDao.toIdentitat(RoleEntity)
-
identityToEntity
public RoleEntity identityToEntity(com.soffid.iam.api.Identity identitat)
Description copied from interface:RoleEntityDao
Transforms fromIdentity
object
-
identityToEntity
public void identityToEntity(com.soffid.iam.api.Identity source, RoleEntity target, boolean copyIfNull)
Description copied from class:RoleEntityDaoBase
Copy data fromIdentity
object- Specified by:
identityToEntity
in interfaceRoleEntityDao
- Overrides:
identityToEntity
in classRoleEntityDaoBase
- See Also:
RoleEntityDao#identitatToEntity(es.caib.seycon.ng.comu.Identitat, RoleEntity)
-
containerRoleToEntity
public RoleEntity containerRoleToEntity(com.soffid.iam.api.ContainerRole contenidorRol)
Description copied from class:RoleEntityDaoBase
Transforms fromContainerRole
object- Specified by:
containerRoleToEntity
in interfaceRoleEntityDao
- Overrides:
containerRoleToEntity
in classRoleEntityDaoBase
-
toContainerRole
public com.soffid.iam.api.ContainerRole toContainerRole(RoleEntity entity)
Description copied from class:RoleEntityDaoBase
Transforms toContainerRole
object- Specified by:
toContainerRole
in interfaceRoleEntityDao
- Overrides:
toContainerRole
in classRoleEntityDaoBase
-
containerRoleToEntity
public void containerRoleToEntity(com.soffid.iam.api.ContainerRole source, RoleEntity target, boolean copyIfNull)
Description copied from class:RoleEntityDaoBase
Copy data fromContainerRole
object- Specified by:
containerRoleToEntity
in interfaceRoleEntityDao
- Overrides:
containerRoleToEntity
in classRoleEntityDaoBase
-
create
public void create(Collection entities)
Description copied from class:RoleEntityDaoBase
Creates a collection ofRoleEntity
and adds it to the persistent store.- Specified by:
create
in interfaceRoleEntityDao
- Overrides:
create
in classRoleEntityDaoBase
-
update
public void update(Collection entities)
Description copied from class:RoleEntityDaoBase
Updates a collection ofRoleEntity
in the persistent store.- Specified by:
update
in interfaceRoleEntityDao
- Overrides:
update
in classRoleEntityDaoBase
-
remove
public void remove(Collection entities)
Description copied from class:RoleEntityDaoBase
Removes a collection ofRoleEntity
from the persistent store.- Specified by:
remove
in interfaceRoleEntityDao
- Overrides:
remove
in classRoleEntityDaoBase
-
handleRemove
protected void handleRemove(com.soffid.iam.api.Role role) throws Exception
- Specified by:
handleRemove
in classRoleEntityDaoBase
- Throws:
Exception
-
handleCreate
protected RoleEntity handleCreate(com.soffid.iam.api.Role role, boolean updateOwnedRoles) throws Exception
- Specified by:
handleCreate
in classRoleEntityDaoBase
- Throws:
Exception
-
handleUpdate
protected RoleEntity handleUpdate(com.soffid.iam.api.Role role, boolean updateOwnedRoles) throws Exception
- Specified by:
handleUpdate
in classRoleEntityDaoBase
- Throws:
Exception
-
handleCommitDefinition
protected void handleCommitDefinition(RoleEntity entity) throws Exception
- Specified by:
handleCommitDefinition
in classRoleEntityDaoBase
- Throws:
Exception
-
handleRollbackDefinition
protected void handleRollbackDefinition(RoleEntity entity) throws Exception
- Specified by:
handleRollbackDefinition
in classRoleEntityDaoBase
- Throws:
Exception
-
findByText
public Collection<RoleEntity> findByText(CriteriaSearchConfiguration criteria, String text)
Description copied from class:RoleEntityDaoBase
CriteriaSearchConfiguration implementation- Specified by:
findByText
in interfaceRoleEntityDao
- Overrides:
findByText
in classRoleEntityDaoBase
-
findByShortName
public RoleEntity findByShortName(CriteriaSearchConfiguration criteria, String shortName)
Description copied from class:RoleEntityDaoBase
CriteriaSearchConfiguration implementation- Specified by:
findByShortName
in interfaceRoleEntityDao
- Overrides:
findByShortName
in classRoleEntityDaoBase
-
-