java.lang.Object
de.hybris.platform.acceleratorstorefrontcommons.history.impl.DefaultBrowseHistory
All Implemented Interfaces:
BrowseHistory

public class DefaultBrowseHistory extends Object implements BrowseHistory
  • Constructor Details

    • DefaultBrowseHistory

      public DefaultBrowseHistory()
  • Method Details

    • getSessionService

      protected de.hybris.platform.servicelayer.session.SessionService getSessionService()
    • setSessionService

      public void setSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService)
    • getCmsSiteService

      protected de.hybris.platform.cms2.servicelayer.services.CMSSiteService getCmsSiteService()
    • setCmsSiteService

      public void setCmsSiteService(de.hybris.platform.cms2.servicelayer.services.CMSSiteService cmsSiteService)
    • getCapacity

      protected int getCapacity()
    • setCapacity

      public void setCapacity(int capacity)
    • addBrowseHistoryEntry

      public void addBrowseHistoryEntry(BrowseHistoryEntry browseHistoryEntry)
      Description copied from interface: BrowseHistory
      Adds the url to the browsing history.
      Specified by:
      addBrowseHistoryEntry in interface BrowseHistory
      Parameters:
      browseHistoryEntry - the BrowseHistoryEntry that will be added to the history
    • getBrowseHistoryEntries

      protected Deque<BrowseHistoryEntry> getBrowseHistoryEntries()
    • findEntryMatchUrlEndsWith

      public BrowseHistoryEntry findEntryMatchUrlEndsWith(String match)
      Specified by:
      findEntryMatchUrlEndsWith in interface BrowseHistory