|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserIssueHistoryManager
A wrapper of the UserHistoryManager
that allows you to deal directly with Issue objects
Field Summary | |
---|---|
static int |
DEFAULT_ISSUE_HISTORY_DROPDOWN_ITEMS
|
Method Summary | |
---|---|
void |
addIssueToHistory(com.atlassian.crowd.embedded.api.User user,
Issue issue)
Add an Issue to the user hsitory list. |
List<UserHistoryItem> |
getFullIssueHistoryWithoutPermissionChecks(com.atlassian.crowd.embedded.api.User user)
Retreive the user's issue history queue. |
List<UserHistoryItem> |
getFullIssueHistoryWithPermissionChecks(com.atlassian.crowd.embedded.api.User user)
Retreive the user's issue history queue. |
List<Issue> |
getShortIssueHistory(com.atlassian.crowd.embedded.api.User user)
Retreive the first X (jira.max.issue.history.dropdown.items) Issues from the user's issue history queue. |
boolean |
hasIssueHistory(com.atlassian.crowd.embedded.api.User user)
Determines whether the user has a current issue history. |
Field Detail |
---|
static final int DEFAULT_ISSUE_HISTORY_DROPDOWN_ITEMS
Method Detail |
---|
void addIssueToHistory(com.atlassian.crowd.embedded.api.User user, Issue issue)
Issue
to the user hsitory list.
A null users history should still be stored, even if only for duration of session
user
- The user to add the history item toissue
- The issue to add to the history listboolean hasIssueHistory(com.atlassian.crowd.embedded.api.User user)
user
- The user to check for.
@Nonnull List<UserHistoryItem> getFullIssueHistoryWithoutPermissionChecks(com.atlassian.crowd.embedded.api.User user)
user
- The user to get the history issue items for.
@Nonnull List<UserHistoryItem> getFullIssueHistoryWithPermissionChecks(com.atlassian.crowd.embedded.api.User user)
user
- The user to get the history issue items for.
@Nonnull List<Issue> getShortIssueHistory(com.atlassian.crowd.embedded.api.User user)
user
- The user to get the history issue items for.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |