Class WorkflowInstancesGet

  • All Implemented Interfaces:
    org.springframework.extensions.webscripts.WebScript

    public class WorkflowInstancesGet
    extends AbstractWorkflowWebscript
    Java backed implementation for REST API to retrieve workflow instances.
    Since:
    3.4
    Author:
    Gavin Cornwell
    • Field Detail

      • PARAM_DUE_BEFORE

        public static final java.lang.String PARAM_DUE_BEFORE
        See Also:
        Constant Field Values
      • PARAM_STARTED_BEFORE

        public static final java.lang.String PARAM_STARTED_BEFORE
        See Also:
        Constant Field Values
      • PARAM_STARTED_AFTER

        public static final java.lang.String PARAM_STARTED_AFTER
        See Also:
        Constant Field Values
      • PARAM_COMPLETED_BEFORE

        public static final java.lang.String PARAM_COMPLETED_BEFORE
        See Also:
        Constant Field Values
      • PARAM_COMPLETED_AFTER

        public static final java.lang.String PARAM_COMPLETED_AFTER
        See Also:
        Constant Field Values
      • PARAM_DEFINITION_NAME

        public static final java.lang.String PARAM_DEFINITION_NAME
        See Also:
        Constant Field Values
      • PARAM_DEFINITION_ID

        public static final java.lang.String PARAM_DEFINITION_ID
        See Also:
        Constant Field Values
      • VAR_DEFINITION_ID

        public static final java.lang.String VAR_DEFINITION_ID
        See Also:
        Constant Field Values
      • QNAME_INITIATOR

        public static final org.alfresco.service.namespace.QName QNAME_INITIATOR
    • Constructor Detail

      • WorkflowInstancesGet

        public WorkflowInstancesGet()
    • Method Detail

      • buildModel

        protected java.util.Map<java.lang.String,​java.lang.Object> buildModel​(WorkflowModelBuilder modelBuilder,
                                                                                    org.springframework.extensions.webscripts.WebScriptRequest req,
                                                                                    org.springframework.extensions.webscripts.Status status,
                                                                                    org.springframework.extensions.webscripts.Cache cache)
        Description copied from class: AbstractWorkflowWebscript
        This method uses a WorkflowModelBuilder to build up the model to return.
        Specified by:
        buildModel in class AbstractWorkflowWebscript
        Parameters:
        modelBuilder - A WorkflowModelBuilder.
        req - the WebScriptRequest
        status - the Status
        cache - the Cache
        Returns:
        the data model.