Class EditQuickFilterRuleAction

    • Constructor Detail

      • EditQuickFilterRuleAction

        public EditQuickFilterRuleAction()
    • Method Detail

      • prepare

        public void prepare()
                     throws Exception
        Specified by:
        prepare in interface com.opensymphony.xwork2.Preparable
        Throws:
        Exception
      • input

        public String input()
        Input form (for either new or existing rule).
        Overrides:
        input in class com.opensymphony.xwork2.ActionSupport
      • execute

        public String execute()
        Save rule (either add or update).
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
      • confirm

        public String confirm()
        Confirm deletion of a quick filter rule.
      • delete

        public String delete()
        Delete quick filter rule.
      • getJsonObject

        @NotNull
        public @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject()
                                                                                   throws com.opensymphony.webwork.dispatcher.json.JSONException
        Description copied from class: BambooActionSupport
        This is default property read by webwork for webwork's result type "json".
        Overrides:
        getJsonObject in class BambooActionSupport
        Returns:
        Throws:
        com.opensymphony.webwork.dispatcher.json.JSONException
        See Also:
        JSON Result

        If descending classes need to add anything to JSON response these should override #buildJsonObject() method.

      • getRuleConfiguration

        @NotNull
        public @NotNull Map<String,​Object> getRuleConfiguration()
      • getQuickFilterId

        public long getQuickFilterId()
      • setQuickFilterId

        public void setQuickFilterId​(long quickFilterId)
      • getRuleId

        public long getRuleId()
      • setRuleId

        public void setRuleId​(long ruleId)
      • getRuleTypeKey

        public String getRuleTypeKey()
      • setRuleTypeKey

        public void setRuleTypeKey​(String ruleTypeKey)
      • getRuleName

        public String getRuleName()
      • setRuleName

        public void setRuleName​(String ruleName)