public class SessionAccessFacadeImpl extends Object implements SessionAccessFacade
SessionAccessFacade| Constructor and Description |
|---|
SessionAccessFacadeImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCartEntryForConfigId(String configId)
Retrieves cart entry key belonging to a specific config ID
|
String |
getCartEntryForProduct(String productKey)
Retrieves cart entry key per product
|
String |
getConfigIdForCartEntry(String cartEntryKey)
Retrieves configuration identifier from the session for a given cart entry key
|
protected SessionAccessService |
getSessionAccessService() |
<T> T |
getUiStatusForCartEntry(String cartEntryKey)
Retrieves object from the session for a given cart entry key
|
<T> T |
getUiStatusForProduct(String productKey)
Retrieves object from the session for a given cart entry key
|
void |
removeCartEntryForProduct(String productKey)
Removes cart entry key for product
|
void |
removeConfigIdForCartEntry(String cartEntryKey)
Removes config ID for cart entry
|
void |
removeUiStatusForCartEntry(String cartEntryKey)
Removes object for a cart entry
|
void |
removeUiStatusForProduct(String productKey)
Removes object for a product
|
void |
setCartEntryForProduct(String productKey,
String cartEntryKey)
Stores cart entry in session per product key
|
void |
setConfigIdForCartEntry(String cartEntryKey,
String configId)
Stores configuration ID for a cart entry key into the session
|
void |
setSessionAccessService(SessionAccessService sessionAccessService) |
void |
setUiStatusForCartEntry(String cartEntryKey,
Object uiStatus)
Stores object for a cart entry key into the session
|
void |
setUiStatusForProduct(String productKey,
Object uiStatus)
Stores object for a product key into the session
|
public void setSessionAccessService(SessionAccessService sessionAccessService)
sessionAccessService - injects the underlying session access serviceprotected SessionAccessService getSessionAccessService()
public void setConfigIdForCartEntry(String cartEntryKey, String configId)
SessionAccessFacadesetConfigIdForCartEntry in interface SessionAccessFacadecartEntryKey - String representation of the cart entry primary keyconfigId - ID of a runtime configuration objectpublic String getConfigIdForCartEntry(String cartEntryKey)
SessionAccessFacadegetConfigIdForCartEntry in interface SessionAccessFacadecartEntryKey - String representation of the cart entry primary keypublic <T> T getUiStatusForCartEntry(String cartEntryKey)
SessionAccessFacadegetUiStatusForCartEntry in interface SessionAccessFacadecartEntryKey - String representation of the cart entry primary keypublic void setUiStatusForCartEntry(String cartEntryKey, Object uiStatus)
SessionAccessFacadesetUiStatusForCartEntry in interface SessionAccessFacadecartEntryKey - String representation of the cart entry primary keyuiStatus - Objectpublic void setUiStatusForProduct(String productKey, Object uiStatus)
SessionAccessFacadesetUiStatusForProduct in interface SessionAccessFacadeproductKey - Product keyuiStatus - Objectpublic <T> T getUiStatusForProduct(String productKey)
SessionAccessFacadegetUiStatusForProduct in interface SessionAccessFacadeproductKey - Product keypublic void removeUiStatusForCartEntry(String cartEntryKey)
SessionAccessFacaderemoveUiStatusForCartEntry in interface SessionAccessFacadecartEntryKey - String representation of the cart entry primary keypublic void removeUiStatusForProduct(String productKey)
SessionAccessFacaderemoveUiStatusForProduct in interface SessionAccessFacadeproductKey - Product keypublic String getCartEntryForConfigId(String configId)
SessionAccessFacadegetCartEntryForConfigId in interface SessionAccessFacadepublic void setCartEntryForProduct(String productKey, String cartEntryKey)
SessionAccessFacadesetCartEntryForProduct in interface SessionAccessFacadecartEntryKey - String representation of the cart entry primary keypublic String getCartEntryForProduct(String productKey)
SessionAccessFacadegetCartEntryForProduct in interface SessionAccessFacadepublic void removeCartEntryForProduct(String productKey)
SessionAccessFacaderemoveCartEntryForProduct in interface SessionAccessFacadepublic void removeConfigIdForCartEntry(String cartEntryKey)
SessionAccessFacaderemoveConfigIdForCartEntry in interface SessionAccessFacadeCopyright © 2017 SAP SE. All Rights Reserved.