public class SpecialSearchScript
extends com.accela.aa.emse.dom.service.BaseAAScript
implements com.accela.aa.emse.dom.service.SpecialSearchScriptService
Accela Automation File: SpecialSearchScript.java Accela, Inc. Copyright (C): 2008-2014 Description: Notes: $Id: SpecialSearchScript.java 270462 2014-04-28 10:05:58Z ..\rain.wang $ Revision History <Date>, <Who>, <What> 2008-12-15 steven.yan Initial.
| Constructor and Description |
|---|
SpecialSearchScript()
Instantiates a new special search script.
|
SpecialSearchScript(java.lang.String serviceProviderCode,
java.lang.String auditID,
com.accela.aa.emse.dom.service.CachedService cachedService)
Instantiates a new special search script.
|
| Modifier and Type | Method and Description |
|---|---|
ScriptResult |
createBatchSearchData(com.accela.aa.aamain.people.GenericSearchModel[] searchModels)
Batch create the search datas according to the param
searchModels |
ScriptResult |
createSearchData(com.accela.aa.aamain.people.GenericSearchModel searchModel)
Create the search data according to the param
searchModel |
ScriptResult |
getPureArabicText(java.lang.String arabicTradeName)
Convert arabic text to pure text and the pure text will be used to store and special search.
|
ScriptResult |
getPureEnglishText(java.lang.String englishTradeName)
Convert english text to pure text and the pure text will be used to store and special search.
|
ScriptResult |
getSearchDataList(com.accela.aa.aamain.people.GenericSearchModel searchModel)
Get the search data list according to search model
searchModel |
ScriptResult |
isTradeNameExist(java.lang.String englishTradeName,
java.lang.String arabicTradeName)
Judge whether the trade name already exists.
|
ScriptResult |
newSearchDataModel()
Return an instance of
GenericSearchModel |
ScriptResult |
recreateBatchSearchData(com.accela.aa.aamain.cap.CapIDModel capID,
com.accela.aa.aamain.people.GenericSearchModel[] searchModels)
Rereate the search datas according to the param
searchModels |
ScriptResult |
removeSearchDataByCapID(com.accela.aa.aamain.cap.CapIDModel capID)
Remove the search datas with the same
capID |
ScriptResult |
updateSearchDataStatusByCapID(com.accela.aa.aamain.cap.CapIDModel capID,
java.lang.String status)
Update the search datas' status to
status with the same capID |
public SpecialSearchScript(java.lang.String serviceProviderCode,
java.lang.String auditID,
com.accela.aa.emse.dom.service.CachedService cachedService)
throws com.accela.aa.exception.AAException
serviceProviderCode - the service provider codeauditID - the audit idcom.accela.aa.exception.AAException - the AA exceptionpublic SpecialSearchScript()
throws com.accela.aa.exception.AAException
com.accela.aa.exception.AAException - the AA exceptionpublic ScriptResult createBatchSearchData(com.accela.aa.aamain.people.GenericSearchModel[] searchModels) throws com.accela.aa.exception.AAException, java.rmi.RemoteException
com.accela.aa.emse.dom.service.SpecialSearchScriptServicesearchModelscreateBatchSearchData in interface com.accela.aa.emse.dom.service.SpecialSearchScriptServicesearchModels - the search models to createcom.accela.aa.exception.AAExceptionjava.rmi.RemoteExceptionpublic ScriptResult recreateBatchSearchData(com.accela.aa.aamain.cap.CapIDModel capID, com.accela.aa.aamain.people.GenericSearchModel[] searchModels) throws com.accela.aa.exception.AAException, java.rmi.RemoteException
com.accela.aa.emse.dom.service.SpecialSearchScriptServicesearchModels
It will remove the search datas according to capID and then batch create search datas according to searchModels
recreateBatchSearchData in interface com.accela.aa.emse.dom.service.SpecialSearchScriptServicecapID - the ID of cap to recreatesearchModels - the search models to createcom.accela.aa.exception.AAExceptionjava.rmi.RemoteExceptionpublic ScriptResult createSearchData(com.accela.aa.aamain.people.GenericSearchModel searchModel) throws com.accela.aa.exception.AAException, java.rmi.RemoteException
com.accela.aa.emse.dom.service.SpecialSearchScriptServicesearchModelcreateSearchData in interface com.accela.aa.emse.dom.service.SpecialSearchScriptServicesearchModel - the search model to createcom.accela.aa.exception.AAExceptionjava.rmi.RemoteExceptionpublic ScriptResult getPureArabicText(java.lang.String arabicTradeName) throws com.accela.aa.exception.AAException, java.rmi.RemoteException
com.accela.aa.emse.dom.service.SpecialSearchScriptServicegetPureArabicText in interface com.accela.aa.emse.dom.service.SpecialSearchScriptServicearabicTradeName - the original arabic trade namecom.accela.aa.exception.AAExceptionjava.rmi.RemoteExceptionpublic ScriptResult getPureEnglishText(java.lang.String englishTradeName) throws com.accela.aa.exception.AAException, java.rmi.RemoteException
com.accela.aa.emse.dom.service.SpecialSearchScriptServicegetPureEnglishText in interface com.accela.aa.emse.dom.service.SpecialSearchScriptServiceenglishTradeName - the original english trade namecom.accela.aa.exception.AAExceptionjava.rmi.RemoteExceptionpublic ScriptResult getSearchDataList(com.accela.aa.aamain.people.GenericSearchModel searchModel) throws com.accela.aa.exception.AAException, java.rmi.RemoteException
com.accela.aa.emse.dom.service.SpecialSearchScriptServicesearchModelgetSearchDataList in interface com.accela.aa.emse.dom.service.SpecialSearchScriptServicesearchModel - the search model criteriacom.accela.aa.exception.AAExceptionjava.rmi.RemoteExceptionpublic ScriptResult removeSearchDataByCapID(com.accela.aa.aamain.cap.CapIDModel capID) throws com.accela.aa.exception.AAException, java.rmi.RemoteException
com.accela.aa.emse.dom.service.SpecialSearchScriptServicecapIDremoveSearchDataByCapID in interface com.accela.aa.emse.dom.service.SpecialSearchScriptServicecapID - the ID of cap to removecom.accela.aa.exception.AAExceptionjava.rmi.RemoteExceptionpublic ScriptResult updateSearchDataStatusByCapID(com.accela.aa.aamain.cap.CapIDModel capID, java.lang.String status) throws com.accela.aa.exception.AAException, java.rmi.RemoteException
com.accela.aa.emse.dom.service.SpecialSearchScriptServicestatus with the same capIDupdateSearchDataStatusByCapID in interface com.accela.aa.emse.dom.service.SpecialSearchScriptServicecapID - the cap idstatus - the audit status to set, maybe A or Icom.accela.aa.exception.AAExceptionjava.rmi.RemoteExceptionpublic ScriptResult isTradeNameExist(java.lang.String englishTradeName, java.lang.String arabicTradeName)
com.accela.aa.emse.dom.service.SpecialSearchScriptServiceisTradeNameExist in interface com.accela.aa.emse.dom.service.SpecialSearchScriptServiceenglishTradeName - the original English trade namearabicTradeName - the original Arabic trade namepublic ScriptResult newSearchDataModel()
com.accela.aa.emse.dom.service.SpecialSearchScriptServiceGenericSearchModelnewSearchDataModel in interface com.accela.aa.emse.dom.service.SpecialSearchScriptService