public interface FeedGeneratorService
Modifier and Type | Method and Description |
---|---|
String |
generateAsString(CommerceSession commerceSession,
List<String> productPaths)
Generates the feed and returns a
String containing the data. |
String |
getAccountNo()
Retrieves the S&P Account number that this service is registered under.
|
String generateAsString(CommerceSession commerceSession, List<String> productPaths) throws FeedGeneratorException
String
containing the data. The actual format of the data (XML, JSON,
CSV etc.) is
implementation-specificcommerceSession
- a CommerceSession
object previously obtained from a .commerce.api.CommerceService
. This is required for retrieving volatile information from the underlying
commerce system.productPaths
- the list of JCR paths that contain products.String
containing the feed.FeedGeneratorException
String getAccountNo()
spXXXXXXX
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"