Class DispositionActionDefinitionPost

  • 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 Detail

      • DispositionActionDefinitionPost

        public DispositionActionDefinitionPost()
    • Method Detail

      • 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