public interface SearchPromoteService
Modifier and Type | Method and Description |
---|---|
String |
callRemoteIndex(String accountNumber,
String remotePassword,
boolean fullIndex)
Calls the remote indexer
|
String |
getBannerAreaList(String memberid,
String accountnumber)
Returns a JSON string representation of available BannerAreas.
|
String |
getFacetList(String memberid,
String accountnumber)
Returns a JSON string representation of available Facets.
|
String |
getSearchForm(String memberid,
String accountnumber)
Returns an XML string representation for search form from the stage environment of Search&Promote.
|
String |
getSearchForm(String memberId,
String accountNumber,
SearchPromoteEnvironment environment)
Returns an XML string representation for search form.
|
URI |
getServerURI()
Returns configured Search&Promote server where configurations are fetched
from.
|
URI getServerURI()
String getSearchForm(String memberid, String accountnumber) throws SearchPromoteException
memberid
- Member IDaccountnumber
- Account numberSearchPromoteException
- if XML could not be fetched or response is invalid.String getSearchForm(String memberId, String accountNumber, SearchPromoteEnvironment environment) throws SearchPromoteException
memberId
- Member IDaccountNumber
- Account numberenvironment
- The Search&Promote environment (stage / live)SearchPromoteException
String getFacetList(String memberid, String accountnumber) throws SearchPromoteException
memberid
- Member IDaccountnumber
- Account numberSearchPromoteException
- if JSON could not be feteched or response is invalid.String getBannerAreaList(String memberid, String accountnumber) throws SearchPromoteException
memberid
- Member IDaccountnumber
- Account numberSearchPromoteException
- if JSON could not be feteched or response is invalid.String callRemoteIndex(String accountNumber, String remotePassword, boolean fullIndex) throws SearchPromoteException
accountNumber
- Account numberremotePassword
- The remote indexer passwordfullIndex
- signals that a full feed index is requestedString
representing the request's outcome.
Possible values are OK
if the request was sent successfully, Error
otherwise.SearchPromoteException
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"