Package com.soffid.iam.model
Class LuceneIndexPartEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.LuceneIndexPartEntityDaoBase
-
- All Implemented Interfaces:
LuceneIndexPartEntityDao
,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
LuceneIndexPartEntityDaoImpl
public abstract class LuceneIndexPartEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements LuceneIndexPartEntityDao
DAO Base for Entity LuceneIndexPartEntity
-
-
Constructor Summary
Constructors Constructor Description LuceneIndexPartEntityDaoBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(LuceneIndexPartEntity entity)
Adds an instance ofLuceneIndexPartEntity
to the persistent store.void
create(Collection<? extends LuceneIndexPartEntity> entities)
Creates a collection ofLuceneIndexPartEntity
and adds it to the persistent store.Collection<LuceneIndexPartEntity>
findByIndex(CriteriaSearchConfiguration criteria, Long index)
CriteriaSearchConfiguration implementationCollection<LuceneIndexPartEntity>
findByIndex(Long index)
Operation findByIndexCollection<LuceneIndexPartEntity>
findByIndex(String queryString, CriteriaSearchConfiguration criteria, Long index)
Internal implementationLuceneIndexEntityDao
getLuceneIndexEntityDao()
Gets reference toluceneIndexEntityDao
.TenantEntityDao
getTenantEntityDao()
Gets reference totenantEntityDao
.LuceneIndexPartEntity
load(Long id)
Loads an instance ofLuceneIndexPartEntity
from the persistent store.List<LuceneIndexPartEntity>
loadAll()
Loads all instances ofLuceneIndexPartEntity
from the persistent store.LuceneIndexPartEntity
newLuceneIndexPartEntity()
Creates an instance ofLuceneIndexPartEntity
.List<LuceneIndexPartEntity>
query(String queryString, Parameter[] parameters)
Query ofLuceneIndexPartEntity
from the persistent store.List<LuceneIndexPartEntity>
query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofLuceneIndexPartEntity
from the persistent store.void
remove(LuceneIndexPartEntity entity)
Removes an instance ofLuceneIndexPartEntity
from the persistent store.void
remove(Long id)
Removes an instance ofLuceneIndexPartEntity
from the persistent store.void
remove(Collection<? extends LuceneIndexPartEntity> entities)
Removes a collection ofLuceneIndexPartEntity
from the persistent store.void
setLuceneIndexEntityDao(LuceneIndexEntityDao luceneIndexEntityDao)
Sets reference toluceneIndexEntityDao
.void
setTenantEntityDao(TenantEntityDao tenantEntityDao)
Sets reference totenantEntityDao
.void
update(LuceneIndexPartEntity entity)
Updates an instance ofLuceneIndexPartEntity
at the persistent store.void
update(Collection<? extends LuceneIndexPartEntity> entities)
Updates a collection ofLuceneIndexPartEntity
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
-
setLuceneIndexEntityDao
public void setLuceneIndexEntityDao(LuceneIndexEntityDao luceneIndexEntityDao)
Sets reference toluceneIndexEntityDao
.
-
getLuceneIndexEntityDao
public LuceneIndexEntityDao getLuceneIndexEntityDao()
Gets reference toluceneIndexEntityDao
.
-
setTenantEntityDao
public void setTenantEntityDao(TenantEntityDao tenantEntityDao)
Sets reference totenantEntityDao
.
-
getTenantEntityDao
public TenantEntityDao getTenantEntityDao()
Gets reference totenantEntityDao
.
-
findByIndex
public Collection<LuceneIndexPartEntity> findByIndex(Long index)
Operation findByIndex- Specified by:
findByIndex
in interfaceLuceneIndexPartEntityDao
- Parameters:
index
-- Returns:
-
findByIndex
public Collection<LuceneIndexPartEntity> findByIndex(CriteriaSearchConfiguration criteria, Long index)
CriteriaSearchConfiguration implementation- Specified by:
findByIndex
in interfaceLuceneIndexPartEntityDao
-
findByIndex
public Collection<LuceneIndexPartEntity> findByIndex(String queryString, CriteriaSearchConfiguration criteria, Long index)
Internal implementation
-
newLuceneIndexPartEntity
public LuceneIndexPartEntity newLuceneIndexPartEntity()
Creates an instance ofLuceneIndexPartEntity
.- Specified by:
newLuceneIndexPartEntity
in interfaceLuceneIndexPartEntityDao
-
load
public LuceneIndexPartEntity load(Long id)
Loads an instance ofLuceneIndexPartEntity
from the persistent store.- Specified by:
load
in interfaceLuceneIndexPartEntityDao
-
loadAll
public List<LuceneIndexPartEntity> loadAll()
Loads all instances ofLuceneIndexPartEntity
from the persistent store.- Specified by:
loadAll
in interfaceLuceneIndexPartEntityDao
-
create
public void create(LuceneIndexPartEntity entity)
Adds an instance ofLuceneIndexPartEntity
to the persistent store.- Specified by:
create
in interfaceLuceneIndexPartEntityDao
-
update
public void update(LuceneIndexPartEntity entity)
Updates an instance ofLuceneIndexPartEntity
at the persistent store.- Specified by:
update
in interfaceLuceneIndexPartEntityDao
-
remove
public void remove(LuceneIndexPartEntity entity)
Removes an instance ofLuceneIndexPartEntity
from the persistent store.- Specified by:
remove
in interfaceLuceneIndexPartEntityDao
-
create
public void create(Collection<? extends LuceneIndexPartEntity> entities)
Creates a collection ofLuceneIndexPartEntity
and adds it to the persistent store.- Specified by:
create
in interfaceLuceneIndexPartEntityDao
-
update
public void update(Collection<? extends LuceneIndexPartEntity> entities)
Updates a collection ofLuceneIndexPartEntity
in the persistent store.- Specified by:
update
in interfaceLuceneIndexPartEntityDao
-
remove
public void remove(Collection<? extends LuceneIndexPartEntity> entities)
Removes a collection ofLuceneIndexPartEntity
from the persistent store.- Specified by:
remove
in interfaceLuceneIndexPartEntityDao
-
remove
public void remove(Long id)
Removes an instance ofLuceneIndexPartEntity
from the persistent store.- Specified by:
remove
in interfaceLuceneIndexPartEntityDao
-
query
public List<LuceneIndexPartEntity> query(String queryString, Parameter[] parameters)
Query ofLuceneIndexPartEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
query
in interfaceLuceneIndexPartEntityDao
-
query
public List<LuceneIndexPartEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofLuceneIndexPartEntity
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 interfaceLuceneIndexPartEntityDao
-
-