Package com.soffid.iam.model
Class StatsEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.StatsEntityDaoBase
-
- All Implemented Interfaces:
StatsEntityDao,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
StatsEntityDaoImpl
public abstract class StatsEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements StatsEntityDao
DAO Base for Entity StatsEntity
-
-
Constructor Summary
Constructors Constructor Description StatsEntityDaoBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcreate(StatsEntity entity)Adds an instance ofStatsEntityto the persistent store.voidcreate(Collection<? extends StatsEntity> entities)Creates a collection ofStatsEntityand adds it to the persistent store.Collection<StatsEntity>findByName(CriteriaSearchConfiguration criteria, String name, String since, String until)CriteriaSearchConfiguration implementationCollection<StatsEntity>findByName(String queryString, CriteriaSearchConfiguration criteria, String name, String since, String until)Internal implementationCollection<StatsEntity>findByName(String name, String since, String until)Operation findByNameTenantEntityDaogetTenantEntityDao()Gets reference totenantEntityDao.protected abstract voidhandlePurge(int days)StatsEntityload(Long id)Loads an instance ofStatsEntityfrom the persistent store.List<StatsEntity>loadAll()Loads all instances ofStatsEntityfrom the persistent store.StatsEntitynewStatsEntity()Creates an instance ofStatsEntity.voidpurge(int days)Operation purgeList<StatsEntity>query(String queryString, Parameter[] parameters)Query ofStatsEntityfrom the persistent store.List<StatsEntity>query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofStatsEntityfrom the persistent store.voidremove(StatsEntity entity)Removes an instance ofStatsEntityfrom the persistent store.voidremove(Long id)Removes an instance ofStatsEntityfrom the persistent store.voidremove(Collection<? extends StatsEntity> entities)Removes a collection ofStatsEntityfrom the persistent store.voidsetTenantEntityDao(TenantEntityDao tenantEntityDao)Sets reference totenantEntityDao.voidupdate(StatsEntity entity)Updates an instance ofStatsEntityat the persistent store.voidupdate(Collection<? extends StatsEntity> entities)Updates a collection ofStatsEntityin 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.
-
findByName
public Collection<StatsEntity> findByName(String name, String since, String until)
Operation findByName- Specified by:
findByNamein interfaceStatsEntityDao- Parameters:
name-since-until-- Returns:
-
findByName
public Collection<StatsEntity> findByName(CriteriaSearchConfiguration criteria, String name, String since, String until)
CriteriaSearchConfiguration implementation- Specified by:
findByNamein interfaceStatsEntityDao
-
findByName
public Collection<StatsEntity> findByName(String queryString, CriteriaSearchConfiguration criteria, String name, String since, String until)
Internal implementation
-
purge
public void purge(int days) throws es.caib.seycon.ng.exception.InternalErrorExceptionDescription copied from interface:StatsEntityDaoOperation purge- Specified by:
purgein interfaceStatsEntityDao- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
newStatsEntity
public StatsEntity newStatsEntity()
Creates an instance ofStatsEntity.- Specified by:
newStatsEntityin interfaceStatsEntityDao
-
load
public StatsEntity load(Long id)
Loads an instance ofStatsEntityfrom the persistent store.- Specified by:
loadin interfaceStatsEntityDao
-
loadAll
public List<StatsEntity> loadAll()
Loads all instances ofStatsEntityfrom the persistent store.- Specified by:
loadAllin interfaceStatsEntityDao
-
create
public void create(StatsEntity entity)
Adds an instance ofStatsEntityto the persistent store.- Specified by:
createin interfaceStatsEntityDao
-
update
public void update(StatsEntity entity)
Updates an instance ofStatsEntityat the persistent store.- Specified by:
updatein interfaceStatsEntityDao
-
remove
public void remove(StatsEntity entity)
Removes an instance ofStatsEntityfrom the persistent store.- Specified by:
removein interfaceStatsEntityDao
-
create
public void create(Collection<? extends StatsEntity> entities)
Creates a collection ofStatsEntityand adds it to the persistent store.- Specified by:
createin interfaceStatsEntityDao
-
update
public void update(Collection<? extends StatsEntity> entities)
Updates a collection ofStatsEntityin the persistent store.- Specified by:
updatein interfaceStatsEntityDao
-
remove
public void remove(Collection<? extends StatsEntity> entities)
Removes a collection ofStatsEntityfrom the persistent store.- Specified by:
removein interfaceStatsEntityDao
-
remove
public void remove(Long id)
Removes an instance ofStatsEntityfrom the persistent store.- Specified by:
removein interfaceStatsEntityDao
-
query
public List<StatsEntity> query(String queryString, Parameter[] parameters)
Query ofStatsEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
queryin interfaceStatsEntityDao
-
query
public List<StatsEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofStatsEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return- Specified by:
queryin interfaceStatsEntityDao
-
-