java.lang.Object | |
↳ | com.atlassian.jira.user.DefaultUserProjectHistoryManager |
Convienience wrapper for the UserHistoryManager
that deals directly with Projects.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a
Project to the user hsitory list. | |||||||||||
Gets the last viewed project that the user visted and still has permission to see.
| |||||||||||
Retreive the user's project history queue.
| |||||||||||
Retreive the user's project history queue.
| |||||||||||
Retreive the user's project history queue.
| |||||||||||
Determines whether the user has a current project history.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||||||||
From interface
com.atlassian.jira.user.UserProjectHistoryManager
|
Add a Project
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 to |
---|---|
project | The project to add to the history list |
Gets the last viewed project that the user visted and still has permission to see. This method also performs permission checks against the project to ensure that user can see it.
permission | the permission the user must have for the project |
---|---|
user | The user to get teh history for. |
Retreive the user's project history queue. The list is returned ordered by DESC lastViewed date (i.e. newest is first). This method performs permission checks.
permission | The permission the user must have for the project |
---|---|
user | The user to get the history project items for. |
Retreive the user's project history queue. The list is returned ordered by DESC lastViewed date (i.e. newest is first). This method performs permission checks.
projectAction | The projectAction the user must have for the project |
---|---|
user | The user to get the history project items for. |
Retreive the user's project history queue. The list is returned ordered by DESC lastViewed date (i.e. newest is first). This method performs no permission checks. And is extremely fast.
user | The user to get the history project items for. |
---|
Determines whether the user has a current project history. This method also performs permission checks against the project to ensure that user can see atleast 1 project.
permission | the permission to check against |
---|---|
user | The user to check for. |