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
public class TaskInstancesGet extends AbstractWorkflowWebscript
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
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARAM_AUTHORITYstatic StringPARAM_DUE_AFTERstatic StringPARAM_DUE_BEFOREstatic StringPARAM_POOLED_TASKSstatic StringPARAM_PRIORITYstatic StringPARAM_PROPERTIESstatic StringPARAM_PROPERTYstatic StringPARAM_STATEstatic StringVAR_WORKFLOW_INSTANCE_ID-
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 Constructor Description TaskInstancesGet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)This method uses aWorkflowModelBuilderto 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 Detail
-
PARAM_AUTHORITY
public static final String PARAM_AUTHORITY
- See Also:
- Constant Field Values
-
PARAM_STATE
public static final String PARAM_STATE
- See Also:
- Constant Field Values
-
PARAM_PRIORITY
public static final String PARAM_PRIORITY
- See Also:
- Constant Field Values
-
PARAM_DUE_BEFORE
public static final String PARAM_DUE_BEFORE
- See Also:
- Constant Field Values
-
PARAM_DUE_AFTER
public static final String PARAM_DUE_AFTER
- See Also:
- Constant Field Values
-
PARAM_PROPERTIES
public static final String PARAM_PROPERTIES
- See Also:
- Constant Field Values
-
PARAM_POOLED_TASKS
public static final String PARAM_POOLED_TASKS
- See Also:
- Constant Field Values
-
PARAM_PROPERTY
public static final String PARAM_PROPERTY
- See Also:
- Constant Field Values
-
VAR_WORKFLOW_INSTANCE_ID
public static final String VAR_WORKFLOW_INSTANCE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
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:AbstractWorkflowWebscriptThis method uses aWorkflowModelBuilderto build up the model to return.- Specified by:
buildModelin classAbstractWorkflowWebscript- Parameters:
modelBuilder- AWorkflowModelBuilder.req- theWebScriptRequeststatus- theStatuscache- theCache- Returns:
- the data model.
-
-