Class ViewSpaceDirectoryAction

java.lang.Object
org.apache.struts2.ActionSupport
com.opensymphony.xwork2.ActionSupport
com.atlassian.confluence.core.AbstractI18nActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.plugins.spacedirectory.ViewSpaceDirectoryAction
All Implemented Interfaces:
WebInterface, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable

public class ViewSpaceDirectoryAction extends ConfluenceActionSupport
See Also:
  • Field Details

    • BLANK_EXPERIENCE_SPACE_THRESHOLD

      public static final int BLANK_EXPERIENCE_SPACE_THRESHOLD
      See Also:
  • Constructor Details

  • Method Details

    • getPaginationSupport

      public PaginationSupport<Space> getPaginationSupport()
    • convertToNiceTeamLabel

      public String convertToNiceTeamLabel(String teamLabel)
      Used in velocity. Takes a string and changes the first letter to be uppercase
      Parameters:
      teamLabel - - label to be converted
      Returns:
      converted team label
    • getSpaces

      public List<Space> getSpaces()
    • getTeamLabels

      public List<Label> getTeamLabels()
    • getTeamLabel

      public String getTeamLabel()
    • getLogoDownloadPath

      public String getLogoDownloadPath(Space space)
    • getPageSize

      public int getPageSize()
    • setTeamLabel

      public void setTeamLabel(String teamLabel)
    • setStartIndex

      public void setStartIndex(int startIndex)
    • setSelectedSpaceCategory

      public void setSelectedSpaceCategory(String selectedSpaceCategory)
    • getSelectedSpaceCategory

      public String getSelectedSpaceCategory()
    • isShowBlankExperience

      public boolean isShowBlankExperience()
    • isHasCreatePermission

      public boolean isHasCreatePermission()
    • execute

      public String execute()
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport