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