Package com.soffid.iam.model
Interface LuceneIndexEntityDao
-
- All Known Implementing Classes:
LuceneIndexEntityDaoBase
,LuceneIndexEntityDaoImpl
public interface LuceneIndexEntityDao
DAO for Entity LuceneIndexEntity- See Also:
LuceneIndexEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
create(LuceneIndexEntity entity)
Adds an instance ofLuceneIndexEntity
to the persistent store.void
create(Collection<? extends LuceneIndexEntity> entities)
Creates a collection ofLuceneIndexEntity
and adds it to the persistent store.LuceneIndexEntity
findByName(CriteriaSearchConfiguration criteria, String name)
CriteriaSearchConfiguration finderLuceneIndexEntity
findByName(String name)
Operation findByNameLuceneIndexEntity
load(Long id)
Loads an instance ofLuceneIndexEntity
from the persistent store.List<LuceneIndexEntity>
loadAll()
Loads all instances ofLuceneIndexEntity
from the persistent store.void
lock(LuceneIndexEntity entity)
Operation lockLuceneIndexEntity
newLuceneIndexEntity()
Creates an instance ofLuceneIndexEntity
.List<LuceneIndexEntity>
query(String query, Parameter[] parameters)
Query ofLuceneIndexEntity
from the persistent store.List<LuceneIndexEntity>
query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofLuceneIndexEntity
from the persistent store.void
refresh(LuceneIndexEntity entity)
Operation refreshvoid
remove(LuceneIndexEntity entity)
Removes an instance ofLuceneIndexEntity
from the persistent store.void
remove(Long id)
Removes an instance ofLuceneIndexEntity
from the persistent store.void
remove(Collection<? extends LuceneIndexEntity> entities)
Removes a collection ofLuceneIndexEntity
from the persistent store.void
update(LuceneIndexEntity entity)
Updates an instance ofLuceneIndexEntity
at the persistent store.void
update(Collection<? extends LuceneIndexEntity> entities)
Updates a collection ofLuceneIndexEntity
in 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 ofLuceneIndexEntity
to the persistent store.
-
update
void update(LuceneIndexEntity entity)
Updates an instance ofLuceneIndexEntity
at the persistent store.
-
remove
void remove(LuceneIndexEntity entity)
Removes an instance ofLuceneIndexEntity
from the persistent store.
-
load
LuceneIndexEntity load(Long id)
Loads an instance ofLuceneIndexEntity
from the persistent store.
-
loadAll
List<LuceneIndexEntity> loadAll()
Loads all instances ofLuceneIndexEntity
from the persistent store.
-
create
void create(Collection<? extends LuceneIndexEntity> entities)
Creates a collection ofLuceneIndexEntity
and adds it to the persistent store.
-
update
void update(Collection<? extends LuceneIndexEntity> entities)
Updates a collection ofLuceneIndexEntity
in the persistent store.
-
remove
void remove(Collection<? extends LuceneIndexEntity> entities)
Removes a collection ofLuceneIndexEntity
from the persistent store.
-
remove
void remove(Long id)
Removes an instance ofLuceneIndexEntity
from the persistent store.
-
query
List<LuceneIndexEntity> query(String query, Parameter[] parameters)
Query ofLuceneIndexEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters
-
query
List<LuceneIndexEntity> query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofLuceneIndexEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return
-
-