Interface SessionAccessFacade
- All Known Implementing Classes:
SessionAccessFacadeImpl
public interface SessionAccessFacade
Accessing the session to set and read product configuration related entities like UIStatus or runtime configuration
ID per cart entry
-
Method Summary
Modifier and TypeMethodDescription<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 productvoidsetUiStatusForCartEntry(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
-
Method Details
-
getUiStatusForCartEntry
Retrieves object from the session for a given cart entry key- Parameters:
cartEntryKey- String representation of the cart entry primary key- Returns:
- T which represents the UiStatus
-
setUiStatusForCartEntry
Stores object for a cart entry key into the session- Parameters:
cartEntryKey- String representation of the cart entry primary keyuiStatus- the status of the UI
-
setUiStatusForProduct
Stores object for a product key into the session- Parameters:
productKey- Product keyuiStatus- the status of the UI
-
getUiStatusForProduct
Retrieves object from the session for a given cart entry key- Parameters:
productKey- Product key- Returns:
- T which represents the UiStatus
-
removeUiStatusForCartEntry
Removes object for a cart entry- Parameters:
cartEntryKey- String representation of the cart entry primary key
-
removeUiStatusForProduct
Removes object for a product- Parameters:
productKey- Product key
-