Interface SessionAccessFacade
-
- All Known Implementing Classes:
DummySessionAccessFacade,SessionAccessFacadeImpl
public interface SessionAccessFacadeAccessing the session to set and read product configuration related entities like UIStatus or runtime configuration ID per cart entry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetCartEntryForConfigId(java.lang.String configId)Deprecated, for removal: This API element is subject to removal in a future version.since 18.08.0 - callConfigurationAbstractOrderEntryLinkStrategy.getCartEntryForConfigId(String)insteadjava.lang.StringgetCartEntryForProduct(java.lang.String productKey)Deprecated, for removal: This API element is subject to removal in a future version.java.lang.StringgetConfigIdForCartEntry(java.lang.String cartEntryKey)Deprecated, for removal: This API element is subject to removal in a future version.since 18.08.0 - callConfigurationAbstractOrderEntryLinkStrategy.getConfigIdForCartEntry(String)insteadConfigModelgetConfigurationModelEngineState(java.lang.String configId)Deprecated, for removal: This API element is subject to removal in a future version.since 18.08.0 - callConfigurationModelCacheStrategy.getConfigurationModelEngineState(String)insteadjava.lang.StringgetSessionId()Deprecated, for removal: This API element is subject to removal in a future version.since 18.11.0 - call {@link SessionService#getCurrentSession()#getSessionId()} instead<T> TgetUiStatusForCartEntry(java.lang.String cartEntryKey)Retrieves object from the session for a given cart entry key<T> TgetUiStatusForProduct(java.lang.String productKey)Retrieves object from the session for a given cart entry keyvoidremoveCartEntryForProduct(java.lang.String productKey)Deprecated, for removal: This API element is subject to removal in a future version.voidremoveConfigIdForCartEntry(java.lang.String cartEntryKey)Deprecated, for removal: This API element is subject to removal in a future version.since 18.08.0 - callConfigurationAbstractOrderEntryLinkStrategy.removeConfigIdForCartEntry(String)insteadvoidremoveUiStatusForCartEntry(java.lang.String cartEntryKey)Removes object for a cart entryvoidremoveUiStatusForProduct(java.lang.String productKey)Removes object for a productvoidsetCartEntryForProduct(java.lang.String productKey, java.lang.String cartEntryId)Deprecated, for removal: This API element is subject to removal in a future version.voidsetConfigIdForCartEntry(java.lang.String cartEntryKey, java.lang.String configId)Deprecated, for removal: This API element is subject to removal in a future version.since 18.08.0 - callConfigurationAbstractOrderEntryLinkStrategy.setConfigIdForCartEntry(String, String)insteadvoidsetUiStatusForCartEntry(java.lang.String cartEntryKey, java.lang.Object uiStatus)Stores object for a cart entry key into the sessionvoidsetUiStatusForProduct(java.lang.String productKey, java.lang.Object uiStatus)Stores object for a product key into the session
-
-
-
Method Detail
-
setConfigIdForCartEntry
@Deprecated(since="1808", forRemoval=true) void setConfigIdForCartEntry(java.lang.String cartEntryKey, java.lang.String configId)Deprecated, for removal: This API element is subject to removal in a future version.since 18.08.0 - callConfigurationAbstractOrderEntryLinkStrategy.setConfigIdForCartEntry(String, String)insteadStores configuration ID for a cart entry key into the session- Parameters:
cartEntryKey- String representation of the cart entry primary keyconfigId- ID of a runtime configuration object
-
getConfigIdForCartEntry
@Deprecated(since="1808", forRemoval=true) java.lang.String getConfigIdForCartEntry(java.lang.String cartEntryKey)Deprecated, for removal: This API element is subject to removal in a future version.since 18.08.0 - callConfigurationAbstractOrderEntryLinkStrategy.getConfigIdForCartEntry(String)insteadRetrieves configuration identifier from the session for a given cart entry key- Parameters:
cartEntryKey- String representation of the cart entry primary key- Returns:
- ID of a runtime configuration object
-
getUiStatusForCartEntry
<T> T getUiStatusForCartEntry(java.lang.String cartEntryKey)
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
void setUiStatusForCartEntry(java.lang.String cartEntryKey, java.lang.Object uiStatus)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
void setUiStatusForProduct(java.lang.String productKey, java.lang.Object uiStatus)Stores object for a product key into the session- Parameters:
productKey- Product keyuiStatus- the status of the UI
-
getUiStatusForProduct
<T> T getUiStatusForProduct(java.lang.String productKey)
Retrieves object from the session for a given cart entry key- Parameters:
productKey- Product key- Returns:
- T which represents the UiStatus
-
removeUiStatusForCartEntry
void removeUiStatusForCartEntry(java.lang.String cartEntryKey)
Removes object for a cart entry- Parameters:
cartEntryKey- String representation of the cart entry primary key
-
removeUiStatusForProduct
void removeUiStatusForProduct(java.lang.String productKey)
Removes object for a product- Parameters:
productKey- Product key
-
getCartEntryForConfigId
@Deprecated(since="1808", forRemoval=true) java.lang.String getCartEntryForConfigId(java.lang.String configId)Deprecated, for removal: This API element is subject to removal in a future version.since 18.08.0 - callConfigurationAbstractOrderEntryLinkStrategy.getCartEntryForConfigId(String)insteadRetrieves cart entry key belonging to a specific config ID- Parameters:
configId- ID of the configuration- Returns:
- String representation of the cart entry primary key
-
setCartEntryForProduct
@Deprecated(since="1808", forRemoval=true) void setCartEntryForProduct(java.lang.String productKey, java.lang.String cartEntryId)Deprecated, for removal: This API element is subject to removal in a future version.Stores cart entry in session per product key- Parameters:
productKey- product keycartEntryId- String representation of the cart entry primary key
-
getCartEntryForProduct
@Deprecated(since="1808", forRemoval=true) java.lang.String getCartEntryForProduct(java.lang.String productKey)Deprecated, for removal: This API element is subject to removal in a future version.Retrieves cart entry key per product- Parameters:
productKey- product key- Returns:
- String representation of the cart entry primary key
-
removeCartEntryForProduct
@Deprecated(since="1808", forRemoval=true) void removeCartEntryForProduct(java.lang.String productKey)Deprecated, for removal: This API element is subject to removal in a future version.Removes cart entry key for product- Parameters:
productKey- product key
-
removeConfigIdForCartEntry
@Deprecated(since="1808", forRemoval=true) void removeConfigIdForCartEntry(java.lang.String cartEntryKey)Deprecated, for removal: This API element is subject to removal in a future version.since 18.08.0 - callConfigurationAbstractOrderEntryLinkStrategy.removeConfigIdForCartEntry(String)insteadRemoves configuration ID for cart entry- Parameters:
cartEntryKey- key of the cart entry
-
getSessionId
@Deprecated(since="1811", forRemoval=true) java.lang.String getSessionId()Deprecated, for removal: This API element is subject to removal in a future version.since 18.11.0 - call {@link SessionService#getCurrentSession()#getSessionId()} insteadRetrieves current session id- Returns:
- session id of the current session
-
getConfigurationModelEngineState
@Deprecated(since="1808", forRemoval=true) ConfigModel getConfigurationModelEngineState(java.lang.String configId)Deprecated, for removal: This API element is subject to removal in a future version.since 18.08.0 - callConfigurationModelCacheStrategy.getConfigurationModelEngineState(String)insteadRetrieves configModel from the session cache for a given configId- Parameters:
configId- ID of the configuration- Returns:
- configuration model
-
-