|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.user.DefaultUserIssueHistoryManager
public class DefaultUserIssueHistoryManager
A convenience wrapper around the UserHistoryManager to work directly with issues and
perform permission checks
| Field Summary |
|---|
| Fields inherited from interface com.atlassian.jira.user.UserIssueHistoryManager |
|---|
DEFAULT_ISSUE_HISTORY_DROPDOWN_ITEMS |
| Constructor Summary | |
|---|---|
DefaultUserIssueHistoryManager(UserHistoryManager userHistoryManager,
PermissionManager permissionManager,
IssueManager issueManager,
ApplicationProperties applicationProperties)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultUserIssueHistoryManager(UserHistoryManager userHistoryManager,
PermissionManager permissionManager,
IssueManager issueManager,
ApplicationProperties applicationProperties)
| Method Detail |
|---|
public void addIssueToHistory(@NotNull
com.atlassian.crowd.embedded.api.User user,
@NotNull
Issue issue)
UserIssueHistoryManagerIssue to the user hsitory list.
A null users history should still be stored, even if only for duration of session
addIssueToHistory in interface UserIssueHistoryManageruser - The user to add the history item toissue - The issue to add to the history listpublic boolean hasIssueHistory(com.atlassian.crowd.embedded.api.User user)
UserIssueHistoryManager
hasIssueHistory in interface UserIssueHistoryManageruser - The user to check for.
@NotNull public List<UserHistoryItem> getFullIssueHistoryWithoutPermissionChecks(com.atlassian.crowd.embedded.api.User user)
UserIssueHistoryManager
getFullIssueHistoryWithoutPermissionChecks in interface UserIssueHistoryManageruser - The user to get the history issue items for.
public List<UserHistoryItem> getFullIssueHistoryWithPermissionChecks(com.atlassian.crowd.embedded.api.User user)
UserIssueHistoryManager
getFullIssueHistoryWithPermissionChecks in interface UserIssueHistoryManageruser - The user to get the history issue items for.
@NotNull public List<Issue> getShortIssueHistory(com.atlassian.crowd.embedded.api.User user)
UserIssueHistoryManager
getShortIssueHistory in interface UserIssueHistoryManageruser - 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 | |||||||||