Class DispositionAbstractBase

    • Field Detail

    • Constructor Detail

      • DispositionAbstractBase

        public DispositionAbstractBase()
    • Method Detail

      • parseRequestForSchedule

        protected DispositionSchedule parseRequestForSchedule​(org.springframework.extensions.webscripts.WebScriptRequest req)
        Parses the request and providing it's valid returns the DispositionSchedule object.
        Parameters:
        req - The webscript request
        Returns:
        The DispositionSchedule object the request is aimed at
      • parseRequestForActionDefinition

        protected DispositionActionDefinition parseRequestForActionDefinition​(org.springframework.extensions.webscripts.WebScriptRequest req,
                                                                              DispositionSchedule schedule)
        Parses the request and providing it's valid returns the DispositionActionDefinition object.
        Parameters:
        req - The webscript request
        schedule - The disposition schedule
        Returns:
        The DispositionActionDefinition object the request is aimed at
      • createActionDefModel

        protected Map<String,​Object> createActionDefModel​(DispositionActionDefinition actionDef,
                                                                String url)
        Helper to create a model to represent the given disposition action definition.
        Parameters:
        actionDef - The DispositionActionDefinition instance to generate model for
        url - The URL for the DispositionActionDefinition
        Returns:
        Map representing the model
      • getDispositionScheduleModel

        protected Map<String,​Object> getDispositionScheduleModel​(org.springframework.extensions.webscripts.WebScriptRequest req)
        Helper method to parse the request and retrieve the disposition schedule model.
        Parameters:
        req - The webscript request
        Returns:
        Map representing the model