Package com.soffid.iam.model
Class RoleAccountEntityDaoImpl
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.RoleAccountEntityDaoBase
-
- com.soffid.iam.model.RoleAccountEntityDaoImpl
-
- All Implemented Interfaces:
RoleAccountEntityDao,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class RoleAccountEntityDaoImpl extends RoleAccountEntityDaoBase implements org.springframework.context.ApplicationContextAware
- See Also:
es.caib.seycon.ng.model.RolAccountEntity
-
-
Constructor Summary
Constructors Constructor Description RoleAccountEntityDaoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadministracioAplicacioToEntity(com.soffid.iam.api.ApplicationAdministration administracioAplicacio, RoleAccountEntity targetEntity)RoleAccountEntityapplicationAdministrationToEntity(com.soffid.iam.api.ApplicationAdministration administracioAplicacio)Transforms fromApplicationAdministrationobjectRoleAccountEntitycontainerRoleToEntity(com.soffid.iam.api.ContainerRole contenidorRol)Transforms fromContainerRoleobjectvoidcreate(RoleAccountEntity rolsUsuaris)Adds an instance ofRoleAccountEntityto the persistent store.voidcreate(Collection entities)Creates a collection ofRoleAccountEntityand adds it to the persistent store.voidhandleUpdate(RoleAccountEntity rolsUsuaris, String auditType)voidremove(RoleAccountEntity rolsUsuaris)Removes an instance ofRoleAccountEntityfrom the persistent store.voidremove(Collection entities)Removes a collection ofRoleAccountEntityfrom the persistent store.RoleAccountEntityroleAccountToEntity(com.soffid.iam.api.RoleAccount rolsUsuaris)Transforms fromRoleAccountobjectvoidroleAccountToEntity(com.soffid.iam.api.RoleAccount sourceVO, RoleAccountEntity targetEntity, boolean copyIfNull)Copy data fromRoleAccountobjectRoleAccountEntityroleGrantToEntity(com.soffid.iam.api.RoleGrant rolGrant)Transforms fromRoleGrantobjectvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)com.soffid.iam.api.ApplicationAdministrationtoApplicationAdministration(RoleAccountEntity entity)Transforms toApplicationAdministrationobjectvoidtoApplicationAdministration(RoleAccountEntity source, com.soffid.iam.api.ApplicationAdministration target)Copy data toApplicationAdministrationobjectcom.soffid.iam.api.ContainerRoletoContainerRole(RoleAccountEntity entity)Transforms toContainerRoleobjectcom.soffid.iam.api.RoleAccounttoRoleAccount(RoleAccountEntity entity)Transforms toRoleAccountobjectvoidtoRoleAccount(RoleAccountEntity sourceEntity, com.soffid.iam.api.RoleAccount targetVO)Copy data toRoleAccountobjectvoidtoRoleGrant(RoleAccountEntity source, com.soffid.iam.api.RoleGrant target)Copy data toRoleGrantobjectvoidupdate(RoleAccountEntity rolsUsuaris)Updates an instance ofRoleAccountEntityat the persistent store.voidupdate(Collection entities)Updates a collection ofRoleAccountEntityin the persistent store.-
Methods inherited from class com.soffid.iam.model.RoleAccountEntityDaoBase
administracioAplicacioToEntity, administracioAplicacioToEntity, administracioAplicacioToEntityList, applicationAdministrationToEntity, applicationAdministrationToEntityList, containerRoleToEntity, containerRoleToEntityList, contenidorRolToEntity, contenidorRolToEntity, contenidorRolToEntityList, findAllByUserName, findAllByUserName, findAllByUserName, findAllRolAccountToEndDelegation, findAllRolAccountToEndDelegation, findAllRolAccountToEndDelegation, findAllRolAccountToStartDelegation, findAllRolAccountToStartDelegation, findAllRolAccountToStartDelegation, findByGroupName, findByGroupName, findByGroupName, findByInformationSystem, findByInformationSystem, findByInformationSystem, findByQualifierGroup, findByQualifierGroup, findByQualifierGroup, findByQualifierIS, findByQualifierIS, findByQualifierIS, findByRoleAndDomainType, findByRoleAndDomainType, findByRoleAndDomainType, findByRoleAndDomainValue, findByRoleAndDomainValue, findByRoleAndDomainValue, findByUserAndRule, findByUserAndRule, findByUserAndRule, findByUserName, findByUserName, findByUserName, findDelegatedRolAccounts, findDelegatedRolAccounts, findDelegatedRolAccounts, findHistoryByUserName, findHistoryByUserName, findHistoryByUserName, findMatching, findMatching, findMatching, findRolAccountToDisable, findRolAccountToDisable, findRolAccountToDisable, findRolAccountToEnable, findRolAccountToEnable, findRolAccountToEnable, findRoleAccountToEndDelegation, findRoleAccountToEndDelegation, findRoleAccountToEndDelegation, findRoleAccountToStartDelegation, findRoleAccountToStartDelegation, findRoleAccountToStartDelegation, getAccountEntityDao, getAuditEntityDao, getDomainValueEntityDao, getEmailListEntityDao, getGroupEntityDao, getInformationSystemEntityDao, getIssueEntityDao, getNoticeEntityDao, getRoleEntityDao, getRuleEntityDao, getSystemEntityDao, getTaskEntityDao, getUserEntityDao, load, loadAll, newRoleAccountEntity, query, query, remove, rolAccountToEntity, rolAccountToEntity, rolAccountToEntityList, roleAccountToEntityList, roleGrantToEntity, roleGrantToEntityList, rolGrantToEntity, rolGrantToEntity, rolGrantToEntityList, setAccountEntityDao, setAuditEntityDao, setDomainValueEntityDao, setEmailListEntityDao, setGroupEntityDao, setInformationSystemEntityDao, setIssueEntityDao, setNoticeEntityDao, setRoleEntityDao, setRuleEntityDao, setSystemEntityDao, setTaskEntityDao, setUserEntityDao, toAdministracioAplicacio, toAdministracioAplicacio, toAdministracioAplicacioList, toApplicationAdministrationList, toContainerRole, toContainerRoleList, toContenidorRol, toContenidorRol, toContenidorRolList, toRolAccount, toRolAccount, toRolAccountList, toRoleAccountList, toRoleGrant, toRoleGrantList, toRolGrant, toRolGrant, toRolGrantList, update
-
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
-
-
-
-
Method Detail
-
update
public void update(RoleAccountEntity rolsUsuaris)
Description copied from class:RoleAccountEntityDaoBaseUpdates an instance ofRoleAccountEntityat the persistent store.- Specified by:
updatein interfaceRoleAccountEntityDao- Overrides:
updatein classRoleAccountEntityDaoBase
-
handleUpdate
public void handleUpdate(RoleAccountEntity rolsUsuaris, String auditType)
- Specified by:
handleUpdatein classRoleAccountEntityDaoBase
-
create
public void create(RoleAccountEntity rolsUsuaris) throws RuntimeException
Description copied from class:RoleAccountEntityDaoBaseAdds an instance ofRoleAccountEntityto the persistent store.- Specified by:
createin interfaceRoleAccountEntityDao- Overrides:
createin classRoleAccountEntityDaoBase- Throws:
RuntimeException
-
remove
public void remove(RoleAccountEntity rolsUsuaris) throws RuntimeException
Description copied from class:RoleAccountEntityDaoBaseRemoves an instance ofRoleAccountEntityfrom the persistent store.- Specified by:
removein interfaceRoleAccountEntityDao- Overrides:
removein classRoleAccountEntityDaoBase- Throws:
RuntimeException
-
toRoleAccount
public void toRoleAccount(RoleAccountEntity sourceEntity, com.soffid.iam.api.RoleAccount targetVO)
Description copied from class:RoleAccountEntityDaoBaseCopy data toRoleAccountobject- Specified by:
toRoleAccountin interfaceRoleAccountEntityDao- Overrides:
toRoleAccountin classRoleAccountEntityDaoBase
-
toRoleAccount
public com.soffid.iam.api.RoleAccount toRoleAccount(RoleAccountEntity entity)
Description copied from class:RoleAccountEntityDaoBaseTransforms toRoleAccountobject- Specified by:
toRoleAccountin interfaceRoleAccountEntityDao- Overrides:
toRoleAccountin classRoleAccountEntityDaoBase- See Also:
es.caib.seycon.ng.model.RolAccountEntityDao#toRolAccount(es.caib.seycon.ng.model.RolAccountEntity)
-
roleAccountToEntity
public RoleAccountEntity roleAccountToEntity(com.soffid.iam.api.RoleAccount rolsUsuaris)
Description copied from class:RoleAccountEntityDaoBaseTransforms fromRoleAccountobject- Specified by:
roleAccountToEntityin interfaceRoleAccountEntityDao- Overrides:
roleAccountToEntityin classRoleAccountEntityDaoBase- See Also:
es.caib.seycon.ng.model.RolAccountEntityDao#rolsUsuarisToEntity(es.caib.seycon.ng.comu.RolAccount)
-
roleAccountToEntity
public void roleAccountToEntity(com.soffid.iam.api.RoleAccount sourceVO, RoleAccountEntity targetEntity, boolean copyIfNull)Description copied from class:RoleAccountEntityDaoBaseCopy data fromRoleAccountobject- Specified by:
roleAccountToEntityin interfaceRoleAccountEntityDao- Overrides:
roleAccountToEntityin classRoleAccountEntityDaoBase- See Also:
es.caib.seycon.ng.model.RolAccountEntityDao#rolsUsuarisToEntity(es.caib.seycon.ng.comu.RolAccount, es.caib.seycon.ng.model.RolAccountEntity)
-
applicationAdministrationToEntity
public RoleAccountEntity applicationAdministrationToEntity(com.soffid.iam.api.ApplicationAdministration administracioAplicacio)
Description copied from class:RoleAccountEntityDaoBaseTransforms fromApplicationAdministrationobject- Specified by:
applicationAdministrationToEntityin interfaceRoleAccountEntityDao- Overrides:
applicationAdministrationToEntityin classRoleAccountEntityDaoBase
-
toApplicationAdministration
public void toApplicationAdministration(RoleAccountEntity source, com.soffid.iam.api.ApplicationAdministration target)
Description copied from class:RoleAccountEntityDaoBaseCopy data toApplicationAdministrationobject- Specified by:
toApplicationAdministrationin interfaceRoleAccountEntityDao- Overrides:
toApplicationAdministrationin classRoleAccountEntityDaoBase
-
toApplicationAdministration
public com.soffid.iam.api.ApplicationAdministration toApplicationAdministration(RoleAccountEntity entity)
Description copied from class:RoleAccountEntityDaoBaseTransforms toApplicationAdministrationobject- Specified by:
toApplicationAdministrationin interfaceRoleAccountEntityDao- Overrides:
toApplicationAdministrationin classRoleAccountEntityDaoBase
-
administracioAplicacioToEntity
public void administracioAplicacioToEntity(com.soffid.iam.api.ApplicationAdministration administracioAplicacio, RoleAccountEntity targetEntity)
-
containerRoleToEntity
public RoleAccountEntity containerRoleToEntity(com.soffid.iam.api.ContainerRole contenidorRol)
Description copied from class:RoleAccountEntityDaoBaseTransforms fromContainerRoleobject- Specified by:
containerRoleToEntityin interfaceRoleAccountEntityDao- Overrides:
containerRoleToEntityin classRoleAccountEntityDaoBase
-
toContainerRole
public com.soffid.iam.api.ContainerRole toContainerRole(RoleAccountEntity entity)
Description copied from class:RoleAccountEntityDaoBaseTransforms toContainerRoleobject- Specified by:
toContainerRolein interfaceRoleAccountEntityDao- Overrides:
toContainerRolein classRoleAccountEntityDaoBase
-
create
public void create(Collection entities)
Description copied from class:RoleAccountEntityDaoBaseCreates a collection ofRoleAccountEntityand adds it to the persistent store.- Specified by:
createin interfaceRoleAccountEntityDao- Overrides:
createin classRoleAccountEntityDaoBase
-
update
public void update(Collection entities)
Description copied from class:RoleAccountEntityDaoBaseUpdates a collection ofRoleAccountEntityin the persistent store.- Specified by:
updatein interfaceRoleAccountEntityDao- Overrides:
updatein classRoleAccountEntityDaoBase
-
remove
public void remove(Collection entities)
Description copied from class:RoleAccountEntityDaoBaseRemoves a collection ofRoleAccountEntityfrom the persistent store.- Specified by:
removein interfaceRoleAccountEntityDao- Overrides:
removein classRoleAccountEntityDaoBase
-
roleGrantToEntity
public RoleAccountEntity roleGrantToEntity(com.soffid.iam.api.RoleGrant rolGrant)
Description copied from class:RoleAccountEntityDaoBaseTransforms fromRoleGrantobject- Specified by:
roleGrantToEntityin interfaceRoleAccountEntityDao- Overrides:
roleGrantToEntityin classRoleAccountEntityDaoBase
-
toRoleGrant
public void toRoleGrant(RoleAccountEntity source, com.soffid.iam.api.RoleGrant target)
Description copied from class:RoleAccountEntityDaoBaseCopy data toRoleGrantobject- Specified by:
toRoleGrantin interfaceRoleAccountEntityDao- Overrides:
toRoleGrantin classRoleAccountEntityDaoBase
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
-