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 void
create(SamlRequestEntity entity)
Adds an instance ofSamlRequestEntity
to the persistent store.void
create(Collection<? extends SamlRequestEntity> entities)
Creates a collection ofSamlRequestEntity
and adds it to the persistent store.void
deleteExpired()
Operation deleteExpiredSamlRequestEntity
findByExternalId(CriteriaSearchConfiguration criteria, String externalId)
CriteriaSearchConfiguration implementationSamlRequestEntity
findByExternalId(String externalId)
Operation findByExternalIdSamlRequestEntity
findByExternalId(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 findExpiredTenantEntityDao
getTenantEntityDao()
Gets reference totenantEntityDao
.protected abstract void
handleDeleteExpired()
SamlRequestEntity
load(Long id)
Loads an instance ofSamlRequestEntity
from the persistent store.List<SamlRequestEntity>
loadAll()
Loads all instances ofSamlRequestEntity
from the persistent store.SamlRequestEntity
newSamlRequestEntity()
Creates an instance ofSamlRequestEntity
.List<SamlRequestEntity>
query(String queryString, Parameter[] parameters)
Query ofSamlRequestEntity
from the persistent store.List<SamlRequestEntity>
query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofSamlRequestEntity
from the persistent store.void
remove(SamlRequestEntity entity)
Removes an instance ofSamlRequestEntity
from the persistent store.void
remove(Long id)
Removes an instance ofSamlRequestEntity
from the persistent store.void
remove(Collection<? extends SamlRequestEntity> entities)
Removes a collection ofSamlRequestEntity
from the persistent store.void
setTenantEntityDao(TenantEntityDao tenantEntityDao)
Sets reference totenantEntityDao
.void
update(SamlRequestEntity entity)
Updates an instance ofSamlRequestEntity
at the persistent store.void
update(Collection<? extends SamlRequestEntity> entities)
Updates a collection ofSamlRequestEntity
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
-
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:
findByExternalId
in interfaceSamlRequestEntityDao
- Parameters:
externalId
-- Returns:
-
findByExternalId
public SamlRequestEntity findByExternalId(CriteriaSearchConfiguration criteria, String externalId)
CriteriaSearchConfiguration implementation- Specified by:
findByExternalId
in interfaceSamlRequestEntityDao
-
findByExternalId
public SamlRequestEntity findByExternalId(String queryString, CriteriaSearchConfiguration criteria, String externalId)
Internal implementation
-
findExpired
public Collection<SamlRequestEntity> findExpired(Date d)
Operation findExpired- Specified by:
findExpired
in interfaceSamlRequestEntityDao
- Parameters:
d
-- Returns:
-
findExpired
public Collection<SamlRequestEntity> findExpired(CriteriaSearchConfiguration criteria, Date d)
CriteriaSearchConfiguration implementation- Specified by:
findExpired
in interfaceSamlRequestEntityDao
-
findExpired
public Collection<SamlRequestEntity> findExpired(String queryString, CriteriaSearchConfiguration criteria, Date d)
Internal implementation
-
deleteExpired
public void deleteExpired() throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:SamlRequestEntityDao
Operation deleteExpired- Specified by:
deleteExpired
in 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:
newSamlRequestEntity
in interfaceSamlRequestEntityDao
-
load
public SamlRequestEntity load(Long id)
Loads an instance ofSamlRequestEntity
from the persistent store.- Specified by:
load
in interfaceSamlRequestEntityDao
-
loadAll
public List<SamlRequestEntity> loadAll()
Loads all instances ofSamlRequestEntity
from the persistent store.- Specified by:
loadAll
in interfaceSamlRequestEntityDao
-
create
public void create(SamlRequestEntity entity)
Adds an instance ofSamlRequestEntity
to the persistent store.- Specified by:
create
in interfaceSamlRequestEntityDao
-
update
public void update(SamlRequestEntity entity)
Updates an instance ofSamlRequestEntity
at the persistent store.- Specified by:
update
in interfaceSamlRequestEntityDao
-
remove
public void remove(SamlRequestEntity entity)
Removes an instance ofSamlRequestEntity
from the persistent store.- Specified by:
remove
in interfaceSamlRequestEntityDao
-
create
public void create(Collection<? extends SamlRequestEntity> entities)
Creates a collection ofSamlRequestEntity
and adds it to the persistent store.- Specified by:
create
in interfaceSamlRequestEntityDao
-
update
public void update(Collection<? extends SamlRequestEntity> entities)
Updates a collection ofSamlRequestEntity
in the persistent store.- Specified by:
update
in interfaceSamlRequestEntityDao
-
remove
public void remove(Collection<? extends SamlRequestEntity> entities)
Removes a collection ofSamlRequestEntity
from the persistent store.- Specified by:
remove
in interfaceSamlRequestEntityDao
-
remove
public void remove(Long id)
Removes an instance ofSamlRequestEntity
from the persistent store.- Specified by:
remove
in interfaceSamlRequestEntityDao
-
query
public List<SamlRequestEntity> query(String queryString, Parameter[] parameters)
Query ofSamlRequestEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
query
in interfaceSamlRequestEntityDao
-
query
public List<SamlRequestEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofSamlRequestEntity
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 interfaceSamlRequestEntityDao
-
-