com.atlassian.confluence.user.history
Class UserHistory
java.lang.Object
com.atlassian.confluence.user.history.UserHistory
- All Implemented Interfaces:
- Serializable
- public class UserHistory
- extends Object
- implements Serializable
Contains all the information about a user's history.
Currently contains the information about * the most X recent pages viewed.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserHistory
public UserHistory(int historyLength)
addContentEntity
public void addContentEntity(ContentEntityObject content)
addLabel
public void addLabel(Label label)
getMaxHistoryLength
public int getMaxHistoryLength()
setMaxHistoryLength
public void setMaxHistoryLength(int maxHistoryLength)
getContent
public List getContent()
- All the pages, sorted with Most Frequently Used returned at the start
of the list.
If there are no pages, and empty list is returned.
getLabels
public List getLabels()