Package org.cyclos.impl.sql.postgresql
Class PostgresqlInstallmentSearchHandlerImpl
- java.lang.Object
-
- org.cyclos.impl.sql.postgresql.BasePostgresqlEntitySearchHandlerImpl<Installment,InstallmentOverviewQuery,InstallmentResultVO>
-
- org.cyclos.impl.sql.postgresql.PostgresqlInstallmentSearchHandlerImpl
-
- All Implemented Interfaces:
EntitySearchHandler<Installment,InstallmentOverviewQuery,InstallmentResultVO>,InstallmentSearchHandler,RemovableEntitySearchHandler<Installment,InstallmentOverviewQuery,InstallmentResultVO>
public class PostgresqlInstallmentSearchHandlerImpl extends BasePostgresqlEntitySearchHandlerImpl<Installment,InstallmentOverviewQuery,InstallmentResultVO> implements InstallmentSearchHandler
Database implementation for searching transactions
-
-
Field Summary
Fields Modifier and Type Field Description protected DataTranslationHandlerdataTranslationHandler-
Fields inherited from class org.cyclos.impl.sql.postgresql.BasePostgresqlEntitySearchHandlerImpl
beanHandler, conversionHandler, jdbcTemplate, rawEntityManagerHandler, searchHandler
-
-
Constructor Summary
Constructors Constructor Description PostgresqlInstallmentSearchHandlerImpl(PostgresqlSearchHandlerImpl searchHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.mysema.commons.lang.CloseableIterator<Installment>iterateEntities(InstallmentOverviewQuery params)Iterates entities which match the given querycom.mysema.commons.lang.CloseableIterator<Long>iterateIds(InstallmentOverviewQuery params)Iterates ids which match the given querylongreindex()Reindexes all data.Page<InstallmentResultVO>search(InstallmentOverviewQuery params)Performs the search for a page of resultsPage<InstallmentResultVO>searchInstallments(InstallmentQuery params)Searches installments from the POV of a specific owner-
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
-
-
-
-
Field Detail
-
dataTranslationHandler
@Autowired @Lazy protected DataTranslationHandler dataTranslationHandler
-
-
Constructor Detail
-
PostgresqlInstallmentSearchHandlerImpl
public PostgresqlInstallmentSearchHandlerImpl(PostgresqlSearchHandlerImpl searchHandler)
-
-
Method Detail
-
iterateEntities
public com.mysema.commons.lang.CloseableIterator<Installment> iterateEntities(InstallmentOverviewQuery params)
Description copied from interface:EntitySearchHandlerIterates entities which match the given query- Specified by:
iterateEntitiesin interfaceEntitySearchHandler<Installment,InstallmentOverviewQuery,InstallmentResultVO>
-
iterateIds
public com.mysema.commons.lang.CloseableIterator<Long> iterateIds(InstallmentOverviewQuery params)
Description copied from interface:EntitySearchHandlerIterates ids which match the given query- Specified by:
iterateIdsin interfaceEntitySearchHandler<Installment,InstallmentOverviewQuery,InstallmentResultVO>
-
reindex
public long 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<Installment,InstallmentOverviewQuery,InstallmentResultVO>
-
search
public Page<InstallmentResultVO> search(InstallmentOverviewQuery params)
Description copied from interface:EntitySearchHandlerPerforms the search for a page of results- Specified by:
searchin interfaceEntitySearchHandler<Installment,InstallmentOverviewQuery,InstallmentResultVO>
-
searchInstallments
public Page<InstallmentResultVO> searchInstallments(InstallmentQuery params)
Description copied from interface:InstallmentSearchHandlerSearches installments from the POV of a specific owner- Specified by:
searchInstallmentsin interfaceInstallmentSearchHandler
-
-