Package org.cyclos.impl.sql.postgresql
Class PostgresqlContactSearchHandlerImpl
- java.lang.Object
-
- org.cyclos.impl.sql.postgresql.BasePostgresqlEntitySearchHandlerImpl<Contact,ContactQuery,ContactVO>
-
- org.cyclos.impl.sql.postgresql.PostgresqlContactSearchHandlerImpl
-
- All Implemented Interfaces:
ContactSearchHandler,EntitySearchHandler<Contact,ContactQuery,ContactVO>,RemovableEntitySearchHandler<Contact,ContactQuery,ContactVO>
public class PostgresqlContactSearchHandlerImpl extends BasePostgresqlEntitySearchHandlerImpl<Contact,ContactQuery,ContactVO> implements ContactSearchHandler
Database implementation for searching contacts
-
-
Field Summary
-
Fields inherited from class org.cyclos.impl.sql.postgresql.BasePostgresqlEntitySearchHandlerImpl
beanHandler, conversionHandler, jdbcTemplate, rawEntityManagerHandler, searchHandler
-
-
Constructor Summary
Constructors Constructor Description PostgresqlContactSearchHandlerImpl(PostgresqlSearchHandlerImpl searchHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.mysema.commons.lang.CloseableIterator<Contact>iterateEntities(ContactQuery params)Iterates entities which match the given querycom.mysema.commons.lang.CloseableIterator<Long>iterateIds(ContactQuery params)Iterates ids which match the given queryvoidreindex()Reindexes all data.Page<ContactVO>search(ContactQuery query)Performs the search for a page of results-
Methods inherited from class org.cyclos.impl.sql.postgresql.BasePostgresqlEntitySearchHandlerImpl
index, indexName, reindexCustomValues, remove
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.cyclos.impl.search.EntitySearchHandler
index, indexName
-
-
-
-
Constructor Detail
-
PostgresqlContactSearchHandlerImpl
public PostgresqlContactSearchHandlerImpl(PostgresqlSearchHandlerImpl searchHandler)
-
-
Method Detail
-
iterateEntities
public com.mysema.commons.lang.CloseableIterator<Contact> iterateEntities(ContactQuery params)
Description copied from interface:EntitySearchHandlerIterates entities which match the given query- Specified by:
iterateEntitiesin interfaceEntitySearchHandler<Contact,ContactQuery,ContactVO>
-
iterateIds
public com.mysema.commons.lang.CloseableIterator<Long> iterateIds(ContactQuery params)
Description copied from interface:EntitySearchHandlerIterates ids which match the given query- Specified by:
iterateIdsin interfaceEntitySearchHandler<Contact,ContactQuery,ContactVO>
-
reindex
public void reindex()
Description copied from interface:EntitySearchHandlerReindexes all data. This is only called by scripts, in case the admin needs to reindex the data.- Specified by:
reindexin interfaceEntitySearchHandler<Contact,ContactQuery,ContactVO>
-
search
public Page<ContactVO> search(ContactQuery query)
Description copied from interface:EntitySearchHandlerPerforms the search for a page of results- Specified by:
searchin interfaceEntitySearchHandler<Contact,ContactQuery,ContactVO>
-
-