com.atlassian.confluence.user.history
Class UserHistory

java.lang.Object
  extended bycom.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

Constructor Summary
UserHistory(int historyLength)
           
 
Method Summary
 void addContentEntity(ContentEntityObject content)
           
 void addLabel(Label label)
           
 List getContent()
          All the pages, sorted with Most Frequently Used returned at the start of the list.
 List getLabels()
           
 int getMaxHistoryLength()
           
 void setMaxHistoryLength(int maxHistoryLength)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserHistory

public UserHistory(int historyLength)
Method Detail

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()


Confluence is developed by Atlassian.