Class AddUserMacroAction

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

public class AddUserMacroAction extends UserMacroAction
Action for adding a user macro
See Also:
  • Constructor Details

    • AddUserMacroAction

      public AddUserMacroAction()
  • Method Details

    • validate

      public void validate()
      Specified by:
      validate in interface MessageHolderAware
      Specified by:
      validate in interface com.opensymphony.xwork2.Validateable
      Overrides:
      validate in class com.opensymphony.xwork2.ActionSupport
    • doDefault

      public String doDefault() throws Exception
      Description copied from class: ConfluenceActionSupport
      Convenient Action execution method which defaults to returning INPUT
      Overrides:
      doDefault in class UserMacroAction
      Throws:
      Exception
    • doAdd

      public String doAdd()
    • getMode

      public String getMode()
    • getOutputTypes

      public List<HTMLPairType> getOutputTypes()
      Creating a new macro only support one template type; HTML.
    • getTitleKey

      public String getTitleKey()
    • getSubmitKey

      public String getSubmitKey()
    • getStart

      public boolean getStart()