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 voidcreate(LuceneIndexPartEntity entity)Adds an instance ofLuceneIndexPartEntityto the persistent store.voidcreate(Collection<? extends LuceneIndexPartEntity> entities)Creates a collection ofLuceneIndexPartEntityand 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 implementationLuceneIndexEntityDaogetLuceneIndexEntityDao()Gets reference toluceneIndexEntityDao.TenantEntityDaogetTenantEntityDao()Gets reference totenantEntityDao.LuceneIndexPartEntityload(Long id)Loads an instance ofLuceneIndexPartEntityfrom the persistent store.List<LuceneIndexPartEntity>loadAll()Loads all instances ofLuceneIndexPartEntityfrom the persistent store.LuceneIndexPartEntitynewLuceneIndexPartEntity()Creates an instance ofLuceneIndexPartEntity.List<LuceneIndexPartEntity>query(String queryString, Parameter[] parameters)Query ofLuceneIndexPartEntityfrom the persistent store.List<LuceneIndexPartEntity>query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofLuceneIndexPartEntityfrom the persistent store.voidremove(LuceneIndexPartEntity entity)Removes an instance ofLuceneIndexPartEntityfrom the persistent store.voidremove(Long id)Removes an instance ofLuceneIndexPartEntityfrom the persistent store.voidremove(Collection<? extends LuceneIndexPartEntity> entities)Removes a collection ofLuceneIndexPartEntityfrom the persistent store.voidsetLuceneIndexEntityDao(LuceneIndexEntityDao luceneIndexEntityDao)Sets reference toluceneIndexEntityDao.voidsetTenantEntityDao(TenantEntityDao tenantEntityDao)Sets reference totenantEntityDao.voidupdate(LuceneIndexPartEntity entity)Updates an instance ofLuceneIndexPartEntityat the persistent store.voidupdate(Collection<? extends LuceneIndexPartEntity> entities)Updates a collection ofLuceneIndexPartEntityin 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:
findByIndexin interfaceLuceneIndexPartEntityDao- Parameters:
index-- Returns:
-
findByIndex
public Collection<LuceneIndexPartEntity> findByIndex(CriteriaSearchConfiguration criteria, Long index)
CriteriaSearchConfiguration implementation- Specified by:
findByIndexin interfaceLuceneIndexPartEntityDao
-
findByIndex
public Collection<LuceneIndexPartEntity> findByIndex(String queryString, CriteriaSearchConfiguration criteria, Long index)
Internal implementation
-
newLuceneIndexPartEntity
public LuceneIndexPartEntity newLuceneIndexPartEntity()
Creates an instance ofLuceneIndexPartEntity.- Specified by:
newLuceneIndexPartEntityin interfaceLuceneIndexPartEntityDao
-
load
public LuceneIndexPartEntity load(Long id)
Loads an instance ofLuceneIndexPartEntityfrom the persistent store.- Specified by:
loadin interfaceLuceneIndexPartEntityDao
-
loadAll
public List<LuceneIndexPartEntity> loadAll()
Loads all instances ofLuceneIndexPartEntityfrom the persistent store.- Specified by:
loadAllin interfaceLuceneIndexPartEntityDao
-
create
public void create(LuceneIndexPartEntity entity)
Adds an instance ofLuceneIndexPartEntityto the persistent store.- Specified by:
createin interfaceLuceneIndexPartEntityDao
-
update
public void update(LuceneIndexPartEntity entity)
Updates an instance ofLuceneIndexPartEntityat the persistent store.- Specified by:
updatein interfaceLuceneIndexPartEntityDao
-
remove
public void remove(LuceneIndexPartEntity entity)
Removes an instance ofLuceneIndexPartEntityfrom the persistent store.- Specified by:
removein interfaceLuceneIndexPartEntityDao
-
create
public void create(Collection<? extends LuceneIndexPartEntity> entities)
Creates a collection ofLuceneIndexPartEntityand adds it to the persistent store.- Specified by:
createin interfaceLuceneIndexPartEntityDao
-
update
public void update(Collection<? extends LuceneIndexPartEntity> entities)
Updates a collection ofLuceneIndexPartEntityin the persistent store.- Specified by:
updatein interfaceLuceneIndexPartEntityDao
-
remove
public void remove(Collection<? extends LuceneIndexPartEntity> entities)
Removes a collection ofLuceneIndexPartEntityfrom the persistent store.- Specified by:
removein interfaceLuceneIndexPartEntityDao
-
remove
public void remove(Long id)
Removes an instance ofLuceneIndexPartEntityfrom the persistent store.- Specified by:
removein interfaceLuceneIndexPartEntityDao
-
query
public List<LuceneIndexPartEntity> query(String queryString, Parameter[] parameters)
Query ofLuceneIndexPartEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
queryin interfaceLuceneIndexPartEntityDao
-
query
public List<LuceneIndexPartEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofLuceneIndexPartEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return- Specified by:
queryin interfaceLuceneIndexPartEntityDao
-
-