Class SearchContractModule
java.lang.Object
bitel.billing.server.contract.bean.find.SearchContractModule
- Direct Known Subclasses:
SearchContractByAddress
,SearchContractByCerbercrypt
,SearchContractByComment
,SearchContractByEmail
,SearchContractById
,SearchContractByInetLogin
,SearchContractByLogin
,SearchContractByParameter
,SearchContractByPhone
,SearchContractByTitle
,SearchContractModuleEmpty
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addContractFilter
(StringBuilder query, SearchContract search, String sqlDate) protected void
protected void
addDateFilter
(StringBuilder query, String tableName, String sqlDate) protected void
addDateFilter
(StringBuilder query, String tableName, String sqlDate, String dateField1, String dateField2) protected void
addLimitAndTitleRegexpFilter
(StringBuilder query, SearchContract search) protected void
addWhereQuery
(StringBuilder query, int compareType, String column) extractContracts
(Connection con, String query, String param) findContracts
(Connection con, SearchContract search, String param, Date date) abstract String
getName()
-
Field Details
-
MAX_SELECT
protected static final int MAX_SELECT- See Also:
-
-
Constructor Details
-
SearchContractModule
public SearchContractModule()
-
-
Method Details
-
findContracts
public abstract List<Contract> findContracts(Connection con, SearchContract search, String param, Date date) -
getName
-
addWhereQuery
-
addContractSelectPart
-
extractContracts
-
addContractFilter
-
addDateFilter
-
addDateFilter
protected void addDateFilter(StringBuilder query, String tableName, String sqlDate, String dateField1, String dateField2) -
addLimitAndTitleRegexpFilter
-