public interface SessionAccessFacade
| 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
|
<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 cartEntryId)
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 |
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
|
void setConfigIdForCartEntry(String cartEntryKey, String configId)
cartEntryKey - String representation of the cart entry primary keyconfigId - ID of a runtime configuration objectString getConfigIdForCartEntry(String cartEntryKey)
cartEntryKey - String representation of the cart entry primary key<T> T getUiStatusForCartEntry(String cartEntryKey)
cartEntryKey - String representation of the cart entry primary keyvoid setUiStatusForCartEntry(String cartEntryKey, Object uiStatus)
cartEntryKey - String representation of the cart entry primary keyuiStatus - Objectvoid setUiStatusForProduct(String productKey, Object uiStatus)
productKey - Product keyuiStatus - Object<T> T getUiStatusForProduct(String productKey)
productKey - Product keyvoid removeUiStatusForCartEntry(String cartEntryKey)
cartEntryKey - String representation of the cart entry primary keyvoid removeUiStatusForProduct(String productKey)
productKey - Product keyString getCartEntryForConfigId(String configId)
configId - void setCartEntryForProduct(String productKey, String cartEntryId)
productKey - cartEntryId - String representation of the cart entry primary keyString getCartEntryForProduct(String productKey)
productKey - void removeCartEntryForProduct(String productKey)
productKey - void removeConfigIdForCartEntry(String cartEntryKey)
cartEntryKey - Copyright © 2017 SAP SE. All Rights Reserved.