com.atlassian.jira.plugin.webfragment
Class JiraWebInterfaceManager

java.lang.Object
  extended by com.atlassian.jira.plugin.webfragment.JiraWebInterfaceManager

public class JiraWebInterfaceManager
extends Object

Jira wrapper for the WebInterfaceManager. If generating simple links for menus, use SimpleLinkManager as then consumers can insert SimpleLinkFactory into the link generation process.


Field Summary
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 Summary
JiraWebInterfaceManager(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT_KEY_USER

public static final String CONTEXT_KEY_USER
See Also:
Constant Field Values

CONTEXT_KEY_USERNAME

public static final String CONTEXT_KEY_USERNAME
See Also:
Constant Field Values

CONTEXT_KEY_HELPER

public static final String CONTEXT_KEY_HELPER
See Also:
Constant Field Values

CONTEXT_KEY_LOCATION

public static final String CONTEXT_KEY_LOCATION
See Also:
Constant Field Values

CONTEXT_KEY_I18N

public static final String CONTEXT_KEY_I18N
See Also:
Constant Field Values
Constructor Detail

JiraWebInterfaceManager

public JiraWebInterfaceManager(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager)
Method Detail

hasSectionsForLocation

public boolean hasSectionsForLocation(String location)

getSections

public List getSections(String location)

getDisplayableSections

public List getDisplayableSections(String location,
                                   com.atlassian.crowd.embedded.api.User remoteUser,
                                   JiraHelper jiraHelper)

getItems

public List getItems(String section)

getDisplayableItems

public List getDisplayableItems(String section,
                                com.atlassian.crowd.embedded.api.User remoteUser,
                                JiraHelper jiraHelper)

refresh

public void refresh()

getWebFragmentHelper

public com.atlassian.plugin.web.WebFragmentHelper getWebFragmentHelper()

makeContext

protected Map<String,Object> makeContext(com.atlassian.crowd.embedded.api.User remoteUser,
                                         JiraHelper jiraHelper)


Copyright © 2002-2013 Atlassian. All Rights Reserved.