Package com.soffid.iam.model
Class PasswordManagerTokenEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.PasswordManagerTokenEntityDaoBase
-
- All Implemented Interfaces:
PasswordManagerTokenEntityDao
,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
PasswordManagerTokenEntityDaoImpl
public abstract class PasswordManagerTokenEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements PasswordManagerTokenEntityDao
DAO Base for Entity PasswordManagerTokenEntity
-
-
Constructor Summary
Constructors Constructor Description PasswordManagerTokenEntityDaoBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
create(PasswordManagerTokenEntity entity)
Adds an instance ofPasswordManagerTokenEntity
to the persistent store.void
create(Collection<? extends PasswordManagerTokenEntity> entities)
Creates a collection ofPasswordManagerTokenEntity
and adds it to the persistent store.void
deleteExpired()
Operation deleteExpiredPasswordManagerTokenEntity
findByOldToken(CriteriaSearchConfiguration criteria, String oldToken)
CriteriaSearchConfiguration implementationPasswordManagerTokenEntity
findByOldToken(String oldToken)
Operation findByOldTokenPasswordManagerTokenEntity
findByOldToken(String queryString, CriteriaSearchConfiguration criteria, String oldToken)
Internal implementationPasswordManagerTokenEntity
findByToken(CriteriaSearchConfiguration criteria, String token)
CriteriaSearchConfiguration implementationPasswordManagerTokenEntity
findByToken(String token)
Operation findByTokenPasswordManagerTokenEntity
findByToken(String queryString, CriteriaSearchConfiguration criteria, String token)
Internal implementationUserEntityDao
getUserEntityDao()
Gets reference tousuariEntityDao
.protected abstract void
handleDeleteExpired()
PasswordManagerTokenEntity
load(Long id)
Loads an instance ofPasswordManagerTokenEntity
from the persistent store.List<PasswordManagerTokenEntity>
loadAll()
Loads all instances ofPasswordManagerTokenEntity
from the persistent store.PasswordManagerTokenEntity
newPasswordManagerTokenEntity()
Creates an instance ofPasswordManagerTokenEntity
.List<PasswordManagerTokenEntity>
query(String queryString, Parameter[] parameters)
Query ofPasswordManagerTokenEntity
from the persistent store.List<PasswordManagerTokenEntity>
query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofPasswordManagerTokenEntity
from the persistent store.void
remove(PasswordManagerTokenEntity entity)
Removes an instance ofPasswordManagerTokenEntity
from the persistent store.void
remove(Long id)
Removes an instance ofPasswordManagerTokenEntity
from the persistent store.void
remove(Collection<? extends PasswordManagerTokenEntity> entities)
Removes a collection ofPasswordManagerTokenEntity
from the persistent store.void
setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao
.void
update(PasswordManagerTokenEntity entity)
Updates an instance ofPasswordManagerTokenEntity
at the persistent store.void
update(Collection<? extends PasswordManagerTokenEntity> entities)
Updates a collection ofPasswordManagerTokenEntity
in 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
-
setUserEntityDao
public void setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao
.
-
getUserEntityDao
public UserEntityDao getUserEntityDao()
Gets reference tousuariEntityDao
.
-
findByOldToken
public PasswordManagerTokenEntity findByOldToken(String oldToken)
Operation findByOldToken- Specified by:
findByOldToken
in interfacePasswordManagerTokenEntityDao
- Parameters:
oldToken
-- Returns:
-
findByOldToken
public PasswordManagerTokenEntity findByOldToken(CriteriaSearchConfiguration criteria, String oldToken)
CriteriaSearchConfiguration implementation- Specified by:
findByOldToken
in interfacePasswordManagerTokenEntityDao
-
findByOldToken
public PasswordManagerTokenEntity findByOldToken(String queryString, CriteriaSearchConfiguration criteria, String oldToken)
Internal implementation
-
findByToken
public PasswordManagerTokenEntity findByToken(String token)
Operation findByToken- Specified by:
findByToken
in interfacePasswordManagerTokenEntityDao
- Parameters:
token
-- Returns:
-
findByToken
public PasswordManagerTokenEntity findByToken(CriteriaSearchConfiguration criteria, String token)
CriteriaSearchConfiguration implementation- Specified by:
findByToken
in interfacePasswordManagerTokenEntityDao
-
findByToken
public PasswordManagerTokenEntity findByToken(String queryString, CriteriaSearchConfiguration criteria, String token)
Internal implementation
-
deleteExpired
public void deleteExpired() throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:PasswordManagerTokenEntityDao
Operation deleteExpired- Specified by:
deleteExpired
in interfacePasswordManagerTokenEntityDao
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleDeleteExpired
protected abstract void handleDeleteExpired() throws Exception
- Throws:
Exception
-
newPasswordManagerTokenEntity
public PasswordManagerTokenEntity newPasswordManagerTokenEntity()
Creates an instance ofPasswordManagerTokenEntity
.- Specified by:
newPasswordManagerTokenEntity
in interfacePasswordManagerTokenEntityDao
-
load
public PasswordManagerTokenEntity load(Long id)
Loads an instance ofPasswordManagerTokenEntity
from the persistent store.- Specified by:
load
in interfacePasswordManagerTokenEntityDao
-
loadAll
public List<PasswordManagerTokenEntity> loadAll()
Loads all instances ofPasswordManagerTokenEntity
from the persistent store.- Specified by:
loadAll
in interfacePasswordManagerTokenEntityDao
-
create
public void create(PasswordManagerTokenEntity entity)
Adds an instance ofPasswordManagerTokenEntity
to the persistent store.- Specified by:
create
in interfacePasswordManagerTokenEntityDao
-
update
public void update(PasswordManagerTokenEntity entity)
Updates an instance ofPasswordManagerTokenEntity
at the persistent store.- Specified by:
update
in interfacePasswordManagerTokenEntityDao
-
remove
public void remove(PasswordManagerTokenEntity entity)
Removes an instance ofPasswordManagerTokenEntity
from the persistent store.- Specified by:
remove
in interfacePasswordManagerTokenEntityDao
-
create
public void create(Collection<? extends PasswordManagerTokenEntity> entities)
Creates a collection ofPasswordManagerTokenEntity
and adds it to the persistent store.- Specified by:
create
in interfacePasswordManagerTokenEntityDao
-
update
public void update(Collection<? extends PasswordManagerTokenEntity> entities)
Updates a collection ofPasswordManagerTokenEntity
in the persistent store.- Specified by:
update
in interfacePasswordManagerTokenEntityDao
-
remove
public void remove(Collection<? extends PasswordManagerTokenEntity> entities)
Removes a collection ofPasswordManagerTokenEntity
from the persistent store.- Specified by:
remove
in interfacePasswordManagerTokenEntityDao
-
remove
public void remove(Long id)
Removes an instance ofPasswordManagerTokenEntity
from the persistent store.- Specified by:
remove
in interfacePasswordManagerTokenEntityDao
-
query
public List<PasswordManagerTokenEntity> query(String queryString, Parameter[] parameters)
Query ofPasswordManagerTokenEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
query
in interfacePasswordManagerTokenEntityDao
-
query
public List<PasswordManagerTokenEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofPasswordManagerTokenEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return- Specified by:
query
in interfacePasswordManagerTokenEntityDao
-
-