Class ApplicationBaseAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.ApplicationBaseAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable
Direct Known Subclasses:
ViewApplication

public abstract class ApplicationBaseAction extends BaseAction
Needed so application plugins can get the correct list of web-items without having to depend too heavily on the internals of the way Crowd lays out the page.
See Also:
  • Constructor Details

    • ApplicationBaseAction

      public ApplicationBaseAction()
  • Method Details

    • getWebItemsForApplication

      public List<com.atlassian.plugin.web.api.descriptors.WebItemModuleDescriptor> getWebItemsForApplication() throws ApplicationNotFoundException
      Gets a list of web-items that should be used as tabs in the view of an application. UI elements with a <web-section> of "application-tabs" are part of the system, and defined in system-ui-plugin.xml. Plugins should define their app-specific web-items as "application-tabs:app-name" (eg "application-tabs:google-apps"). Any <web-items> defined for all applications can be defined as part of <web-section> "application-tabs".
      Throws:
      ApplicationNotFoundException
    • getApplication

      public abstract Application getApplication() throws ApplicationNotFoundException
      Throws:
      ApplicationNotFoundException