Package com.soffid.iam.model
Class SamlRequestEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.SamlRequestEntityDaoBase
-
- All Implemented Interfaces:
SamlRequestEntityDao,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
SamlRequestEntityDaoImpl
public abstract class SamlRequestEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements SamlRequestEntityDao
DAO Base for Entity SamlRequestEntity
-
-
Constructor Summary
Constructors Constructor Description SamlRequestEntityDaoBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcreate(SamlRequestEntity entity)Adds an instance ofSamlRequestEntityto the persistent store.voidcreate(Collection<? extends SamlRequestEntity> entities)Creates a collection ofSamlRequestEntityand adds it to the persistent store.voiddeleteExpired()Operation deleteExpiredSamlRequestEntityfindByExternalId(CriteriaSearchConfiguration criteria, String externalId)CriteriaSearchConfiguration implementationSamlRequestEntityfindByExternalId(String externalId)Operation findByExternalIdSamlRequestEntityfindByExternalId(String queryString, CriteriaSearchConfiguration criteria, String externalId)Internal implementationCollection<SamlRequestEntity>findExpired(CriteriaSearchConfiguration criteria, Date d)CriteriaSearchConfiguration implementationCollection<SamlRequestEntity>findExpired(String queryString, CriteriaSearchConfiguration criteria, Date d)Internal implementationCollection<SamlRequestEntity>findExpired(Date d)Operation findExpiredTenantEntityDaogetTenantEntityDao()Gets reference totenantEntityDao.protected abstract voidhandleDeleteExpired()SamlRequestEntityload(Long id)Loads an instance ofSamlRequestEntityfrom the persistent store.List<SamlRequestEntity>loadAll()Loads all instances ofSamlRequestEntityfrom the persistent store.SamlRequestEntitynewSamlRequestEntity()Creates an instance ofSamlRequestEntity.List<SamlRequestEntity>query(String queryString, Parameter[] parameters)Query ofSamlRequestEntityfrom the persistent store.List<SamlRequestEntity>query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofSamlRequestEntityfrom the persistent store.voidremove(SamlRequestEntity entity)Removes an instance ofSamlRequestEntityfrom the persistent store.voidremove(Long id)Removes an instance ofSamlRequestEntityfrom the persistent store.voidremove(Collection<? extends SamlRequestEntity> entities)Removes a collection ofSamlRequestEntityfrom the persistent store.voidsetTenantEntityDao(TenantEntityDao tenantEntityDao)Sets reference totenantEntityDao.voidupdate(SamlRequestEntity entity)Updates an instance ofSamlRequestEntityat the persistent store.voidupdate(Collection<? extends SamlRequestEntity> entities)Updates a collection ofSamlRequestEntityin 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
-
setTenantEntityDao
public void setTenantEntityDao(TenantEntityDao tenantEntityDao)
Sets reference totenantEntityDao.
-
getTenantEntityDao
public TenantEntityDao getTenantEntityDao()
Gets reference totenantEntityDao.
-
findByExternalId
public SamlRequestEntity findByExternalId(String externalId)
Operation findByExternalId- Specified by:
findByExternalIdin interfaceSamlRequestEntityDao- Parameters:
externalId-- Returns:
-
findByExternalId
public SamlRequestEntity findByExternalId(CriteriaSearchConfiguration criteria, String externalId)
CriteriaSearchConfiguration implementation- Specified by:
findByExternalIdin interfaceSamlRequestEntityDao
-
findByExternalId
public SamlRequestEntity findByExternalId(String queryString, CriteriaSearchConfiguration criteria, String externalId)
Internal implementation
-
findExpired
public Collection<SamlRequestEntity> findExpired(Date d)
Operation findExpired- Specified by:
findExpiredin interfaceSamlRequestEntityDao- Parameters:
d-- Returns:
-
findExpired
public Collection<SamlRequestEntity> findExpired(CriteriaSearchConfiguration criteria, Date d)
CriteriaSearchConfiguration implementation- Specified by:
findExpiredin interfaceSamlRequestEntityDao
-
findExpired
public Collection<SamlRequestEntity> findExpired(String queryString, CriteriaSearchConfiguration criteria, Date d)
Internal implementation
-
deleteExpired
public void deleteExpired() throws es.caib.seycon.ng.exception.InternalErrorExceptionDescription copied from interface:SamlRequestEntityDaoOperation deleteExpired- Specified by:
deleteExpiredin interfaceSamlRequestEntityDao- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleDeleteExpired
protected abstract void handleDeleteExpired() throws Exception- Throws:
Exception
-
newSamlRequestEntity
public SamlRequestEntity newSamlRequestEntity()
Creates an instance ofSamlRequestEntity.- Specified by:
newSamlRequestEntityin interfaceSamlRequestEntityDao
-
load
public SamlRequestEntity load(Long id)
Loads an instance ofSamlRequestEntityfrom the persistent store.- Specified by:
loadin interfaceSamlRequestEntityDao
-
loadAll
public List<SamlRequestEntity> loadAll()
Loads all instances ofSamlRequestEntityfrom the persistent store.- Specified by:
loadAllin interfaceSamlRequestEntityDao
-
create
public void create(SamlRequestEntity entity)
Adds an instance ofSamlRequestEntityto the persistent store.- Specified by:
createin interfaceSamlRequestEntityDao
-
update
public void update(SamlRequestEntity entity)
Updates an instance ofSamlRequestEntityat the persistent store.- Specified by:
updatein interfaceSamlRequestEntityDao
-
remove
public void remove(SamlRequestEntity entity)
Removes an instance ofSamlRequestEntityfrom the persistent store.- Specified by:
removein interfaceSamlRequestEntityDao
-
create
public void create(Collection<? extends SamlRequestEntity> entities)
Creates a collection ofSamlRequestEntityand adds it to the persistent store.- Specified by:
createin interfaceSamlRequestEntityDao
-
update
public void update(Collection<? extends SamlRequestEntity> entities)
Updates a collection ofSamlRequestEntityin the persistent store.- Specified by:
updatein interfaceSamlRequestEntityDao
-
remove
public void remove(Collection<? extends SamlRequestEntity> entities)
Removes a collection ofSamlRequestEntityfrom the persistent store.- Specified by:
removein interfaceSamlRequestEntityDao
-
remove
public void remove(Long id)
Removes an instance ofSamlRequestEntityfrom the persistent store.- Specified by:
removein interfaceSamlRequestEntityDao
-
query
public List<SamlRequestEntity> query(String queryString, Parameter[] parameters)
Query ofSamlRequestEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
queryin interfaceSamlRequestEntityDao
-
query
public List<SamlRequestEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofSamlRequestEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return- Specified by:
queryin interfaceSamlRequestEntityDao
-
-