Package | Description |
---|---|
com.atlassian.jira.mock.user | |
com.atlassian.jira.user |
Modifier and Type | Method and Description |
---|---|
void |
MockUserHistoryManager.addItemToHistory(UserHistoryItem.Type type,
ApplicationUser user,
String entityId) |
void |
MockUserHistoryManager.addItemToHistory(UserHistoryItem.Type type,
ApplicationUser user,
String entityId,
String data) |
void |
MockUserHistoryManager.addUserToHistory(UserHistoryItem.Type type,
ApplicationUser user,
ApplicationUser entity) |
List<UserHistoryItem> |
MockUserHistoryManager.getHistory(UserHistoryItem.Type type,
ApplicationUser user) |
boolean |
MockUserHistoryManager.hasHistory(UserHistoryItem.Type type,
ApplicationUser user) |
Modifier and Type | Field and Description |
---|---|
static UserHistoryItem.Type |
UserHistoryItem.ADMIN_PAGE |
static UserHistoryItem.Type |
UserHistoryItem.ASSIGNEE |
static UserHistoryItem.Type |
UserHistoryItem.DASHBOARD |
static UserHistoryItem.Type |
UserHistoryItem.ISSUE |
static UserHistoryItem.Type |
UserHistoryItem.ISSUELINKTYPE |
static UserHistoryItem.Type |
UserHistoryItem.ISSUESEARCHER |
static UserHistoryItem.Type |
UserHistoryItem.JQL_QUERY |
static UserHistoryItem.Type |
UserHistoryItem.PROJECT |
static UserHistoryItem.Type |
UserHistoryItem.RESOLUTION |
static UserHistoryItem.Type |
UserHistoryItem.USED_USER |
Modifier and Type | Method and Description |
---|---|
static UserHistoryItem.Type |
UserHistoryItem.Type.getInstance(String name)
Get a Type.
|
UserHistoryItem.Type |
UserHistoryItem.getType() |
Modifier and Type | Method and Description |
---|---|
Set<UserHistoryItem.Type> |
UserHistoryStore.removeHistoryForUser(ApplicationUser user)
Remove all history items for a given user.
|
Set<UserHistoryItem.Type> |
OfBizUserHistoryStore.removeHistoryForUser(ApplicationUser user) |
Set<UserHistoryItem.Type> |
SessionBasedAnonymousUserHistoryStore.removeHistoryForUser(ApplicationUser user)
Deprecated.
|
Set<UserHistoryItem.Type> |
CachingUserHistoryStore.removeHistoryForUser(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultUserHistoryManager.addItemToHistory(UserHistoryItem.Type type,
ApplicationUser user,
String entityId) |
void |
UserHistoryManager.addItemToHistory(UserHistoryItem.Type type,
ApplicationUser user,
String entityId)
Create and add an
UserHistoryItem to the Users history list. |
void |
DefaultUserHistoryManager.addItemToHistory(UserHistoryItem.Type type,
ApplicationUser user,
String entityId,
String data) |
void |
UserHistoryManager.addItemToHistory(UserHistoryItem.Type type,
ApplicationUser user,
String entityId,
String data)
Create and add an
UserHistoryItem to the Users history list. |
void |
DefaultUserHistoryManager.addUserToHistory(UserHistoryItem.Type type,
ApplicationUser user,
ApplicationUser entity) |
void |
UserHistoryManager.addUserToHistory(UserHistoryItem.Type type,
ApplicationUser user,
ApplicationUser entity)
Create and add an
UserHistoryItem to the Users history list. |
void |
OfBizUserHistoryStore.expireOldHistoryItems(ApplicationUser user,
UserHistoryItem.Type type,
Collection<String> entityIds)
Method for expiring old items.
|
List<UserHistoryItem> |
DefaultUserHistoryManager.getHistory(UserHistoryItem.Type type,
ApplicationUser user) |
List<UserHistoryItem> |
UserHistoryStore.getHistory(UserHistoryItem.Type type,
ApplicationUser user)
Retrieve the history for a given user/type.
|
List<UserHistoryItem> |
OfBizUserHistoryStore.getHistory(UserHistoryItem.Type type,
ApplicationUser user) |
List<UserHistoryItem> |
SessionBasedAnonymousUserHistoryStore.getHistory(UserHistoryItem.Type type,
ApplicationUser user)
Deprecated.
|
List<UserHistoryItem> |
CachingUserHistoryStore.getHistory(UserHistoryItem.Type type,
ApplicationUser user) |
List<UserHistoryItem> |
UserHistoryManager.getHistory(UserHistoryItem.Type type,
ApplicationUser user)
Retreive the user's history queue for the given
UserHistoryItem.Type . |
List<UserHistoryItem> |
UserHistoryStore.getHistory(UserHistoryItem.Type type,
String userKey)
Retrieve the history for a given user/type.
|
List<UserHistoryItem> |
OfBizUserHistoryStore.getHistory(UserHistoryItem.Type type,
String userKey) |
List<UserHistoryItem> |
SessionBasedAnonymousUserHistoryStore.getHistory(UserHistoryItem.Type type,
String userKey)
Deprecated.
|
List<UserHistoryItem> |
CachingUserHistoryStore.getHistory(UserHistoryItem.Type type,
String userKey) |
static int |
CachingUserHistoryStore.getMaxItems(UserHistoryItem.Type type,
ApplicationProperties applicationProperties) |
boolean |
DefaultUserHistoryManager.hasHistory(UserHistoryItem.Type type,
ApplicationUser user) |
boolean |
UserHistoryManager.hasHistory(UserHistoryItem.Type type,
ApplicationUser user)
Determines whether a user has any items in their history for a given
UserHistoryItem.Type
This method performs no permission checks. |
Constructor and Description |
---|
UserHistoryItem(UserHistoryItem.Type type,
String entityId) |
UserHistoryItem(UserHistoryItem.Type type,
String entityId,
long lastViewed) |
UserHistoryItem(UserHistoryItem.Type type,
String entityId,
long lastViewed,
String data) |
UserHistoryItem(UserHistoryItem.Type type,
String entityId,
String data) |
Copyright © 2002-2023 Atlassian. All Rights Reserved.