Class DispositionActionDefinitionPost

java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript

public class DispositionActionDefinitionPost extends DispositionAbstractBase
Implementation for Java backed webscript to create a new dispositon action definition.
Author:
Gavin Cornwell
  • Constructor Details

    • DispositionActionDefinitionPost

      public DispositionActionDefinitionPost()
  • Method Details

    • executeImpl

      protected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
      Overrides:
      executeImpl in class org.springframework.extensions.webscripts.DeclarativeWebScript
    • createActionDefinition

      protected DispositionActionDefinition createActionDefinition(org.json.JSONObject json, DispositionSchedule schedule) throws org.json.JSONException
      Creates a dispositionActionDefinition node in the repo.
      Parameters:
      json - The JSON to use to create the action definition
      schedule - The DispositionSchedule the action is for
      Returns:
      The DispositionActionDefinition representing the new action definition
      Throws:
      org.json.JSONException