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 void
administracioAplicacioToEntity(com.soffid.iam.api.ApplicationAdministration administracioAplicacio, RoleAccountEntity targetEntity)
RoleAccountEntity
applicationAdministrationToEntity(com.soffid.iam.api.ApplicationAdministration administracioAplicacio)
Transforms fromApplicationAdministration
objectRoleAccountEntity
containerRoleToEntity(com.soffid.iam.api.ContainerRole contenidorRol)
Transforms fromContainerRole
objectvoid
create(RoleAccountEntity rolsUsuaris)
Adds an instance ofRoleAccountEntity
to the persistent store.void
create(Collection entities)
Creates a collection ofRoleAccountEntity
and adds it to the persistent store.void
handleUpdate(RoleAccountEntity rolsUsuaris, String auditType)
void
remove(RoleAccountEntity rolsUsuaris)
Removes an instance ofRoleAccountEntity
from the persistent store.void
remove(Collection entities)
Removes a collection ofRoleAccountEntity
from the persistent store.RoleAccountEntity
roleAccountToEntity(com.soffid.iam.api.RoleAccount rolsUsuaris)
Transforms fromRoleAccount
objectvoid
roleAccountToEntity(com.soffid.iam.api.RoleAccount sourceVO, RoleAccountEntity targetEntity, boolean copyIfNull)
Copy data fromRoleAccount
objectRoleAccountEntity
roleGrantToEntity(com.soffid.iam.api.RoleGrant rolGrant)
Transforms fromRoleGrant
objectvoid
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
com.soffid.iam.api.ApplicationAdministration
toApplicationAdministration(RoleAccountEntity entity)
Transforms toApplicationAdministration
objectvoid
toApplicationAdministration(RoleAccountEntity source, com.soffid.iam.api.ApplicationAdministration target)
Copy data toApplicationAdministration
objectcom.soffid.iam.api.ContainerRole
toContainerRole(RoleAccountEntity entity)
Transforms toContainerRole
objectcom.soffid.iam.api.RoleAccount
toRoleAccount(RoleAccountEntity entity)
Transforms toRoleAccount
objectvoid
toRoleAccount(RoleAccountEntity sourceEntity, com.soffid.iam.api.RoleAccount targetVO)
Copy data toRoleAccount
objectvoid
toRoleGrant(RoleAccountEntity source, com.soffid.iam.api.RoleGrant target)
Copy data toRoleGrant
objectvoid
update(RoleAccountEntity rolsUsuaris)
Updates an instance ofRoleAccountEntity
at the persistent store.void
update(Collection entities)
Updates a collection ofRoleAccountEntity
in 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:RoleAccountEntityDaoBase
Updates an instance ofRoleAccountEntity
at the persistent store.- Specified by:
update
in interfaceRoleAccountEntityDao
- Overrides:
update
in classRoleAccountEntityDaoBase
-
handleUpdate
public void handleUpdate(RoleAccountEntity rolsUsuaris, String auditType)
- Specified by:
handleUpdate
in classRoleAccountEntityDaoBase
-
create
public void create(RoleAccountEntity rolsUsuaris) throws RuntimeException
Description copied from class:RoleAccountEntityDaoBase
Adds an instance ofRoleAccountEntity
to the persistent store.- Specified by:
create
in interfaceRoleAccountEntityDao
- Overrides:
create
in classRoleAccountEntityDaoBase
- Throws:
RuntimeException
-
remove
public void remove(RoleAccountEntity rolsUsuaris) throws RuntimeException
Description copied from class:RoleAccountEntityDaoBase
Removes an instance ofRoleAccountEntity
from the persistent store.- Specified by:
remove
in interfaceRoleAccountEntityDao
- Overrides:
remove
in classRoleAccountEntityDaoBase
- Throws:
RuntimeException
-
toRoleAccount
public void toRoleAccount(RoleAccountEntity sourceEntity, com.soffid.iam.api.RoleAccount targetVO)
Description copied from class:RoleAccountEntityDaoBase
Copy data toRoleAccount
object- Specified by:
toRoleAccount
in interfaceRoleAccountEntityDao
- Overrides:
toRoleAccount
in classRoleAccountEntityDaoBase
-
toRoleAccount
public com.soffid.iam.api.RoleAccount toRoleAccount(RoleAccountEntity entity)
Description copied from class:RoleAccountEntityDaoBase
Transforms toRoleAccount
object- Specified by:
toRoleAccount
in interfaceRoleAccountEntityDao
- Overrides:
toRoleAccount
in 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:RoleAccountEntityDaoBase
Transforms fromRoleAccount
object- Specified by:
roleAccountToEntity
in interfaceRoleAccountEntityDao
- Overrides:
roleAccountToEntity
in 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:RoleAccountEntityDaoBase
Copy data fromRoleAccount
object- Specified by:
roleAccountToEntity
in interfaceRoleAccountEntityDao
- Overrides:
roleAccountToEntity
in 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:RoleAccountEntityDaoBase
Transforms fromApplicationAdministration
object- Specified by:
applicationAdministrationToEntity
in interfaceRoleAccountEntityDao
- Overrides:
applicationAdministrationToEntity
in classRoleAccountEntityDaoBase
-
toApplicationAdministration
public void toApplicationAdministration(RoleAccountEntity source, com.soffid.iam.api.ApplicationAdministration target)
Description copied from class:RoleAccountEntityDaoBase
Copy data toApplicationAdministration
object- Specified by:
toApplicationAdministration
in interfaceRoleAccountEntityDao
- Overrides:
toApplicationAdministration
in classRoleAccountEntityDaoBase
-
toApplicationAdministration
public com.soffid.iam.api.ApplicationAdministration toApplicationAdministration(RoleAccountEntity entity)
Description copied from class:RoleAccountEntityDaoBase
Transforms toApplicationAdministration
object- Specified by:
toApplicationAdministration
in interfaceRoleAccountEntityDao
- Overrides:
toApplicationAdministration
in 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:RoleAccountEntityDaoBase
Transforms fromContainerRole
object- Specified by:
containerRoleToEntity
in interfaceRoleAccountEntityDao
- Overrides:
containerRoleToEntity
in classRoleAccountEntityDaoBase
-
toContainerRole
public com.soffid.iam.api.ContainerRole toContainerRole(RoleAccountEntity entity)
Description copied from class:RoleAccountEntityDaoBase
Transforms toContainerRole
object- Specified by:
toContainerRole
in interfaceRoleAccountEntityDao
- Overrides:
toContainerRole
in classRoleAccountEntityDaoBase
-
create
public void create(Collection entities)
Description copied from class:RoleAccountEntityDaoBase
Creates a collection ofRoleAccountEntity
and adds it to the persistent store.- Specified by:
create
in interfaceRoleAccountEntityDao
- Overrides:
create
in classRoleAccountEntityDaoBase
-
update
public void update(Collection entities)
Description copied from class:RoleAccountEntityDaoBase
Updates a collection ofRoleAccountEntity
in the persistent store.- Specified by:
update
in interfaceRoleAccountEntityDao
- Overrides:
update
in classRoleAccountEntityDaoBase
-
remove
public void remove(Collection entities)
Description copied from class:RoleAccountEntityDaoBase
Removes a collection ofRoleAccountEntity
from the persistent store.- Specified by:
remove
in interfaceRoleAccountEntityDao
- Overrides:
remove
in classRoleAccountEntityDaoBase
-
roleGrantToEntity
public RoleAccountEntity roleGrantToEntity(com.soffid.iam.api.RoleGrant rolGrant)
Description copied from class:RoleAccountEntityDaoBase
Transforms fromRoleGrant
object- Specified by:
roleGrantToEntity
in interfaceRoleAccountEntityDao
- Overrides:
roleGrantToEntity
in classRoleAccountEntityDaoBase
-
toRoleGrant
public void toRoleGrant(RoleAccountEntity source, com.soffid.iam.api.RoleGrant target)
Description copied from class:RoleAccountEntityDaoBase
Copy data toRoleGrant
object- Specified by:
toRoleGrant
in interfaceRoleAccountEntityDao
- Overrides:
toRoleGrant
in classRoleAccountEntityDaoBase
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
-