java.lang.Object | |
↳ | com.atlassian.jira.user.SessionBasedAnonymousUserHistoryStore |
Session based caching implementation of UserHistoryStore
. Allows anonymous users to have history.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a history item to the database.
| |||||||||||
Retrieve the history for a given user/type.
| |||||||||||
Retrieve the history for a given user/type.
| |||||||||||
Remove all history items for a given user.
|
[Expand]
Inherited Methods | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||||
From interface
com.atlassian.jira.user.UserHistoryStore
|
Add a history item to the database. This removes the currently referred to entity (user, type, id) from the list and then adds it. If adding it causes the history items stored for that user/type to exceed the max (jira.max.history.items) items allowed, it should remove the oldest items.
user | The user to store the history item against |
---|---|
historyItem | the item to store. Containing a timestamp and referenced entity |
Retrieve the history for a given user/type.
type | The type of entity to retrieve history for. |
---|---|
user | The user to retrieve history for. |
Retrieve the history for a given user/type.
type | The type of entity to retrieve history for. |
---|---|
userKey | The key of the user to retrieve history for. |
Remove all history items for a given user.
user | The user to remove all history of. |
---|