Package com.soffid.iam.model
Class AccountEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.AccountEntityDaoBase
-
- All Implemented Interfaces:
AccountEntityDao,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
AccountEntityDaoImpl
public abstract class AccountEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements AccountEntityDao
DAO Base for Entity AccountEntity
-
-
Constructor Summary
Constructors Constructor Description AccountEntityDaoBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description AccountEntityaccountToEntity(com.soffid.iam.api.Account instance)Transforms fromAccountobjectvoidaccountToEntity(com.soffid.iam.api.Account source, AccountEntity target, boolean copyIfNull)Copy data fromAccountobjectList<AccountEntity>accountToEntityList(Collection<com.soffid.iam.api.Account> instances)Transforms fromAccountlistvoidcreate(AccountEntity entity)Adds an instance ofAccountEntityto the persistent store.voidcreate(Collection<? extends AccountEntity> entities)Creates a collection ofAccountEntityand adds it to the persistent store.List<String>findAcountNames(CriteriaSearchConfiguration criteria, String systemName)CriteriaSearchConfiguration implementationList<String>findAcountNames(String systemName)Operation findAcountNamesList<String>findAcountNames(String queryString, CriteriaSearchConfiguration criteria, String systemName)Internal implementationList<AccountEntity>findByCriteria(es.caib.seycon.ng.comu.AccountCriteria criteria)Operation findByCriteriaAccountEntityfindByNameAndSystem(CriteriaSearchConfiguration criteria, String name, String dispatcher)CriteriaSearchConfiguration implementationAccountEntityfindByNameAndSystem(String queryString, CriteriaSearchConfiguration criteria, String name, String dispatcher)Internal implementationAccountEntityfindByNameAndSystem(String name, String dispatcher)Operation findByNameAndSystemCollection<AccountEntity>findByText(CriteriaSearchConfiguration criteria, String text)CriteriaSearchConfiguration implementationCollection<AccountEntity>findByText(String text)Operation findByTextCollection<AccountEntity>findByText(String queryString, CriteriaSearchConfiguration criteria, String text)Internal implementationList<AccountEntity>findByUser(CriteriaSearchConfiguration criteria, Long userId)CriteriaSearchConfiguration implementationList<AccountEntity>findByUser(Long userId)Operation findByUserList<AccountEntity>findByUser(String queryString, CriteriaSearchConfiguration criteria, Long userId)Internal implementationList<AccountEntity>findByUserAndDomain(CriteriaSearchConfiguration criteria, String user, String domain)CriteriaSearchConfiguration implementationList<AccountEntity>findByUserAndDomain(String queryString, CriteriaSearchConfiguration criteria, String user, String domain)Internal implementationList<AccountEntity>findByUserAndDomain(String user, String domain)Operation findByUserAndDomainList<AccountEntity>findByUserAndSystem(CriteriaSearchConfiguration criteria, String user, String dispatcher)CriteriaSearchConfiguration implementationList<AccountEntity>findByUserAndSystem(String queryString, CriteriaSearchConfiguration criteria, String user, String dispatcher)Internal implementationList<AccountEntity>findByUserAndSystem(String user, String dispatcher)Operation findByUserAndSystemList<AccountEntity>findSharedAccounts(CriteriaSearchConfiguration criteria, String name, String system)CriteriaSearchConfiguration implementationList<AccountEntity>findSharedAccounts(String queryString, CriteriaSearchConfiguration criteria, String name, String system)Internal implementationList<AccountEntity>findSharedAccounts(String name, String system)Operation findSharedAccountses.caib.seycon.ng.comu.AccountAccessLevelEnumgetAccessLevel(AccountEntity account, String user)Operation getAccessLevelAccountAccessEntityDaogetAccountAccessEntityDao()Gets reference toaccountAccessEntityDao.AccountAttributeEntityDaogetAccountAttributeEntityDao()Gets reference toaccountAttributeEntityDao.AccountPasswordEntityDaogetAccountPasswordEntityDao()Gets reference toaccountPasswordEntityDao.AccountSnapshotEntityDaogetAccountSnapshotEntityDao()Gets reference toaccountSnapshotEntityDao.ACLServicegetACLService()Gets reference toaCLService.AuditEntityDaogetAuditEntityDao()Gets reference toauditoriaEntityDao.GroupEntityDaogetGroupEntityDao()Gets reference togrupEntityDao.HostServiceEntityDaogetHostServiceEntityDao()Gets reference tohostServiceEntityDao.LonggetHPAccounts()Operation getHPAccountsLonggetHPAccounts(CriteriaSearchConfiguration criteria)CriteriaSearchConfiguration implementationLonggetHPAccounts(String queryString, CriteriaSearchConfiguration criteria)Internal implementationIssueEntityDaogetIssueEntityDao()Gets reference toissueEntityDao.JumpServerGroupEntityDaogetJumpServerGroupEntityDao()Gets reference tojumpServerGroupEntityDao.NetworkDiscoveryAccountEntityDaogetNetworkDiscoveryAccountEntityDao()Gets reference tonetworkDiscoveryAccountEntityDao.LonggetPamAccounts()Operation getPamAccountsLonggetPamAccounts(CriteriaSearchConfiguration criteria)CriteriaSearchConfiguration implementationLonggetPamAccounts(String queryString, CriteriaSearchConfiguration criteria)Internal implementationLonggetPamAccountsExpiredPassword()Operation getPamAccountsExpiredPasswordLonggetPamAccountsExpiredPassword(CriteriaSearchConfiguration criteria)CriteriaSearchConfiguration implementationLonggetPamAccountsExpiredPassword(String queryString, CriteriaSearchConfiguration criteria)Internal implementationLonggetPamAccountsWrongPassword()Operation getPamAccountsWrongPasswordLonggetPamAccountsWrongPassword(CriteriaSearchConfiguration criteria)CriteriaSearchConfiguration implementationLonggetPamAccountsWrongPassword(String queryString, CriteriaSearchConfiguration criteria)Internal implementationLonggetReservedHPAccounts()Operation getReservedHPAccountsLonggetReservedHPAccounts(CriteriaSearchConfiguration criteria)CriteriaSearchConfiguration implementationLonggetReservedHPAccounts(String queryString, CriteriaSearchConfiguration criteria)Internal implementationRoleAccountEntityDaogetRoleAccountEntityDao()Gets reference torolAccountEntityDao.RoleEntityDaogetRoleEntityDao()Gets reference torolEntityDao.SystemEntityDaogetSystemEntityDao()Gets reference todispatcherEntityDao.TaskEntityDaogetTaskEntityDao()Gets reference totasqueEntityDao.UserAccountEntityDaogetUserAccountEntityDao()Gets reference touserAccountEntityDao.UserEntityDaogetUserEntityDao()Gets reference tousuariEntityDao.UserTypeEntityDaogetUserTypeEntityDao()Gets reference totipusUsuariEntityDao.VaultFolderEntityDaogetVaultFolderEntityDao()Gets reference tovaultFolderEntityDao.protected abstract es.caib.seycon.ng.comu.AccountAccessLevelEnumhandleGetAccessLevel(AccountEntity account, String user)protected abstract voidhandlePropagateChanges(AccountEntity account)protected abstract voidhandleRemoveFromCache(AccountEntity entity)protected abstract voidhandleUpdate(AccountEntity entity, String auditType)AccountEntityload(Long id)Loads an instance ofAccountEntityfrom the persistent store.List<AccountEntity>loadAll()Loads all instances ofAccountEntityfrom the persistent store.AccountEntitynewAccountEntity()Creates an instance ofAccountEntity.voidpropagateChanges(AccountEntity account)Operation propagateChangesList<AccountEntity>query(String queryString, Parameter[] parameters)Query ofAccountEntityfrom the persistent store.List<AccountEntity>query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofAccountEntityfrom the persistent store.voidremove(AccountEntity entity)Removes an instance ofAccountEntityfrom the persistent store.voidremove(Long id)Removes an instance ofAccountEntityfrom the persistent store.voidremove(Collection<? extends AccountEntity> entities)Removes a collection ofAccountEntityfrom the persistent store.voidremoveFromCache(AccountEntity entity)Operation removeFromCachevoidsetAccountAccessEntityDao(AccountAccessEntityDao accountAccessEntityDao)Sets reference toaccountAccessEntityDao.voidsetAccountAttributeEntityDao(AccountAttributeEntityDao accountAttributeEntityDao)Sets reference toaccountAttributeEntityDao.voidsetAccountPasswordEntityDao(AccountPasswordEntityDao accountPasswordEntityDao)Sets reference toaccountPasswordEntityDao.voidsetAccountSnapshotEntityDao(AccountSnapshotEntityDao accountSnapshotEntityDao)Sets reference toaccountSnapshotEntityDao.voidsetACLService(ACLService aCLService)Sets reference toaCLService.voidsetAuditEntityDao(AuditEntityDao auditoriaEntityDao)Sets reference toauditoriaEntityDao.voidsetGroupEntityDao(GroupEntityDao grupEntityDao)Sets reference togrupEntityDao.voidsetHostServiceEntityDao(HostServiceEntityDao hostServiceEntityDao)Sets reference tohostServiceEntityDao.voidsetIssueEntityDao(IssueEntityDao issueEntityDao)Sets reference toissueEntityDao.voidsetJumpServerGroupEntityDao(JumpServerGroupEntityDao jumpServerGroupEntityDao)Sets reference tojumpServerGroupEntityDao.voidsetNetworkDiscoveryAccountEntityDao(NetworkDiscoveryAccountEntityDao networkDiscoveryAccountEntityDao)Sets reference tonetworkDiscoveryAccountEntityDao.voidsetRoleAccountEntityDao(RoleAccountEntityDao rolAccountEntityDao)Sets reference torolAccountEntityDao.voidsetRoleEntityDao(RoleEntityDao rolEntityDao)Sets reference torolEntityDao.voidsetSystemEntityDao(SystemEntityDao dispatcherEntityDao)Sets reference todispatcherEntityDao.voidsetTaskEntityDao(TaskEntityDao tasqueEntityDao)Sets reference totasqueEntityDao.voidsetUserAccountEntityDao(UserAccountEntityDao userAccountEntityDao)Sets reference touserAccountEntityDao.voidsetUserEntityDao(UserEntityDao usuariEntityDao)Sets reference tousuariEntityDao.voidsetUserTypeEntityDao(UserTypeEntityDao tipusUsuariEntityDao)Sets reference totipusUsuariEntityDao.voidsetVaultFolderEntityDao(VaultFolderEntityDao vaultFolderEntityDao)Sets reference tovaultFolderEntityDao.com.soffid.iam.api.AccounttoAccount(AccountEntity entity)Transforms toAccountobjectvoidtoAccount(AccountEntity source, com.soffid.iam.api.Account target)Copy data toAccountobjectList<com.soffid.iam.api.Account>toAccountList(Collection<AccountEntity> instances)Transforms toAccountlistvoidupdate(AccountEntity entity)Updates an instance ofAccountEntityat the persistent store.voidupdate(AccountEntity entity, String auditType)Operation updatevoidupdate(Collection<? extends AccountEntity> entities)Updates a collection ofAccountEntityin the persistent store.-
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
-
-
-
-
Method Detail
-
setACLService
public void setACLService(ACLService aCLService)
Sets reference toaCLService.
-
getACLService
public ACLService getACLService()
Gets reference toaCLService.
-
setAccountAccessEntityDao
public void setAccountAccessEntityDao(AccountAccessEntityDao accountAccessEntityDao)
Sets reference toaccountAccessEntityDao.
-
getAccountAccessEntityDao
public AccountAccessEntityDao getAccountAccessEntityDao()
Gets reference toaccountAccessEntityDao.
-
setAccountAttributeEntityDao
public void setAccountAttributeEntityDao(AccountAttributeEntityDao accountAttributeEntityDao)
Sets reference toaccountAttributeEntityDao.
-
getAccountAttributeEntityDao
public AccountAttributeEntityDao getAccountAttributeEntityDao()
Gets reference toaccountAttributeEntityDao.
-
setAccountPasswordEntityDao
public void setAccountPasswordEntityDao(AccountPasswordEntityDao accountPasswordEntityDao)
Sets reference toaccountPasswordEntityDao.
-
getAccountPasswordEntityDao
public AccountPasswordEntityDao getAccountPasswordEntityDao()
Gets reference toaccountPasswordEntityDao.
-
setAccountSnapshotEntityDao
public void setAccountSnapshotEntityDao(AccountSnapshotEntityDao accountSnapshotEntityDao)
Sets reference toaccountSnapshotEntityDao.
-
getAccountSnapshotEntityDao
public AccountSnapshotEntityDao getAccountSnapshotEntityDao()
Gets reference toaccountSnapshotEntityDao.
-
setAuditEntityDao
public void setAuditEntityDao(AuditEntityDao auditoriaEntityDao)
Sets reference toauditoriaEntityDao.
-
getAuditEntityDao
public AuditEntityDao getAuditEntityDao()
Gets reference toauditoriaEntityDao.
-
setSystemEntityDao
public void setSystemEntityDao(SystemEntityDao dispatcherEntityDao)
Sets reference todispatcherEntityDao.
-
getSystemEntityDao
public SystemEntityDao getSystemEntityDao()
Gets reference todispatcherEntityDao.
-
setGroupEntityDao
public void setGroupEntityDao(GroupEntityDao grupEntityDao)
Sets reference togrupEntityDao.
-
getGroupEntityDao
public GroupEntityDao getGroupEntityDao()
Gets reference togrupEntityDao.
-
setHostServiceEntityDao
public void setHostServiceEntityDao(HostServiceEntityDao hostServiceEntityDao)
Sets reference tohostServiceEntityDao.
-
getHostServiceEntityDao
public HostServiceEntityDao getHostServiceEntityDao()
Gets reference tohostServiceEntityDao.
-
setIssueEntityDao
public void setIssueEntityDao(IssueEntityDao issueEntityDao)
Sets reference toissueEntityDao.
-
getIssueEntityDao
public IssueEntityDao getIssueEntityDao()
Gets reference toissueEntityDao.
-
setJumpServerGroupEntityDao
public void setJumpServerGroupEntityDao(JumpServerGroupEntityDao jumpServerGroupEntityDao)
Sets reference tojumpServerGroupEntityDao.
-
getJumpServerGroupEntityDao
public JumpServerGroupEntityDao getJumpServerGroupEntityDao()
Gets reference tojumpServerGroupEntityDao.
-
setNetworkDiscoveryAccountEntityDao
public void setNetworkDiscoveryAccountEntityDao(NetworkDiscoveryAccountEntityDao networkDiscoveryAccountEntityDao)
Sets reference tonetworkDiscoveryAccountEntityDao.
-
getNetworkDiscoveryAccountEntityDao
public NetworkDiscoveryAccountEntityDao getNetworkDiscoveryAccountEntityDao()
Gets reference tonetworkDiscoveryAccountEntityDao.
-
setRoleAccountEntityDao
public void setRoleAccountEntityDao(RoleAccountEntityDao rolAccountEntityDao)
Sets reference torolAccountEntityDao.
-
getRoleAccountEntityDao
public RoleAccountEntityDao getRoleAccountEntityDao()
Gets reference torolAccountEntityDao.
-
setRoleEntityDao
public void setRoleEntityDao(RoleEntityDao rolEntityDao)
Sets reference torolEntityDao.
-
getRoleEntityDao
public RoleEntityDao getRoleEntityDao()
Gets reference torolEntityDao.
-
setTaskEntityDao
public void setTaskEntityDao(TaskEntityDao tasqueEntityDao)
Sets reference totasqueEntityDao.
-
getTaskEntityDao
public TaskEntityDao getTaskEntityDao()
Gets reference totasqueEntityDao.
-
setUserTypeEntityDao
public void setUserTypeEntityDao(UserTypeEntityDao tipusUsuariEntityDao)
Sets reference totipusUsuariEntityDao.
-
getUserTypeEntityDao
public UserTypeEntityDao getUserTypeEntityDao()
Gets reference totipusUsuariEntityDao.
-
setUserAccountEntityDao
public void setUserAccountEntityDao(UserAccountEntityDao userAccountEntityDao)
Sets reference touserAccountEntityDao.
-
getUserAccountEntityDao
public UserAccountEntityDao getUserAccountEntityDao()
Gets reference touserAccountEntityDao.
-
setUserEntityDao
public void setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao.
-
getUserEntityDao
public UserEntityDao getUserEntityDao()
Gets reference tousuariEntityDao.
-
setVaultFolderEntityDao
public void setVaultFolderEntityDao(VaultFolderEntityDao vaultFolderEntityDao)
Sets reference tovaultFolderEntityDao.
-
getVaultFolderEntityDao
public VaultFolderEntityDao getVaultFolderEntityDao()
Gets reference tovaultFolderEntityDao.
-
getAccessLevel
public es.caib.seycon.ng.comu.AccountAccessLevelEnum getAccessLevel(AccountEntity account, String user) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:AccountEntityDaoOperation getAccessLevel- Specified by:
getAccessLevelin interfaceAccountEntityDao- Returns:
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetAccessLevel
protected abstract es.caib.seycon.ng.comu.AccountAccessLevelEnum handleGetAccessLevel(AccountEntity account, String user) throws Exception
- Throws:
Exception
-
findByNameAndSystem
public AccountEntity findByNameAndSystem(String name, String dispatcher)
Operation findByNameAndSystem- Specified by:
findByNameAndSystemin interfaceAccountEntityDao- Parameters:
name-dispatcher-- Returns:
-
findByNameAndSystem
public AccountEntity findByNameAndSystem(CriteriaSearchConfiguration criteria, String name, String dispatcher)
CriteriaSearchConfiguration implementation- Specified by:
findByNameAndSystemin interfaceAccountEntityDao
-
findByNameAndSystem
public AccountEntity findByNameAndSystem(String queryString, CriteriaSearchConfiguration criteria, String name, String dispatcher)
Internal implementation
-
getHPAccounts
public Long getHPAccounts()
Operation getHPAccounts- Specified by:
getHPAccountsin interfaceAccountEntityDao- Returns:
-
getHPAccounts
public Long getHPAccounts(CriteriaSearchConfiguration criteria)
CriteriaSearchConfiguration implementation- Specified by:
getHPAccountsin interfaceAccountEntityDao
-
getHPAccounts
public Long getHPAccounts(String queryString, CriteriaSearchConfiguration criteria)
Internal implementation
-
getPamAccounts
public Long getPamAccounts()
Operation getPamAccounts- Specified by:
getPamAccountsin interfaceAccountEntityDao- Returns:
-
getPamAccounts
public Long getPamAccounts(CriteriaSearchConfiguration criteria)
CriteriaSearchConfiguration implementation- Specified by:
getPamAccountsin interfaceAccountEntityDao
-
getPamAccounts
public Long getPamAccounts(String queryString, CriteriaSearchConfiguration criteria)
Internal implementation
-
getPamAccountsExpiredPassword
public Long getPamAccountsExpiredPassword()
Operation getPamAccountsExpiredPassword- Specified by:
getPamAccountsExpiredPasswordin interfaceAccountEntityDao- Returns:
-
getPamAccountsExpiredPassword
public Long getPamAccountsExpiredPassword(CriteriaSearchConfiguration criteria)
CriteriaSearchConfiguration implementation- Specified by:
getPamAccountsExpiredPasswordin interfaceAccountEntityDao
-
getPamAccountsExpiredPassword
public Long getPamAccountsExpiredPassword(String queryString, CriteriaSearchConfiguration criteria)
Internal implementation
-
getPamAccountsWrongPassword
public Long getPamAccountsWrongPassword()
Operation getPamAccountsWrongPassword- Specified by:
getPamAccountsWrongPasswordin interfaceAccountEntityDao- Returns:
-
getPamAccountsWrongPassword
public Long getPamAccountsWrongPassword(CriteriaSearchConfiguration criteria)
CriteriaSearchConfiguration implementation- Specified by:
getPamAccountsWrongPasswordin interfaceAccountEntityDao
-
getPamAccountsWrongPassword
public Long getPamAccountsWrongPassword(String queryString, CriteriaSearchConfiguration criteria)
Internal implementation
-
getReservedHPAccounts
public Long getReservedHPAccounts()
Operation getReservedHPAccounts- Specified by:
getReservedHPAccountsin interfaceAccountEntityDao- Returns:
-
getReservedHPAccounts
public Long getReservedHPAccounts(CriteriaSearchConfiguration criteria)
CriteriaSearchConfiguration implementation- Specified by:
getReservedHPAccountsin interfaceAccountEntityDao
-
getReservedHPAccounts
public Long getReservedHPAccounts(String queryString, CriteriaSearchConfiguration criteria)
Internal implementation
-
findByText
public Collection<AccountEntity> findByText(String text)
Operation findByText- Specified by:
findByTextin interfaceAccountEntityDao- Parameters:
text-- Returns:
-
findByText
public Collection<AccountEntity> findByText(CriteriaSearchConfiguration criteria, String text)
CriteriaSearchConfiguration implementation- Specified by:
findByTextin interfaceAccountEntityDao
-
findByText
public Collection<AccountEntity> findByText(String queryString, CriteriaSearchConfiguration criteria, String text)
Internal implementation
-
findAcountNames
public List<String> findAcountNames(String systemName)
Operation findAcountNames- Specified by:
findAcountNamesin interfaceAccountEntityDao- Parameters:
systemName-- Returns:
-
findAcountNames
public List<String> findAcountNames(CriteriaSearchConfiguration criteria, String systemName)
CriteriaSearchConfiguration implementation- Specified by:
findAcountNamesin interfaceAccountEntityDao
-
findAcountNames
public List<String> findAcountNames(String queryString, CriteriaSearchConfiguration criteria, String systemName)
Internal implementation
-
findByCriteria
public List<AccountEntity> findByCriteria(es.caib.seycon.ng.comu.AccountCriteria criteria)
Operation findByCriteria- Specified by:
findByCriteriain interfaceAccountEntityDao- Parameters:
criteria-- Returns:
-
findByUser
public List<AccountEntity> findByUser(Long userId)
Operation findByUser- Specified by:
findByUserin interfaceAccountEntityDao- Parameters:
userId-- Returns:
-
findByUser
public List<AccountEntity> findByUser(CriteriaSearchConfiguration criteria, Long userId)
CriteriaSearchConfiguration implementation- Specified by:
findByUserin interfaceAccountEntityDao
-
findByUser
public List<AccountEntity> findByUser(String queryString, CriteriaSearchConfiguration criteria, Long userId)
Internal implementation
-
findByUserAndDomain
public List<AccountEntity> findByUserAndDomain(String user, String domain)
Operation findByUserAndDomain- Specified by:
findByUserAndDomainin interfaceAccountEntityDao- Parameters:
user-domain-- Returns:
-
findByUserAndDomain
public List<AccountEntity> findByUserAndDomain(CriteriaSearchConfiguration criteria, String user, String domain)
CriteriaSearchConfiguration implementation- Specified by:
findByUserAndDomainin interfaceAccountEntityDao
-
findByUserAndDomain
public List<AccountEntity> findByUserAndDomain(String queryString, CriteriaSearchConfiguration criteria, String user, String domain)
Internal implementation
-
findByUserAndSystem
public List<AccountEntity> findByUserAndSystem(String user, String dispatcher)
Operation findByUserAndSystem- Specified by:
findByUserAndSystemin interfaceAccountEntityDao- Parameters:
user-dispatcher-- Returns:
-
findByUserAndSystem
public List<AccountEntity> findByUserAndSystem(CriteriaSearchConfiguration criteria, String user, String dispatcher)
CriteriaSearchConfiguration implementation- Specified by:
findByUserAndSystemin interfaceAccountEntityDao
-
findByUserAndSystem
public List<AccountEntity> findByUserAndSystem(String queryString, CriteriaSearchConfiguration criteria, String user, String dispatcher)
Internal implementation
-
findSharedAccounts
public List<AccountEntity> findSharedAccounts(String name, String system)
Operation findSharedAccounts- Specified by:
findSharedAccountsin interfaceAccountEntityDao- Parameters:
name-system-- Returns:
-
findSharedAccounts
public List<AccountEntity> findSharedAccounts(CriteriaSearchConfiguration criteria, String name, String system)
CriteriaSearchConfiguration implementation- Specified by:
findSharedAccountsin interfaceAccountEntityDao
-
findSharedAccounts
public List<AccountEntity> findSharedAccounts(String queryString, CriteriaSearchConfiguration criteria, String name, String system)
Internal implementation
-
propagateChanges
public void propagateChanges(AccountEntity account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:AccountEntityDaoOperation propagateChanges- Specified by:
propagateChangesin interfaceAccountEntityDao- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handlePropagateChanges
protected abstract void handlePropagateChanges(AccountEntity account) throws Exception
- Throws:
Exception
-
removeFromCache
public void removeFromCache(AccountEntity entity) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:AccountEntityDaoOperation removeFromCache- Specified by:
removeFromCachein interfaceAccountEntityDao- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleRemoveFromCache
protected abstract void handleRemoveFromCache(AccountEntity entity) throws Exception
- Throws:
Exception
-
update
public void update(AccountEntity entity, String auditType) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:AccountEntityDaoOperation update- Specified by:
updatein interfaceAccountEntityDao- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdate
protected abstract void handleUpdate(AccountEntity entity, String auditType) throws Exception
- Throws:
Exception
-
toAccount
public void toAccount(AccountEntity source, com.soffid.iam.api.Account target)
Copy data toAccountobject- Specified by:
toAccountin interfaceAccountEntityDao
-
toAccount
public com.soffid.iam.api.Account toAccount(AccountEntity entity)
Transforms toAccountobject- Specified by:
toAccountin interfaceAccountEntityDao
-
toAccountList
public List<com.soffid.iam.api.Account> toAccountList(Collection<AccountEntity> instances)
Transforms toAccountlist- Specified by:
toAccountListin interfaceAccountEntityDao
-
accountToEntity
public void accountToEntity(com.soffid.iam.api.Account source, AccountEntity target, boolean copyIfNull)Copy data fromAccountobject- Specified by:
accountToEntityin interfaceAccountEntityDao
-
accountToEntity
public AccountEntity accountToEntity(com.soffid.iam.api.Account instance)
Transforms fromAccountobject- Specified by:
accountToEntityin interfaceAccountEntityDao
-
accountToEntityList
public List<AccountEntity> accountToEntityList(Collection<com.soffid.iam.api.Account> instances)
Transforms fromAccountlist- Specified by:
accountToEntityListin interfaceAccountEntityDao
-
newAccountEntity
public AccountEntity newAccountEntity()
Creates an instance ofAccountEntity.- Specified by:
newAccountEntityin interfaceAccountEntityDao
-
load
public AccountEntity load(Long id)
Loads an instance ofAccountEntityfrom the persistent store.- Specified by:
loadin interfaceAccountEntityDao
-
loadAll
public List<AccountEntity> loadAll()
Loads all instances ofAccountEntityfrom the persistent store.- Specified by:
loadAllin interfaceAccountEntityDao
-
create
public void create(AccountEntity entity)
Adds an instance ofAccountEntityto the persistent store.- Specified by:
createin interfaceAccountEntityDao
-
update
public void update(AccountEntity entity)
Updates an instance ofAccountEntityat the persistent store.- Specified by:
updatein interfaceAccountEntityDao
-
remove
public void remove(AccountEntity entity)
Removes an instance ofAccountEntityfrom the persistent store.- Specified by:
removein interfaceAccountEntityDao
-
create
public void create(Collection<? extends AccountEntity> entities)
Creates a collection ofAccountEntityand adds it to the persistent store.- Specified by:
createin interfaceAccountEntityDao
-
update
public void update(Collection<? extends AccountEntity> entities)
Updates a collection ofAccountEntityin the persistent store.- Specified by:
updatein interfaceAccountEntityDao
-
remove
public void remove(Collection<? extends AccountEntity> entities)
Removes a collection ofAccountEntityfrom the persistent store.- Specified by:
removein interfaceAccountEntityDao
-
remove
public void remove(Long id)
Removes an instance ofAccountEntityfrom the persistent store.- Specified by:
removein interfaceAccountEntityDao
-
query
public List<AccountEntity> query(String queryString, Parameter[] parameters)
Query ofAccountEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
queryin interfaceAccountEntityDao
-
query
public List<AccountEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofAccountEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return- Specified by:
queryin interfaceAccountEntityDao
-
-