Class DefaultBrowseHistory
- java.lang.Object
-
- de.hybris.platform.acceleratorstorefrontcommons.history.impl.DefaultBrowseHistory
-
- All Implemented Interfaces:
BrowseHistory
public class DefaultBrowseHistory extends java.lang.Object implements BrowseHistory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultBrowseHistory.InstanceWrapper<T extends java.io.Serializable>
-
Constructor Summary
Constructors Constructor Description DefaultBrowseHistory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBrowseHistoryEntry(BrowseHistoryEntry browseHistoryEntry)Adds the url to the browsing history.BrowseHistoryEntryfindEntryMatchUrlEndsWith(java.lang.String match)protected java.util.Deque<BrowseHistoryEntry>getBrowseHistoryEntries()protected intgetCapacity()protected CMSSiteServicegetCmsSiteService()protected SessionServicegetSessionService()voidsetCapacity(int capacity)voidsetCmsSiteService(CMSSiteService cmsSiteService)voidsetSessionService(SessionService sessionService)
-
-
-
Method Detail
-
getSessionService
protected SessionService getSessionService()
-
setSessionService
public void setSessionService(SessionService sessionService)
-
getCmsSiteService
protected CMSSiteService getCmsSiteService()
-
setCmsSiteService
public void setCmsSiteService(CMSSiteService cmsSiteService)
-
getCapacity
protected int getCapacity()
-
setCapacity
public void setCapacity(int capacity)
-
addBrowseHistoryEntry
public void addBrowseHistoryEntry(BrowseHistoryEntry browseHistoryEntry)
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
protected java.util.Deque<BrowseHistoryEntry> getBrowseHistoryEntries()
-
findEntryMatchUrlEndsWith
public BrowseHistoryEntry findEntryMatchUrlEndsWith(java.lang.String match)
- Specified by:
findEntryMatchUrlEndsWithin interfaceBrowseHistory
-
-