Class DefaultBrowseHistory
java.lang.Object
de.hybris.platform.acceleratorstorefrontcommons.history.impl.DefaultBrowseHistory
- All Implemented Interfaces:
BrowseHistory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBrowseHistoryEntry(BrowseHistoryEntry browseHistoryEntry) Adds the url to the browsing history.findEntryMatchUrlEndsWith(String match) protected Deque<BrowseHistoryEntry>protected intprotected de.hybris.platform.cms2.servicelayer.services.CMSSiteServiceprotected de.hybris.platform.servicelayer.session.SessionServicevoidsetCapacity(int capacity) voidsetCmsSiteService(de.hybris.platform.cms2.servicelayer.services.CMSSiteService cmsSiteService) voidsetSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService)
-
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
Description copied from interface:BrowseHistoryAdds the url to the browsing history.- Specified by:
addBrowseHistoryEntryin interfaceBrowseHistory- Parameters:
browseHistoryEntry- theBrowseHistoryEntrythat will be added to the history
-
getBrowseHistoryEntries
-
findEntryMatchUrlEndsWith
- Specified by:
findEntryMatchUrlEndsWithin interfaceBrowseHistory
-