Class WebContractSearchModuleBase
java.lang.Object
ru.bitel.bgbilling.kernel.admin.webmenu.server.bean.WebContractSearchModuleBase
- All Implemented Interfaces:
WebContractSearchModule
public abstract class WebContractSearchModuleBase extends java.lang.Object implements WebContractSearchModule
-
Field Summary
Fields Modifier and Type Field Description protected java.sql.Connectionconnectionprotected java.util.List<WebContractSearchParam>contractSearchParamsprotected WebContractSearchParampopupHintCountprotected WebContractSearchParamsearchByContractParamIdprotected WebContractSearchParamsearchByCustomerprotected WebContractSearchParamsearchTextCommentprotected WebContractSearchParamsearchTextPlaceHolderprotected WebContractSearchParamtitleprotected WebContractSearchParamuseForAccessRestoreprotected WebContractSearchParamuseForPaymentprotected WebContractSearchParamverifyByContractParameterEmailIdprotected WebContractSearchParamverifyByContractParameterPhoneIdprotected WebContractSearchParamverifyByCustomerEmailprotected WebContractSearchParamverifyByCustomerFIOprotected WebContractSearchParamverifyByCustomerPhone -
Constructor Summary
Constructors Constructor Description WebContractSearchModuleBase() -
Method Summary
Modifier and Type Method Description java.util.List<IdTitle>doHintSearch(java.lang.String searchText)java.util.List<WebContractSearchResult>doSearch(java.lang.String searchText)java.util.List<WebContractSearchParam>getParameters()protected java.lang.StringgetPopupHintCount()java.lang.StringgetSearchTextComment()protected java.lang.StringgetSearchTextCommentText()java.lang.StringgetSearchTextPlaceHolder()protected java.lang.StringgetSearchTextPlaceHolderText()java.lang.StringgetTitle()protected java.lang.StringgetTitleText()voidinit(java.sql.Connection connection)booleanuseForAccessRestore()booleanuseForPayment()booleanuseHintSerach()protected voidverifyByContractParameterEmail(java.util.List<WebContractSearchResult> results, int paramId)protected voidverifyByContractParameterPhone(java.util.List<WebContractSearchResult> results, int paramId)protected voidverifyByCustomerEmail(java.util.List<WebContractSearchResult> results)protected voidverifyByCustomerField(java.util.List<WebContractSearchResult> results, java.lang.String fieldName, java.lang.String verifyTitle)protected voidverifyByCustomerPhone(java.util.List<WebContractSearchResult> results)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
connection
protected java.sql.Connection connection -
title
-
useForAccessRestore
-
useForPayment
-
searchTextComment
-
searchTextPlaceHolder
-
searchByCustomer
-
searchByContractParamId
-
popupHintCount
-
verifyByCustomerFIO
-
verifyByCustomerEmail
-
verifyByCustomerPhone
-
verifyByContractParameterEmailId
-
verifyByContractParameterPhoneId
-
contractSearchParams
-
-
Constructor Details
-
WebContractSearchModuleBase
public WebContractSearchModuleBase()
-
-
Method Details
-
init
public void init(java.sql.Connection connection)- Specified by:
initin interfaceWebContractSearchModule
-
doHintSearch
public java.util.List<IdTitle> doHintSearch(java.lang.String searchText) throws ru.bitel.bgbilling.common.BGException- Specified by:
doHintSearchin interfaceWebContractSearchModule- Throws:
ru.bitel.bgbilling.common.BGException
-
doSearch
public java.util.List<WebContractSearchResult> doSearch(java.lang.String searchText) throws ru.bitel.bgbilling.common.BGException- Specified by:
doSearchin interfaceWebContractSearchModule- Throws:
ru.bitel.bgbilling.common.BGException
-
useHintSerach
public boolean useHintSerach()- Specified by:
useHintSerachin interfaceWebContractSearchModule
-
getTitle
public java.lang.String getTitle()- Specified by:
getTitlein interfaceWebContractSearchModule
-
useForAccessRestore
public boolean useForAccessRestore()- Specified by:
useForAccessRestorein interfaceWebContractSearchModule
-
useForPayment
public boolean useForPayment()- Specified by:
useForPaymentin interfaceWebContractSearchModule
-
getParameters
- Specified by:
getParametersin interfaceWebContractSearchModule
-
getSearchTextPlaceHolder
public java.lang.String getSearchTextPlaceHolder()- Specified by:
getSearchTextPlaceHolderin interfaceWebContractSearchModule
-
getSearchTextComment
public java.lang.String getSearchTextComment()- Specified by:
getSearchTextCommentin interfaceWebContractSearchModule
-
getSearchTextPlaceHolderText
protected java.lang.String getSearchTextPlaceHolderText() -
getSearchTextCommentText
protected java.lang.String getSearchTextCommentText() -
getTitleText
protected java.lang.String getTitleText() -
getPopupHintCount
protected java.lang.String getPopupHintCount() -
verifyByContractParameterEmail
protected void verifyByContractParameterEmail(java.util.List<WebContractSearchResult> results, int paramId) -
verifyByContractParameterPhone
protected void verifyByContractParameterPhone(java.util.List<WebContractSearchResult> results, int paramId) -
verifyByCustomerEmail
-
verifyByCustomerPhone
-
verifyByCustomerField
protected void verifyByCustomerField(java.util.List<WebContractSearchResult> results, java.lang.String fieldName, java.lang.String verifyTitle)
-