Package com.soffid.iam.model
Interface StatsEntityDao
-
- All Known Implementing Classes:
StatsEntityDaoBase,StatsEntityDaoImpl
public interface StatsEntityDaoDAO for Entity StatsEntity- See Also:
StatsEntity
-
-
Method Summary
All Methods Instance Methods Abstract 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 finderCollection<StatsEntity>findByName(String name, String since, String until)Operation findByNameStatsEntityload(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 query, Parameter[] parameters)Query ofStatsEntityfrom the persistent store.List<StatsEntity>query(String query, 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.voidupdate(StatsEntity entity)Updates an instance ofStatsEntityat the persistent store.voidupdate(Collection<? extends StatsEntity> entities)Updates a collection ofStatsEntityin the persistent store.
-
-
-
Method Detail
-
findByName
Collection<StatsEntity> findByName(String name, String since, String until)
Operation findByName- Parameters:
name-since-until-- Returns:
-
findByName
Collection<StatsEntity> findByName(CriteriaSearchConfiguration criteria, String name, String since, String until)
CriteriaSearchConfiguration finder
-
purge
void purge(int days) throws es.caib.seycon.ng.exception.InternalErrorExceptionOperation purge- Parameters:
days-- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
newStatsEntity
StatsEntity newStatsEntity()
Creates an instance ofStatsEntity.
-
create
void create(StatsEntity entity)
Adds an instance ofStatsEntityto the persistent store.
-
update
void update(StatsEntity entity)
Updates an instance ofStatsEntityat the persistent store.
-
remove
void remove(StatsEntity entity)
Removes an instance ofStatsEntityfrom the persistent store.
-
load
StatsEntity load(Long id)
Loads an instance ofStatsEntityfrom the persistent store.
-
loadAll
List<StatsEntity> loadAll()
Loads all instances ofStatsEntityfrom the persistent store.
-
create
void create(Collection<? extends StatsEntity> entities)
Creates a collection ofStatsEntityand adds it to the persistent store.
-
update
void update(Collection<? extends StatsEntity> entities)
Updates a collection ofStatsEntityin the persistent store.
-
remove
void remove(Collection<? extends StatsEntity> entities)
Removes a collection ofStatsEntityfrom the persistent store.
-
remove
void remove(Long id)
Removes an instance ofStatsEntityfrom the persistent store.
-
query
List<StatsEntity> query(String query, Parameter[] parameters)
Query ofStatsEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters
-
query
List<StatsEntity> query(String query, 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
-
-