Class TaskInstancesGet
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.TaskInstancesGet
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
Webscript impelementation to return workflow task instances.
- Since:
- 3.4
- Author:
- Nick Smith, Gavin Cornwell
-
Nested Class Summary
Nested classes/interfaces inherited from class org.alfresco.repo.web.scripts.workflow.AbstractWorkflowWebscript
AbstractWorkflowWebscript.ExcludeFilter
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildModel
(WorkflowModelBuilder modelBuilder, org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache) This method uses aWorkflowModelBuilder
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
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
-
Field Details
-
PARAM_AUTHORITY
- See Also:
-
PARAM_STATE
- See Also:
-
PARAM_PRIORITY
- See Also:
-
PARAM_DUE_BEFORE
- See Also:
-
PARAM_DUE_AFTER
- See Also:
-
PARAM_PROPERTIES
- See Also:
-
PARAM_POOLED_TASKS
- See Also:
-
PARAM_PROPERTY
- See Also:
-
VAR_WORKFLOW_INSTANCE_ID
- See Also:
-
-
Constructor Details
-
TaskInstancesGet
public TaskInstancesGet()
-
-
Method Details
-
buildModel
protected Map<String,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 aWorkflowModelBuilder
to build up the model to return.- Specified by:
buildModel
in classAbstractWorkflowWebscript
- Parameters:
modelBuilder
- AWorkflowModelBuilder
.req
- theWebScriptRequest
status
- theStatus
cache
- theCache
- Returns:
- the data model.
-