public class JiraWebInterfaceManager extends Object
WebInterfaceManager
.
If generating simple links for menus, use SimpleLinkManager
as then consumers
can insert SimpleLinkFactory
into the link generation process.Modifier and Type | Field and Description |
---|---|
static String |
CONTEXT_KEY_HELPER |
static String |
CONTEXT_KEY_I18N |
static String |
CONTEXT_KEY_LOCATION |
static String |
CONTEXT_KEY_USER |
static String |
CONTEXT_KEY_USERNAME |
Constructor and Description |
---|
JiraWebInterfaceManager(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager) |
Modifier and Type | Method and Description |
---|---|
List |
getDisplayableItems(String section,
com.atlassian.crowd.embedded.api.User remoteUser,
JiraHelper jiraHelper) |
List |
getDisplayableSections(String location,
com.atlassian.crowd.embedded.api.User remoteUser,
JiraHelper jiraHelper) |
List |
getItems(String section) |
List |
getSections(String location) |
com.atlassian.plugin.web.WebFragmentHelper |
getWebFragmentHelper() |
boolean |
hasSectionsForLocation(String location) |
protected Map<String,Object> |
makeContext(com.atlassian.crowd.embedded.api.User remoteUser,
JiraHelper jiraHelper) |
void |
refresh() |
public static final String CONTEXT_KEY_USER
public static final String CONTEXT_KEY_USERNAME
public static final String CONTEXT_KEY_HELPER
public static final String CONTEXT_KEY_LOCATION
public static final String CONTEXT_KEY_I18N
public JiraWebInterfaceManager(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager)
public boolean hasSectionsForLocation(String location)
public List getDisplayableSections(String location, com.atlassian.crowd.embedded.api.User remoteUser, JiraHelper jiraHelper)
public List getDisplayableItems(String section, com.atlassian.crowd.embedded.api.User remoteUser, JiraHelper jiraHelper)
public void refresh()
public com.atlassian.plugin.web.WebFragmentHelper getWebFragmentHelper()
protected Map<String,Object> makeContext(com.atlassian.crowd.embedded.api.User remoteUser, JiraHelper jiraHelper)
Copyright © 2002-2012 Atlassian. All Rights Reserved.