public interface SearchPromoteService
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
callRemoteIndex(java.lang.String accountNumber,
java.lang.String remotePassword,
boolean fullIndex)
Calls the remote indexer
|
java.lang.String |
getBannerAreaList(java.lang.String memberid,
java.lang.String accountnumber)
Returns a JSON string representation of available BannerAreas.
|
int |
getConnectionTimeout()
Returns the configured timeout in milliseconds until a connection is
established.
|
java.lang.String |
getFacetList(java.lang.String memberid,
java.lang.String accountnumber)
Returns a JSON string representation of available Facets.
|
java.lang.String |
getSearchForm(java.lang.String memberid,
java.lang.String accountnumber)
Returns an XML string representation for search form from the stage environment of Search&Promote.
|
java.lang.String |
getSearchForm(java.lang.String memberId,
java.lang.String accountNumber,
SearchPromoteEnvironment environment)
Returns an XML string representation for search form.
|
java.net.URI |
getServerURI()
Returns configured Search&Promote server where configurations are fetched
from.
|
int |
getSocketTimeout()
Returns the configured timeout in milliseconds, which is the timeout for
waiting for data or a maximum period of inactivity between two
consecutive data packets.
|
java.net.URI getServerURI()
java.lang.String getSearchForm(java.lang.String memberid,
java.lang.String accountnumber)
throws SearchPromoteException
memberid - Member IDaccountnumber - Account numberSearchPromoteException - SearchPromoteException
if XML could not be fetched or response is invalid.java.lang.String getSearchForm(java.lang.String memberId,
java.lang.String accountNumber,
SearchPromoteEnvironment environment)
throws SearchPromoteException
memberId - Member IDaccountNumber - Account numberenvironment - The Search&Promote environment (stage / live)SearchPromoteException - SearchPromoteExceptionjava.lang.String getFacetList(java.lang.String memberid,
java.lang.String accountnumber)
throws SearchPromoteException
memberid - Member IDaccountnumber - Account numberSearchPromoteException - SearchPromoteException
if JSON could not be feteched or response is invalid.java.lang.String getBannerAreaList(java.lang.String memberid,
java.lang.String accountnumber)
throws SearchPromoteException
memberid - Member IDaccountnumber - Account numberSearchPromoteException - SearchPromoteException
if JSON could not be feteched or response is invalid.java.lang.String callRemoteIndex(java.lang.String accountNumber,
java.lang.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 - SearchPromoteExceptionint getConnectionTimeout()
SearchPromoteConstants.DEFAULT_CONNECTION_TIMEOUT is
returned.int getSocketTimeout()
SearchPromoteConstants.DEFAULT_SOCKET_TIMEOUT is
returned."Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"