Package com.soffid.iam.model
Interface LuceneIndexEntityDao
-
- All Known Implementing Classes:
LuceneIndexEntityDaoBase,LuceneIndexEntityDaoImpl
public interface LuceneIndexEntityDaoDAO for Entity LuceneIndexEntity- See Also:
LuceneIndexEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreate(LuceneIndexEntity entity)Adds an instance ofLuceneIndexEntityto the persistent store.voidcreate(Collection<? extends LuceneIndexEntity> entities)Creates a collection ofLuceneIndexEntityand adds it to the persistent store.LuceneIndexEntityfindByName(CriteriaSearchConfiguration criteria, String name)CriteriaSearchConfiguration finderLuceneIndexEntityfindByName(String name)Operation findByNameLuceneIndexEntityload(Long id)Loads an instance ofLuceneIndexEntityfrom the persistent store.List<LuceneIndexEntity>loadAll()Loads all instances ofLuceneIndexEntityfrom the persistent store.voidlock(LuceneIndexEntity entity)Operation lockLuceneIndexEntitynewLuceneIndexEntity()Creates an instance ofLuceneIndexEntity.List<LuceneIndexEntity>query(String query, Parameter[] parameters)Query ofLuceneIndexEntityfrom the persistent store.List<LuceneIndexEntity>query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofLuceneIndexEntityfrom the persistent store.voidrefresh(LuceneIndexEntity entity)Operation refreshvoidremove(LuceneIndexEntity entity)Removes an instance ofLuceneIndexEntityfrom the persistent store.voidremove(Long id)Removes an instance ofLuceneIndexEntityfrom the persistent store.voidremove(Collection<? extends LuceneIndexEntity> entities)Removes a collection ofLuceneIndexEntityfrom the persistent store.voidupdate(LuceneIndexEntity entity)Updates an instance ofLuceneIndexEntityat the persistent store.voidupdate(Collection<? extends LuceneIndexEntity> entities)Updates a collection ofLuceneIndexEntityin the persistent store.
-
-
-
Method Detail
-
findByName
LuceneIndexEntity findByName(String name)
Operation findByName- Parameters:
name-- Returns:
-
findByName
LuceneIndexEntity findByName(CriteriaSearchConfiguration criteria, String name)
CriteriaSearchConfiguration finder
-
lock
void lock(LuceneIndexEntity entity) throws es.caib.seycon.ng.exception.InternalErrorException
Operation lock- Parameters:
entity-- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
refresh
void refresh(LuceneIndexEntity entity) throws es.caib.seycon.ng.exception.InternalErrorException
Operation refresh- Parameters:
entity-- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
newLuceneIndexEntity
LuceneIndexEntity newLuceneIndexEntity()
Creates an instance ofLuceneIndexEntity.
-
create
void create(LuceneIndexEntity entity)
Adds an instance ofLuceneIndexEntityto the persistent store.
-
update
void update(LuceneIndexEntity entity)
Updates an instance ofLuceneIndexEntityat the persistent store.
-
remove
void remove(LuceneIndexEntity entity)
Removes an instance ofLuceneIndexEntityfrom the persistent store.
-
load
LuceneIndexEntity load(Long id)
Loads an instance ofLuceneIndexEntityfrom the persistent store.
-
loadAll
List<LuceneIndexEntity> loadAll()
Loads all instances ofLuceneIndexEntityfrom the persistent store.
-
create
void create(Collection<? extends LuceneIndexEntity> entities)
Creates a collection ofLuceneIndexEntityand adds it to the persistent store.
-
update
void update(Collection<? extends LuceneIndexEntity> entities)
Updates a collection ofLuceneIndexEntityin the persistent store.
-
remove
void remove(Collection<? extends LuceneIndexEntity> entities)
Removes a collection ofLuceneIndexEntityfrom the persistent store.
-
remove
void remove(Long id)
Removes an instance ofLuceneIndexEntityfrom the persistent store.
-
query
List<LuceneIndexEntity> query(String query, Parameter[] parameters)
Query ofLuceneIndexEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters
-
query
List<LuceneIndexEntity> query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofLuceneIndexEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return
-
-