Class SessionAccessFacadeImpl
java.lang.Object
de.hybris.platform.sap.productconfig.facades.impl.SessionAccessFacadeImpl
- All Implemented Interfaces:
SessionAccessFacade
Default implementation of
SessionAccessFacade-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ConfigurationModelCacheStrategyprotected SessionAccessService<T> TgetUiStatusForCartEntry(String cartEntryKey) Retrieves object from the session for a given cart entry key<T> TgetUiStatusForProduct(String productKey) Retrieves object from the session for a given cart entry keyvoidremoveUiStatusForCartEntry(String cartEntryKey) Removes object for a cart entryvoidremoveUiStatusForProduct(String productKey) Removes object for a productvoidsetConfigModelCacheStrategy(ConfigurationModelCacheStrategy configModelCacheStrategy) voidsetSessionAccessService(SessionAccessService sessionAccessService) voidsetUiStatusForCartEntry(String cartEntryKey, Object uiStatus) Stores object for a cart entry key into the sessionvoidsetUiStatusForProduct(String productKey, Object uiStatus) Stores object for a product key into the session
-
Constructor Details
-
SessionAccessFacadeImpl
public SessionAccessFacadeImpl()
-
-
Method Details
-
getUiStatusForCartEntry
Description copied from interface:SessionAccessFacadeRetrieves object from the session for a given cart entry key- Specified by:
getUiStatusForCartEntryin interfaceSessionAccessFacade- Parameters:
cartEntryKey- String representation of the cart entry primary key- Returns:
- T which represents the UiStatus
-
setUiStatusForCartEntry
Description copied from interface:SessionAccessFacadeStores object for a cart entry key into the session- Specified by:
setUiStatusForCartEntryin interfaceSessionAccessFacade- Parameters:
cartEntryKey- String representation of the cart entry primary keyuiStatus- the status of the UI
-
setUiStatusForProduct
Description copied from interface:SessionAccessFacadeStores object for a product key into the session- Specified by:
setUiStatusForProductin interfaceSessionAccessFacade- Parameters:
productKey- Product keyuiStatus- the status of the UI
-
getUiStatusForProduct
Description copied from interface:SessionAccessFacadeRetrieves object from the session for a given cart entry key- Specified by:
getUiStatusForProductin interfaceSessionAccessFacade- Parameters:
productKey- Product key- Returns:
- T which represents the UiStatus
-
removeUiStatusForCartEntry
Description copied from interface:SessionAccessFacadeRemoves object for a cart entry- Specified by:
removeUiStatusForCartEntryin interfaceSessionAccessFacade- Parameters:
cartEntryKey- String representation of the cart entry primary key
-
removeUiStatusForProduct
Description copied from interface:SessionAccessFacadeRemoves object for a product- Specified by:
removeUiStatusForProductin interfaceSessionAccessFacade- Parameters:
productKey- Product key
-
setSessionAccessService
- Parameters:
sessionAccessService- injects the underlying session access service
-
getSessionAccessService
-
getConfigModelCacheStrategy
-
setConfigModelCacheStrategy
-