Class AddLabelToSpaceAction

All Implemented Interfaces:
Evented<SpaceLabelsViewEvent>, WebInterface, SpaceAware, SpaceLabelAware, Spaced, 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
Direct Known Subclasses:
AddTeamLabelToSpaceAction

public class AddLabelToSpaceAction extends EditSpaceLabelAction
labels are added to the Space's SpaceDescription object
See Also:
  • Constructor Details

    • AddLabelToSpaceAction

      public AddLabelToSpaceAction()
  • Method Details

    • validate

      public void validate()
      Specified by:
      validate in interface MessageHolderAware
      Specified by:
      validate in interface org.apache.struts2.Validateable
      Overrides:
      validate in class org.apache.struts2.ActionSupport
    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
      Throws:
      Exception
    • getNewLabel

      public String getNewLabel()
    • getNewTeamLabel

      public String getNewTeamLabel()
    • setNewTeamLabel

      public void setNewTeamLabel(String newTeamLabel)
    • getNewSpaceLabel

      public String getNewSpaceLabel()
    • setNewSpaceLabel

      public void setNewSpaceLabel(String newSpaceLabel)
    • setLabelType

      public void setLabelType(String labelType)
    • performSpaceLabelTransformations

      public void performSpaceLabelTransformations()
      Perform any transformations to the labels required by this specific action. Eg add a prefix to each label.
    • getPermissionTypes

      protected List<String> getPermissionTypes()
      Overrides:
      getPermissionTypes in class AbstractSpaceAdminAction
      See Also: