com.atlassian.confluence.plugin.descriptor.web
Class ConfluenceWebInterfaceManager
java.lang.Object
com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager
- All Implemented Interfaces:
- WebInterfaceManager
public class ConfluenceWebInterfaceManager
- extends Object
- implements WebInterfaceManager
Stores and manages flexible web interface sections available in the system.
Method Summary |
List |
getDisplayableItems(String key,
Map params)
|
List |
getDisplayableItems(String section,
User remoteUser,
GlobalHelper helper)
Deprecated. since 2.8 use getDisplayableItems(String, WebInterfaceContext) with the result of
getWebInterfaceContext() on your action. |
List |
getDisplayableItems(String key,
WebInterfaceContext context)
|
List |
getDisplayableSections(String key,
Map params)
|
List |
getDisplayableSections(String location,
User remoteUser,
GlobalHelper helper)
Deprecated. since 2.8 use getDisplayableSections(String, WebInterfaceContext) with the result of
ConfluenceActionSupport.getWebInterfaceContext() . |
List |
getDisplayableSections(String key,
WebInterfaceContext context)
|
List |
getItems(String section)
|
List |
getSections(String location)
|
WebFragmentHelper |
getWebFragmentHelper()
|
boolean |
hasSectionsForLocation(String location)
|
void |
refresh()
|
void |
setWebInterfaceManager(WebInterfaceManager webInterfaceManager)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTEXT_KEY_HELPER
public static final String CONTEXT_KEY_HELPER
- Deprecated. since 2.8 see
WebInterfaceContext
- See Also:
- Constant Field Values
ConfluenceWebInterfaceManager
public ConfluenceWebInterfaceManager()
getWebFragmentHelper
public WebFragmentHelper getWebFragmentHelper()
- Specified by:
getWebFragmentHelper
in interface WebInterfaceManager
hasSectionsForLocation
public boolean hasSectionsForLocation(String location)
- Specified by:
hasSectionsForLocation
in interface WebInterfaceManager
getSections
public List getSections(String location)
- Specified by:
getSections
in interface WebInterfaceManager
getDisplayableSections
public List getDisplayableSections(String key,
Map params)
- Specified by:
getDisplayableSections
in interface WebInterfaceManager
getDisplayableSections
public List getDisplayableSections(String key,
WebInterfaceContext context)
getDisplayableSections
public List getDisplayableSections(String location,
User remoteUser,
GlobalHelper helper)
- Deprecated. since 2.8 use
getDisplayableSections(String, WebInterfaceContext)
with the result of
ConfluenceActionSupport.getWebInterfaceContext()
.
getItems
public List getItems(String section)
- Specified by:
getItems
in interface WebInterfaceManager
getDisplayableItems
public List getDisplayableItems(String key,
Map params)
- Specified by:
getDisplayableItems
in interface WebInterfaceManager
getDisplayableItems
public List getDisplayableItems(String key,
WebInterfaceContext context)
getDisplayableItems
public List getDisplayableItems(String section,
User remoteUser,
GlobalHelper helper)
- Deprecated. since 2.8 use
getDisplayableItems(String, WebInterfaceContext)
with the result of
getWebInterfaceContext() on your action.
refresh
public void refresh()
- Specified by:
refresh
in interface WebInterfaceManager
setWebInterfaceManager
public void setWebInterfaceManager(WebInterfaceManager webInterfaceManager)