public interface CatalogLoginPerformer
| Modifier and Type | Method and Description |
|---|---|
SAPProductList |
backgroundSearch(String searchstring)
This method searches the catalog using the given
searchstring and returns the search result as
SAPProductList.A HTML document which contains the results in OCI Format (a html form with inserted xml data) will be sent to the SRM server back. It is the implementation of SRM Server request: FUNCTION=BACKGROUND_SEARCH - the results will be showed in the SRM Server. |
String |
getHookURLFieldName()
In SAP SRM Server the fieldname for the
HOOK_URL can vary and must be specified for the oci
extension. |
String |
getProductDetailURL(String productID)
This method returns an URL of the shop where the product with the given unique
productID is shown. |
SAPProduct |
getProductInfoForValidation(String productID,
double quantity)
This method validates the given product and quantity in the SRM Server.
|
String |
getProductSearchURL(String searchstring,
String vendor)
For the given searchstring and vendor, this method returns the catalog specific URL from the catalog search
function.
|
String |
getShopURL()
This method returns the entry URL (as String) of the shop (default start/home page of the shop).
|
void |
login(HttpServletRequest request,
HttpServletResponse response,
OutboundSection outboundsection)
This method logs in into the shop from the SRM Server.
This is catalog specific and has to be implemented in this method. |
void login(HttpServletRequest request,
HttpServletResponse response,
OutboundSection outboundsection)
throws OciException
request - contains the needed parameter from SRM Serverresponse - catalog data will be sent thereoutboundsection - implementation of the Interface OutboundSectionOciException - throws an OciException if an OCI-related error occursSAPProductList backgroundSearch(String searchstring)
searchstring and returns the search result as
SAPProductList.searchstring - the search StringString getProductSearchURL(String searchstring, String vendor)
searchstring - the search stringvendor - vendorSAPProduct getProductInfoForValidation(String productID, double quantity)
productID - the (unique) ProductID of the product in the shopquantity - quantity of the productString getShopURL()
String getProductDetailURL(String productID)
productID is shown.
For example, this could be the shop specific page for product details. This is the implementation of SRM Server
request: FUNCTION=DETAIL.productID - this is the productID from the shopString getHookURLFieldName()
HOOK_URL can vary and must be specified for the oci
extension. For default this method should return (default implementation in SRM Server): "HOOK_URL".HOOK_URL is storedCopyright © 2017 SAP SE. All Rights Reserved.