org.alfresco.repo.web.scripts.workflow
Class WorkflowInstancesGet
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.repo.web.scripts.workflow.AbstractWorkflowWebscript
org.alfresco.repo.web.scripts.workflow.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
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript |
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails |
Fields inherited from class org.alfresco.repo.web.scripts.workflow.AbstractWorkflowWebscript |
authenticationService, authorityService, DEFAULT_MAX_ITEMS, DEFAULT_SKIP_COUNT, dictionaryService, EMPTY, namespaceService, nodeService, NULL, PARAM_EXCLUDE, PARAM_MAX_ITEMS, PARAM_SKIP_COUNT, personService, workflowService |
Method Summary |
protected java.util.Map |
buildModel(WorkflowModelBuilder modelBuilder,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache)
This method uses a WorkflowModelBuilder to build up the model to return. |
Methods inherited from class org.alfresco.repo.web.scripts.workflow.AbstractWorkflowWebscript |
applyPagination, createResultModel, executeImpl, getDateParameter, getIntParameter, isDateMatchForFilter, processDateFilter, setAuthenticationService, setAuthorityService, setDictionaryService, setNamespaceService, setNodeService, setPersonService, setWorkflowService |
Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript |
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate |
Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript |
createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PARAM_STATE
public static final java.lang.String PARAM_STATE
- See Also:
- Constant Field Values
PARAM_INITIATOR
public static final java.lang.String PARAM_INITIATOR
- See Also:
- Constant Field Values
PARAM_PRIORITY
public static final java.lang.String PARAM_PRIORITY
- See Also:
- Constant Field Values
PARAM_DUE_BEFORE
public static final java.lang.String PARAM_DUE_BEFORE
- See Also:
- Constant Field Values
PARAM_DUE_AFTER
public static final java.lang.String PARAM_DUE_AFTER
- 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
WorkflowInstancesGet
public WorkflowInstancesGet()
buildModel
protected java.util.Map 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.
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.