public class DefaultUserAdminHistoryManager extends Object implements UserAdminHistoryManager
UserHistoryManager
to work directly with admin pages
and perform permission checks. The key stored and used for admin pag eretrieval is the link id of the
WebItemModuleDescriptorDEFAULT_ADMIN_HISTORY_DROPDOWN_ITEMS
Constructor and Description |
---|
DefaultUserAdminHistoryManager(UserHistoryManager userHistoryManager) |
Modifier and Type | Method and Description |
---|---|
void |
addAdminPageToHistory(ApplicationUser user,
String key,
String data)
Add an admin page to the user history list.
|
List<UserHistoryItem> |
getAdminPageHistoryWithoutPermissionChecks(ApplicationUser user)
Retreive the user's admin page history queue.
|
public DefaultUserAdminHistoryManager(UserHistoryManager userHistoryManager)
public void addAdminPageToHistory(ApplicationUser user, String key, String data)
UserAdminHistoryManager
addAdminPageToHistory
in interface UserAdminHistoryManager
user
- The user to add the history item tokey
- The link id of the admin page to add to historydata
- The url of the link (for breaking ties between sections)public List<UserHistoryItem> getAdminPageHistoryWithoutPermissionChecks(ApplicationUser user)
UserAdminHistoryManager
getAdminPageHistoryWithoutPermissionChecks
in interface UserAdminHistoryManager
user
- The user to get the history admin page items for.Copyright © 2002-2017 Atlassian. All Rights Reserved.