Package com.soffid.iam.model
Class UserAccountEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.UserAccountEntityDaoBase
-
- All Implemented Interfaces:
UserAccountEntityDao,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
UserAccountEntityDaoImpl
public abstract class UserAccountEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements UserAccountEntityDao
DAO Base for Entity UserAccountEntity
-
-
Constructor Summary
Constructors Constructor Description UserAccountEntityDaoBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcreate(UserAccountEntity entity)Adds an instance ofUserAccountEntityto the persistent store.voidcreate(Collection<? extends UserAccountEntity> entities)Creates a collection ofUserAccountEntityand adds it to the persistent store.UserAccountEntityfindByAccountSystemAndName(CriteriaSearchConfiguration criteria, String account, String systemName, String user)CriteriaSearchConfiguration implementationUserAccountEntityfindByAccountSystemAndName(String queryString, CriteriaSearchConfiguration criteria, String account, String systemName, String user)Internal implementationUserAccountEntityfindByAccountSystemAndName(String account, String systemName, String user)Operation findByAccountSystemAndNameList<UserAccountEntity>findByUserAndDispatcher(CriteriaSearchConfiguration criteria, String user, String dispatcher)CriteriaSearchConfiguration implementationList<UserAccountEntity>findByUserAndDispatcher(String queryString, CriteriaSearchConfiguration criteria, String user, String dispatcher)Internal implementationList<UserAccountEntity>findByUserAndDispatcher(String user, String dispatcher)Operation findByUserAndDispatcherAccountEntityDaogetAccountEntityDao()Gets reference toaccountEntityDao.TaskEntityDaogetTaskEntityDao()Gets reference totasqueEntityDao.UserEntityDaogetUserEntityDao()Gets reference tousuariEntityDao.protected abstract voidhandlePropagateChanges(UserAccountEntity account)UserAccountEntityload(Long id)Loads an instance ofUserAccountEntityfrom the persistent store.List<UserAccountEntity>loadAll()Loads all instances ofUserAccountEntityfrom the persistent store.UserAccountEntitynewUserAccountEntity()Creates an instance ofUserAccountEntity.voidpropagateChanges(UserAccountEntity account)Operation propagateChangesList<UserAccountEntity>query(String queryString, Parameter[] parameters)Query ofUserAccountEntityfrom the persistent store.List<UserAccountEntity>query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofUserAccountEntityfrom the persistent store.voidremove(UserAccountEntity entity)Removes an instance ofUserAccountEntityfrom the persistent store.voidremove(Long id)Removes an instance ofUserAccountEntityfrom the persistent store.voidremove(Collection<? extends UserAccountEntity> entities)Removes a collection ofUserAccountEntityfrom the persistent store.voidsetAccountEntityDao(AccountEntityDao accountEntityDao)Sets reference toaccountEntityDao.voidsetTaskEntityDao(TaskEntityDao tasqueEntityDao)Sets reference totasqueEntityDao.voidsetUserEntityDao(UserEntityDao usuariEntityDao)Sets reference tousuariEntityDao.com.soffid.iam.api.UserAccounttoUserAccount(UserAccountEntity entity)Transforms toUserAccountobjectvoidtoUserAccount(UserAccountEntity source, com.soffid.iam.api.UserAccount target)Copy data toUserAccountobjectList<com.soffid.iam.api.UserAccount>toUserAccountList(Collection<UserAccountEntity> instances)Transforms toUserAccountlistvoidupdate(UserAccountEntity entity)Updates an instance ofUserAccountEntityat the persistent store.voidupdate(Collection<? extends UserAccountEntity> entities)Updates a collection ofUserAccountEntityin the persistent store.voiduserAccountToEntity(com.soffid.iam.api.UserAccount source, UserAccountEntity target, boolean copyIfNull)Copy data fromUserAccountobjectList<UserAccountEntity>userAccountToEntityList(Collection<com.soffid.iam.api.UserAccount> instances)Transforms fromUserAccountlist-
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.soffid.iam.model.UserAccountEntityDao
userAccountToEntity
-
-
-
-
Method Detail
-
setAccountEntityDao
public void setAccountEntityDao(AccountEntityDao accountEntityDao)
Sets reference toaccountEntityDao.
-
getAccountEntityDao
public AccountEntityDao getAccountEntityDao()
Gets reference toaccountEntityDao.
-
setTaskEntityDao
public void setTaskEntityDao(TaskEntityDao tasqueEntityDao)
Sets reference totasqueEntityDao.
-
getTaskEntityDao
public TaskEntityDao getTaskEntityDao()
Gets reference totasqueEntityDao.
-
setUserEntityDao
public void setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao.
-
getUserEntityDao
public UserEntityDao getUserEntityDao()
Gets reference tousuariEntityDao.
-
findByAccountSystemAndName
public UserAccountEntity findByAccountSystemAndName(String account, String systemName, String user)
Operation findByAccountSystemAndName- Specified by:
findByAccountSystemAndNamein interfaceUserAccountEntityDao- Parameters:
account-systemName-user-- Returns:
-
findByAccountSystemAndName
public UserAccountEntity findByAccountSystemAndName(CriteriaSearchConfiguration criteria, String account, String systemName, String user)
CriteriaSearchConfiguration implementation- Specified by:
findByAccountSystemAndNamein interfaceUserAccountEntityDao
-
findByAccountSystemAndName
public UserAccountEntity findByAccountSystemAndName(String queryString, CriteriaSearchConfiguration criteria, String account, String systemName, String user)
Internal implementation
-
findByUserAndDispatcher
public List<UserAccountEntity> findByUserAndDispatcher(String user, String dispatcher)
Operation findByUserAndDispatcher- Specified by:
findByUserAndDispatcherin interfaceUserAccountEntityDao- Parameters:
user-dispatcher-- Returns:
-
findByUserAndDispatcher
public List<UserAccountEntity> findByUserAndDispatcher(CriteriaSearchConfiguration criteria, String user, String dispatcher)
CriteriaSearchConfiguration implementation- Specified by:
findByUserAndDispatcherin interfaceUserAccountEntityDao
-
findByUserAndDispatcher
public List<UserAccountEntity> findByUserAndDispatcher(String queryString, CriteriaSearchConfiguration criteria, String user, String dispatcher)
Internal implementation
-
propagateChanges
public void propagateChanges(UserAccountEntity account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:UserAccountEntityDaoOperation propagateChanges- Specified by:
propagateChangesin interfaceUserAccountEntityDao- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handlePropagateChanges
protected abstract void handlePropagateChanges(UserAccountEntity account) throws Exception
- Throws:
Exception
-
toUserAccount
public void toUserAccount(UserAccountEntity source, com.soffid.iam.api.UserAccount target)
Copy data toUserAccountobject- Specified by:
toUserAccountin interfaceUserAccountEntityDao
-
toUserAccount
public com.soffid.iam.api.UserAccount toUserAccount(UserAccountEntity entity)
Transforms toUserAccountobject- Specified by:
toUserAccountin interfaceUserAccountEntityDao
-
toUserAccountList
public List<com.soffid.iam.api.UserAccount> toUserAccountList(Collection<UserAccountEntity> instances)
Transforms toUserAccountlist- Specified by:
toUserAccountListin interfaceUserAccountEntityDao
-
userAccountToEntity
public void userAccountToEntity(com.soffid.iam.api.UserAccount source, UserAccountEntity target, boolean copyIfNull)Copy data fromUserAccountobject- Specified by:
userAccountToEntityin interfaceUserAccountEntityDao
-
userAccountToEntityList
public List<UserAccountEntity> userAccountToEntityList(Collection<com.soffid.iam.api.UserAccount> instances)
Transforms fromUserAccountlist- Specified by:
userAccountToEntityListin interfaceUserAccountEntityDao
-
newUserAccountEntity
public UserAccountEntity newUserAccountEntity()
Creates an instance ofUserAccountEntity.- Specified by:
newUserAccountEntityin interfaceUserAccountEntityDao
-
load
public UserAccountEntity load(Long id)
Loads an instance ofUserAccountEntityfrom the persistent store.- Specified by:
loadin interfaceUserAccountEntityDao
-
loadAll
public List<UserAccountEntity> loadAll()
Loads all instances ofUserAccountEntityfrom the persistent store.- Specified by:
loadAllin interfaceUserAccountEntityDao
-
create
public void create(UserAccountEntity entity)
Adds an instance ofUserAccountEntityto the persistent store.- Specified by:
createin interfaceUserAccountEntityDao
-
update
public void update(UserAccountEntity entity)
Updates an instance ofUserAccountEntityat the persistent store.- Specified by:
updatein interfaceUserAccountEntityDao
-
remove
public void remove(UserAccountEntity entity)
Removes an instance ofUserAccountEntityfrom the persistent store.- Specified by:
removein interfaceUserAccountEntityDao
-
create
public void create(Collection<? extends UserAccountEntity> entities)
Creates a collection ofUserAccountEntityand adds it to the persistent store.- Specified by:
createin interfaceUserAccountEntityDao
-
update
public void update(Collection<? extends UserAccountEntity> entities)
Updates a collection ofUserAccountEntityin the persistent store.- Specified by:
updatein interfaceUserAccountEntityDao
-
remove
public void remove(Collection<? extends UserAccountEntity> entities)
Removes a collection ofUserAccountEntityfrom the persistent store.- Specified by:
removein interfaceUserAccountEntityDao
-
remove
public void remove(Long id)
Removes an instance ofUserAccountEntityfrom the persistent store.- Specified by:
removein interfaceUserAccountEntityDao
-
query
public List<UserAccountEntity> query(String queryString, Parameter[] parameters)
Query ofUserAccountEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
queryin interfaceUserAccountEntityDao
-
query
public List<UserAccountEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofUserAccountEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return- Specified by:
queryin interfaceUserAccountEntityDao
-
-