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 RoleEntitycontainerRoleToEntity(com.soffid.iam.api.ContainerRole contenidorRol)Transforms fromContainerRoleobjectvoidcontainerRoleToEntity(com.soffid.iam.api.ContainerRole source, RoleEntity target, boolean copyIfNull)Copy data fromContainerRoleobjectvoidcreate(RoleEntity Role)Adds an instance ofRoleEntityto the persistent store.voidcreate(Collection entities)Creates a collection ofRoleEntityand adds it to the persistent store.RoleEntityfindByShortName(CriteriaSearchConfiguration criteria, String shortName)CriteriaSearchConfiguration implementationCollection<RoleEntity>findByText(CriteriaSearchConfiguration criteria, String text)CriteriaSearchConfiguration implementationprotected voidhandleCommitDefinition(RoleEntity entity)protected RoleEntityhandleCreate(com.soffid.iam.api.Role role, boolean updateOwnedRoles)protected voidhandleRemove(com.soffid.iam.api.Role role)protected voidhandleRollbackDefinition(RoleEntity entity)protected RoleEntityhandleUpdate(com.soffid.iam.api.Role role, boolean updateOwnedRoles)protected voidhandleUpdateMailLists(RoleEntity role)RoleEntityidentityToEntity(com.soffid.iam.api.Identity identitat)Transforms fromIdentityobjectvoididentityToEntity(com.soffid.iam.api.Identity source, RoleEntity target, boolean copyIfNull)Copy data fromIdentityobjectvoidremove(RoleEntity roleEntity)Removes an instance ofRoleEntityfrom the persistent store.voidremove(Collection entities)Removes a collection ofRoleEntityfrom the persistent store.RoleEntityroleToEntity(com.soffid.iam.api.Role role)Transforms fromRoleobjectvoidroleToEntity(com.soffid.iam.api.Role sourceVO, RoleEntity targetEntity, boolean copyIfNull)Copy data fromRoleobjectcom.soffid.iam.api.ContainerRoletoContainerRole(RoleEntity entity)Transforms toContainerRoleobjectvoidtoIdentitatCustom(RoleEntity source, com.soffid.iam.api.Identity target)com.soffid.iam.api.IdentitytoIdentity(RoleEntity entity)Transforms toIdentityobjectvoidtoIdentity(RoleEntity source, com.soffid.iam.api.Identity target)Copy data toIdentityobjectcom.soffid.iam.api.RoletoRole(RoleEntity entity)Transforms toRoleobjectvoidtoRole(RoleEntity sourceEntity, com.soffid.iam.api.Role targetVO)Copy data toRoleobjectvoidupdate(Collection entities)Updates a collection ofRoleEntityin 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:RoleEntityDaoBaseAdds an instance ofRoleEntityto the persistent store.- Specified by:
createin interfaceRoleEntityDao- Overrides:
createin classRoleEntityDaoBase- Throws:
RuntimeException
-
handleUpdateMailLists
protected void handleUpdateMailLists(RoleEntity role) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
handleUpdateMailListsin classRoleEntityDaoBase- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
remove
public void remove(RoleEntity roleEntity) throws RuntimeException
Description copied from class:RoleEntityDaoBaseRemoves an instance ofRoleEntityfrom the persistent store.- Specified by:
removein interfaceRoleEntityDao- Overrides:
removein classRoleEntityDaoBase- Throws:
RuntimeException
-
toRole
public void toRole(RoleEntity sourceEntity, com.soffid.iam.api.Role targetVO)
Description copied from class:RoleEntityDaoBaseCopy data toRoleobject- Specified by:
toRolein interfaceRoleEntityDao- Overrides:
toRolein classRoleEntityDaoBase
-
toRole
public com.soffid.iam.api.Role toRole(RoleEntity entity)
Description copied from interface:RoleEntityDaoTransforms toRoleobject- Specified by:
toRolein interfaceRoleEntityDao- Overrides:
toRolein classRoleEntityDaoBase- See Also:
RoleEntityDao.toRol(RoleEntity)
-
roleToEntity
public RoleEntity roleToEntity(com.soffid.iam.api.Role role)
Description copied from class:RoleEntityDaoBaseTransforms fromRoleobject- Specified by:
roleToEntityin interfaceRoleEntityDao- Overrides:
roleToEntityin classRoleEntityDaoBase
-
roleToEntity
public void roleToEntity(com.soffid.iam.api.Role sourceVO, RoleEntity targetEntity, boolean copyIfNull)Description copied from class:RoleEntityDaoBaseCopy data fromRoleobject- Specified by:
roleToEntityin interfaceRoleEntityDao- Overrides:
roleToEntityin classRoleEntityDaoBase
-
toIdentity
public void toIdentity(RoleEntity source, com.soffid.iam.api.Identity target)
Description copied from class:RoleEntityDaoBaseCopy data toIdentityobject- Specified by:
toIdentityin interfaceRoleEntityDao- Overrides:
toIdentityin 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:RoleEntityDaoBaseTransforms toIdentityobject- Specified by:
toIdentityin interfaceRoleEntityDao- Overrides:
toIdentityin classRoleEntityDaoBase- See Also:
RoleEntityDao.toIdentitat(RoleEntity)
-
identityToEntity
public RoleEntity identityToEntity(com.soffid.iam.api.Identity identitat)
Description copied from interface:RoleEntityDaoTransforms fromIdentityobject
-
identityToEntity
public void identityToEntity(com.soffid.iam.api.Identity source, RoleEntity target, boolean copyIfNull)Description copied from class:RoleEntityDaoBaseCopy data fromIdentityobject- Specified by:
identityToEntityin interfaceRoleEntityDao- Overrides:
identityToEntityin 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:RoleEntityDaoBaseTransforms fromContainerRoleobject- Specified by:
containerRoleToEntityin interfaceRoleEntityDao- Overrides:
containerRoleToEntityin classRoleEntityDaoBase
-
toContainerRole
public com.soffid.iam.api.ContainerRole toContainerRole(RoleEntity entity)
Description copied from class:RoleEntityDaoBaseTransforms toContainerRoleobject- Specified by:
toContainerRolein interfaceRoleEntityDao- Overrides:
toContainerRolein classRoleEntityDaoBase
-
containerRoleToEntity
public void containerRoleToEntity(com.soffid.iam.api.ContainerRole source, RoleEntity target, boolean copyIfNull)Description copied from class:RoleEntityDaoBaseCopy data fromContainerRoleobject- Specified by:
containerRoleToEntityin interfaceRoleEntityDao- Overrides:
containerRoleToEntityin classRoleEntityDaoBase
-
create
public void create(Collection entities)
Description copied from class:RoleEntityDaoBaseCreates a collection ofRoleEntityand adds it to the persistent store.- Specified by:
createin interfaceRoleEntityDao- Overrides:
createin classRoleEntityDaoBase
-
update
public void update(Collection entities)
Description copied from class:RoleEntityDaoBaseUpdates a collection ofRoleEntityin the persistent store.- Specified by:
updatein interfaceRoleEntityDao- Overrides:
updatein classRoleEntityDaoBase
-
remove
public void remove(Collection entities)
Description copied from class:RoleEntityDaoBaseRemoves a collection ofRoleEntityfrom the persistent store.- Specified by:
removein interfaceRoleEntityDao- Overrides:
removein classRoleEntityDaoBase
-
handleRemove
protected void handleRemove(com.soffid.iam.api.Role role) throws Exception- Specified by:
handleRemovein classRoleEntityDaoBase- Throws:
Exception
-
handleCreate
protected RoleEntity handleCreate(com.soffid.iam.api.Role role, boolean updateOwnedRoles) throws Exception
- Specified by:
handleCreatein classRoleEntityDaoBase- Throws:
Exception
-
handleUpdate
protected RoleEntity handleUpdate(com.soffid.iam.api.Role role, boolean updateOwnedRoles) throws Exception
- Specified by:
handleUpdatein classRoleEntityDaoBase- Throws:
Exception
-
handleCommitDefinition
protected void handleCommitDefinition(RoleEntity entity) throws Exception
- Specified by:
handleCommitDefinitionin classRoleEntityDaoBase- Throws:
Exception
-
handleRollbackDefinition
protected void handleRollbackDefinition(RoleEntity entity) throws Exception
- Specified by:
handleRollbackDefinitionin classRoleEntityDaoBase- Throws:
Exception
-
findByText
public Collection<RoleEntity> findByText(CriteriaSearchConfiguration criteria, String text)
Description copied from class:RoleEntityDaoBaseCriteriaSearchConfiguration implementation- Specified by:
findByTextin interfaceRoleEntityDao- Overrides:
findByTextin classRoleEntityDaoBase
-
findByShortName
public RoleEntity findByShortName(CriteriaSearchConfiguration criteria, String shortName)
Description copied from class:RoleEntityDaoBaseCriteriaSearchConfiguration implementation- Specified by:
findByShortNamein interfaceRoleEntityDao- Overrides:
findByShortNamein classRoleEntityDaoBase
-
-