@ProviderType
@Deprecated
public interface SearchPromoteService
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
callRemoteIndex(java.lang.String accountNumber,
java.lang.String remotePassword,
boolean fullIndex)
Deprecated.
Calls the remote indexer
|
java.lang.String |
getBannerAreaList(java.lang.String memberid,
java.lang.String accountnumber)
Deprecated.
Returns a JSON string representation of available BannerAreas.
|
int |
getConnectionTimeout()
Deprecated.
Returns the configured timeout in milliseconds until a connection is
established.
|
java.lang.String |
getFacetList(java.lang.String memberid,
java.lang.String accountnumber)
Deprecated.
Returns a JSON string representation of available Facets.
|
java.lang.String |
getSearchForm(java.lang.String memberid,
java.lang.String accountnumber)
Deprecated.
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)
Deprecated.
Returns an XML string representation for search form.
|
java.net.URI |
getServerURI()
Deprecated.
Returns configured Search&Promote server where configurations are fetched
from.
|
int |
getSocketTimeout()
Deprecated.
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,
java.io.UnsupportedEncodingException
memberid - Member IDaccountnumber - Account numberSearchPromoteException - SearchPromoteException
if XML could not be fetched or response is invalid.java.io.UnsupportedEncodingExceptionjava.lang.String getSearchForm(java.lang.String memberId,
java.lang.String accountNumber,
SearchPromoteEnvironment environment)
throws SearchPromoteException,
java.io.UnsupportedEncodingException
memberId - Member IDaccountNumber - Account numberenvironment - The Search&Promote environment (stage / live)SearchPromoteException - SearchPromoteExceptionjava.io.UnsupportedEncodingExceptionjava.lang.String getFacetList(java.lang.String memberid,
java.lang.String accountnumber)
throws SearchPromoteException,
java.io.UnsupportedEncodingException
memberid - Member IDaccountnumber - Account numberSearchPromoteException - SearchPromoteException
if JSON could not be feteched or response is invalid.java.io.UnsupportedEncodingExceptionjava.lang.String getBannerAreaList(java.lang.String memberid,
java.lang.String accountnumber)
throws SearchPromoteException,
java.io.UnsupportedEncodingException
memberid - Member IDaccountnumber - Account numberSearchPromoteException - SearchPromoteException
if JSON could not be feteched or response is invalid.java.io.UnsupportedEncodingExceptionjava.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 - 2023 Adobe. All Rights Reserved