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 Details

    • getUiStatusForCartEntry

      <T> T getUiStatusForCartEntry(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(String cartEntryKey, Object uiStatus)
      Stores object for a cart entry key into the session
      Parameters:
      cartEntryKey - String representation of the cart entry primary key
      uiStatus - the status of the UI
    • setUiStatusForProduct

      void setUiStatusForProduct(String productKey, Object uiStatus)
      Stores object for a product key into the session
      Parameters:
      productKey - Product key
      uiStatus - the status of the UI
    • getUiStatusForProduct

      <T> T getUiStatusForProduct(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(String cartEntryKey)
      Removes object for a cart entry
      Parameters:
      cartEntryKey - String representation of the cart entry primary key
    • removeUiStatusForProduct

      void removeUiStatusForProduct(String productKey)
      Removes object for a product
      Parameters:
      productKey - Product key