com.atlassian.jira.user
Class UserHistory
java.lang.Object
com.atlassian.jira.user.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 issues viewed.
- See Also:
- Serialized Form
Nested Class Summary |
static class |
UserHistory.IssueSummary
Inner class to contain information to be stored about each issue. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
UserHistory
public UserHistory(int historyLength)
addIssue
public void addIssue(String issueKey,
String summary)
removeIssue
public void removeIssue(String issueKey)
getMaxHistoryLength
public int getMaxHistoryLength()
setMaxHistoryLength
public void setMaxHistoryLength(int maxHistoryLength)
getIssues
public Collection getIssues()
- All the issues, sorted with Most Frequently Used returned at the start
of the list.
If there are no issues, and empty list is returned.
- Returns:
- A collection of
UserHistory.IssueSummary
objects
Copyright © 2002-2007 Atlassian. All Rights Reserved.