|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BrowsingService
Provide catalog browsing service.
Method Summary | |
---|---|
BrowsingResult |
browsing(BrowsingRequest browsingRequest,
CatalogViewResultHistory previousBrowsingResultHistory,
ShoppingCart shoppingCart,
ProductLoadTuner productLoadTuner)
Perform browsinging based on the given browsing request and returns the browsing result. |
Methods inherited from interface com.elasticpath.service.EpPersistenceService |
---|
getObject, getPersistenceEngine, setPersistenceEngine |
Methods inherited from interface com.elasticpath.service.EpService |
---|
getElasticPath, setElasticPath |
Method Detail |
---|
BrowsingResult browsing(BrowsingRequest browsingRequest, CatalogViewResultHistory previousBrowsingResultHistory, ShoppingCart shoppingCart, ProductLoadTuner productLoadTuner)
By giving the previous browsing result history, you may get response quicker. If you don't have it, give a null
. It doesn't
affect the result.
By giving a shopping cart, promotion rules will be applied to the returned products.
By giving the product load tuner, you can fine control what data to be loaded for each product. It is used to improve performance.
browsingRequest
- the browsing requestpreviousBrowsingResultHistory
- the previous browsing results, give null
if you don't have itshoppingCart
- the shopping cart, give null
if you don't have itproductLoadTuner
- the product load tuner, give null
to populate all data
BrowsingResult
instance
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |