Package com.soffid.iam.model
Class SamlAssertionEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.SamlAssertionEntityDaoBase
-
- All Implemented Interfaces:
SamlAssertionEntityDao,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
SamlAssertionEntityDaoImpl
public abstract class SamlAssertionEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements SamlAssertionEntityDao
DAO Base for Entity SamlAssertionEntity
-
-
Constructor Summary
Constructors Constructor Description SamlAssertionEntityDaoBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcreate(SamlAssertionEntity entity)Adds an instance ofSamlAssertionEntityto the persistent store.voidcreate(Collection<? extends SamlAssertionEntity> entities)Creates a collection ofSamlAssertionEntityand adds it to the persistent store.voiddeleteExpired()Operation deleteExpiredSamlAssertionEntityfindByExternalId(CriteriaSearchConfiguration criteria, String externalId)CriteriaSearchConfiguration implementationSamlAssertionEntityfindByExternalId(String externalId)Operation findByExternalIdSamlAssertionEntityfindByExternalId(String queryString, CriteriaSearchConfiguration criteria, String externalId)Internal implementationCollection<SamlAssertionEntity>findExpired(CriteriaSearchConfiguration criteria, Date d)CriteriaSearchConfiguration implementationCollection<SamlAssertionEntity>findExpired(String queryString, CriteriaSearchConfiguration criteria, Date d)Internal implementationCollection<SamlAssertionEntity>findExpired(Date d)Operation findExpiredTenantEntityDaogetTenantEntityDao()Gets reference totenantEntityDao.protected abstract voidhandleDeleteExpired()SamlAssertionEntityload(Long id)Loads an instance ofSamlAssertionEntityfrom the persistent store.List<SamlAssertionEntity>loadAll()Loads all instances ofSamlAssertionEntityfrom the persistent store.SamlAssertionEntitynewSamlAssertionEntity()Creates an instance ofSamlAssertionEntity.List<SamlAssertionEntity>query(String queryString, Parameter[] parameters)Query ofSamlAssertionEntityfrom the persistent store.List<SamlAssertionEntity>query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofSamlAssertionEntityfrom the persistent store.voidremove(SamlAssertionEntity entity)Removes an instance ofSamlAssertionEntityfrom the persistent store.voidremove(Long id)Removes an instance ofSamlAssertionEntityfrom the persistent store.voidremove(Collection<? extends SamlAssertionEntity> entities)Removes a collection ofSamlAssertionEntityfrom the persistent store.voidsetTenantEntityDao(TenantEntityDao tenantEntityDao)Sets reference totenantEntityDao.voidupdate(SamlAssertionEntity entity)Updates an instance ofSamlAssertionEntityat the persistent store.voidupdate(Collection<? extends SamlAssertionEntity> entities)Updates a collection ofSamlAssertionEntityin 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 SamlAssertionEntity findByExternalId(String externalId)
Operation findByExternalId- Specified by:
findByExternalIdin interfaceSamlAssertionEntityDao- Parameters:
externalId-- Returns:
-
findByExternalId
public SamlAssertionEntity findByExternalId(CriteriaSearchConfiguration criteria, String externalId)
CriteriaSearchConfiguration implementation- Specified by:
findByExternalIdin interfaceSamlAssertionEntityDao
-
findByExternalId
public SamlAssertionEntity findByExternalId(String queryString, CriteriaSearchConfiguration criteria, String externalId)
Internal implementation
-
findExpired
public Collection<SamlAssertionEntity> findExpired(Date d)
Operation findExpired- Specified by:
findExpiredin interfaceSamlAssertionEntityDao- Parameters:
d-- Returns:
-
findExpired
public Collection<SamlAssertionEntity> findExpired(CriteriaSearchConfiguration criteria, Date d)
CriteriaSearchConfiguration implementation- Specified by:
findExpiredin interfaceSamlAssertionEntityDao
-
findExpired
public Collection<SamlAssertionEntity> findExpired(String queryString, CriteriaSearchConfiguration criteria, Date d)
Internal implementation
-
deleteExpired
public void deleteExpired() throws es.caib.seycon.ng.exception.InternalErrorExceptionDescription copied from interface:SamlAssertionEntityDaoOperation deleteExpired- Specified by:
deleteExpiredin interfaceSamlAssertionEntityDao- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleDeleteExpired
protected abstract void handleDeleteExpired() throws Exception- Throws:
Exception
-
newSamlAssertionEntity
public SamlAssertionEntity newSamlAssertionEntity()
Creates an instance ofSamlAssertionEntity.- Specified by:
newSamlAssertionEntityin interfaceSamlAssertionEntityDao
-
load
public SamlAssertionEntity load(Long id)
Loads an instance ofSamlAssertionEntityfrom the persistent store.- Specified by:
loadin interfaceSamlAssertionEntityDao
-
loadAll
public List<SamlAssertionEntity> loadAll()
Loads all instances ofSamlAssertionEntityfrom the persistent store.- Specified by:
loadAllin interfaceSamlAssertionEntityDao
-
create
public void create(SamlAssertionEntity entity)
Adds an instance ofSamlAssertionEntityto the persistent store.- Specified by:
createin interfaceSamlAssertionEntityDao
-
update
public void update(SamlAssertionEntity entity)
Updates an instance ofSamlAssertionEntityat the persistent store.- Specified by:
updatein interfaceSamlAssertionEntityDao
-
remove
public void remove(SamlAssertionEntity entity)
Removes an instance ofSamlAssertionEntityfrom the persistent store.- Specified by:
removein interfaceSamlAssertionEntityDao
-
create
public void create(Collection<? extends SamlAssertionEntity> entities)
Creates a collection ofSamlAssertionEntityand adds it to the persistent store.- Specified by:
createin interfaceSamlAssertionEntityDao
-
update
public void update(Collection<? extends SamlAssertionEntity> entities)
Updates a collection ofSamlAssertionEntityin the persistent store.- Specified by:
updatein interfaceSamlAssertionEntityDao
-
remove
public void remove(Collection<? extends SamlAssertionEntity> entities)
Removes a collection ofSamlAssertionEntityfrom the persistent store.- Specified by:
removein interfaceSamlAssertionEntityDao
-
remove
public void remove(Long id)
Removes an instance ofSamlAssertionEntityfrom the persistent store.- Specified by:
removein interfaceSamlAssertionEntityDao
-
query
public List<SamlAssertionEntity> query(String queryString, Parameter[] parameters)
Query ofSamlAssertionEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
queryin interfaceSamlAssertionEntityDao
-
query
public List<SamlAssertionEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofSamlAssertionEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return- Specified by:
queryin interfaceSamlAssertionEntityDao
-
-