Class WorkflowModelBuilder
java.lang.Object
org.alfresco.repo.web.scripts.workflow.WorkflowModelBuilder
- Since:
- 3.4
- Author:
- Nick Smith
-
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
static 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
static 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
static 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
static 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
static 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
static 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
static 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
static final String
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowModelBuilder
(org.alfresco.service.namespace.NamespaceService namespaceService, NodeService nodeService, AuthenticationService authenticationService, PersonService personService, WorkflowService workflowService, org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) -
Method Summary
Modifier and TypeMethodDescriptionbuildDetailed
(WorkflowDefinition workflowDefinition) Returns a detailed representation of aWorkflowDefinition
.buildDetailed
(WorkflowInstance workflowInstance, boolean includeTasks) Returns a detailed representation of aWorkflowInstance
.buildDetailed
(WorkflowTask workflowTask) Returns a detailed representation of aWorkflowTask
.buildSimple
(WorkflowDefinition workflowDefinition) Returns a simple representation of aWorkflowDefinition
.buildSimple
(WorkflowInstance workflowInstance) Returns a simple representation of aWorkflowInstance
.buildSimple
(WorkflowTask task, Collection<String> propertyFilters) Returns a simple representation of aWorkflowTask
.
-
Field Details
-
PERSON_LAST_NAME
- See Also:
-
PERSON_FIRST_NAME
- See Also:
-
PERSON_USER_NAME
- See Also:
-
PERSON_AVATAR
- See Also:
-
TASK_PROPERTIES
- See Also:
-
TASK_PROPERTIY_LABELS
- See Also:
-
TASK_OWNER
- See Also:
-
TASK_CREATOR
- See Also:
-
TASK_STATE
- See Also:
-
TASK_DESCRIPTION
- See Also:
-
TASK_TITLE
- See Also:
-
TASK_NAME
- See Also:
-
TASK_URL
- See Also:
-
TASK_IS_POOLED
- See Also:
-
TASK_IS_EDITABLE
- See Also:
-
TASK_IS_REASSIGNABLE
- See Also:
-
TASK_IS_CLAIMABLE
- See Also:
-
TASK_IS_RELEASABLE
- See Also:
-
TASK_ID
- See Also:
-
TASK_PATH
- See Also:
-
TASK_DEFINITION
- See Also:
-
TASK_OUTCOME
- See Also:
-
TASK_DEFINITION_ID
- See Also:
-
TASK_DEFINITION_URL
- See Also:
-
TASK_DEFINITION_TYPE
- See Also:
-
TASK_DEFINITION_NODE
- See Also:
-
TASK_WORKFLOW_INSTANCE
- See Also:
-
TASK_WORKFLOW_INSTANCE_ID
- See Also:
-
TASK_WORKFLOW_INSTANCE_URL
- See Also:
-
TASK_WORKFLOW_INSTANCE_NAME
- See Also:
-
TASK_WORKFLOW_INSTANCE_TITLE
- See Also:
-
TASK_WORKFLOW_INSTANCE_DESCRIPTION
- See Also:
-
TASK_WORKFLOW_INSTANCE_MESSAGE
- See Also:
-
TASK_WORKFLOW_INSTANCE_IS_ACTIVE
- See Also:
-
TASK_WORKFLOW_INSTANCE_START_DATE
- See Also:
-
TASK_WORKFLOW_INSTANCE_DUE_DATE
- See Also:
-
TASK_WORKFLOW_INSTANCE_END_DATE
- See Also:
-
TASK_WORKFLOW_INSTANCE_PRIORITY
- See Also:
-
TASK_WORKFLOW_INSTANCE_INITIATOR
- See Also:
-
TASK_WORKFLOW_INSTANCE_CONTEXT
- See Also:
-
TASK_WORKFLOW_INSTANCE_PACKAGE
- See Also:
-
TASK_WORKFLOW_INSTANCE_START_TASK_INSTANCE_ID
- See Also:
-
TASK_WORKFLOW_INSTANCE_DEFINITION
- See Also:
-
TASK_WORKFLOW_INSTANCE_TASKS
- See Also:
-
TASK_WORKFLOW_INSTANCE_DEFINITION_URL
- See Also:
-
TASK_WORKFLOW_INSTANCE_DIAGRAM_URL
- See Also:
-
TASK_WORKFLOW_INSTANCE_INITIATOR_USERNAME
- See Also:
-
TASK_WORKFLOW_INSTANCE_INITIATOR_FIRSTNAME
- See Also:
-
TASK_WORKFLOW_INSTANCE_INITIATOR_LASTNAME
- See Also:
-
TYPE_DEFINITION_NAME
- See Also:
-
TYPE_DEFINITION_TITLE
- See Also:
-
TYPE_DEFINITION_DESCRIPTION
- See Also:
-
TYPE_DEFINITION_URL
- See Also:
-
WORKFLOW_NODE_NAME
- See Also:
-
WORKFLOW_NODE_TITLE
- See Also:
-
WORKFLOW_NODE_DESCRIPTION
- See Also:
-
WORKFLOW_NODE_IS_TASK_NODE
- See Also:
-
WORKFLOW_NODE_TRANSITIONS
- See Also:
-
WORKFLOW_NODE_TRANSITION_ID
- See Also:
-
WORKFLOW_NODE_TRANSITION_TITLE
- See Also:
-
WORKFLOW_NODE_TRANSITION_DESCRIPTION
- See Also:
-
WORKFLOW_NODE_TRANSITION_IS_DEFAULT
- See Also:
-
WORKFLOW_NODE_TRANSITION_IS_HIDDEN
- See Also:
-
WORKFLOW_DEFINITION_ID
- See Also:
-
WORKFLOW_DEFINITION_URL
- See Also:
-
WORKFLOW_DEFINITION_NAME
- See Also:
-
WORKFLOW_DEFINITION_TITLE
- See Also:
-
WORKFLOW_DEFINITION_DESCRIPTION
- See Also:
-
WORKFLOW_DEFINITION_VERSION
- See Also:
-
WORKFLOW_DEFINITION_START_TASK_DEFINITION_URL
- See Also:
-
WORKFLOW_DEFINITION_START_TASK_DEFINITION_TYPE
- See Also:
-
WORKFLOW_DEFINITION_TASK_DEFINITIONS
- See Also:
-
TASK_OUTCOME_MESSAGE_PREFIX
- See Also:
-
-
Constructor Details
-
WorkflowModelBuilder
public WorkflowModelBuilder(org.alfresco.service.namespace.NamespaceService namespaceService, NodeService nodeService, AuthenticationService authenticationService, PersonService personService, WorkflowService workflowService, org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
-
-
Method Details
-
buildSimple
Returns a simple representation of aWorkflowTask
.- Parameters:
task
- The task to be represented.propertyFilters
- Specify which properties to include.- Returns:
- Map
-
buildDetailed
Returns a detailed representation of aWorkflowTask
.- Parameters:
workflowTask
- The task to be represented.- Returns:
- Map
-
buildSimple
Returns a simple representation of aWorkflowInstance
.- Parameters:
workflowInstance
- The workflow instance to be represented.- Returns:
- Map
-
buildDetailed
Returns a detailed representation of aWorkflowInstance
.- Parameters:
workflowInstance
- The workflow instance to be represented.includeTasks
- should we include task in model?- Returns:
- Map
-
buildSimple
Returns a simple representation of aWorkflowDefinition
.- Parameters:
workflowDefinition
- the WorkflowDefinition object to be represented.- Returns:
- Map
-
buildDetailed
Returns a detailed representation of aWorkflowDefinition
.- Parameters:
workflowDefinition
- the WorkflowDefinition object to be represented.- Returns:
- Map
-