public class WorkflowModelBuilder extends Object
Constructor and Description |
---|
WorkflowModelBuilder(org.alfresco.service.namespace.NamespaceService namespaceService,
org.alfresco.service.cmr.repository.NodeService nodeService,
AuthenticationService authenticationService,
PersonService personService,
WorkflowService workflowService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
buildDetailed(WorkflowDefinition workflowDefinition)
Returns a detailed representation of a
WorkflowDefinition . |
Map<String,Object> |
buildDetailed(WorkflowInstance workflowInstance,
boolean includeTasks)
Returns a detailed representation of a
WorkflowInstance . |
Map<String,Object> |
buildDetailed(WorkflowTask workflowTask)
Returns a detailed representation of a
WorkflowTask . |
Map<String,Object> |
buildSimple(WorkflowDefinition workflowDefinition)
Returns a simple representation of a
WorkflowDefinition . |
Map<String,Object> |
buildSimple(WorkflowInstance workflowInstance)
Returns a simple representation of a
WorkflowInstance . |
Map<String,Object> |
buildSimple(WorkflowTask task,
Collection<String> propertyFilters)
Returns a simple representation of a
WorkflowTask . |
public static final String PERSON_LAST_NAME
public static final String PERSON_FIRST_NAME
public static final String PERSON_USER_NAME
public static final String PERSON_AVATAR
public static final String TASK_PROPERTIES
public static final String TASK_PROPERTIY_LABELS
public static final String TASK_OWNER
public static final String TASK_CREATOR
public static final String TASK_STATE
public static final String TASK_DESCRIPTION
public static final String TASK_TITLE
public static final String TASK_NAME
public static final String TASK_URL
public static final String TASK_IS_POOLED
public static final String TASK_IS_EDITABLE
public static final String TASK_IS_REASSIGNABLE
public static final String TASK_IS_CLAIMABLE
public static final String TASK_IS_RELEASABLE
public static final String TASK_ID
public static final String TASK_PATH
public static final String TASK_DEFINITION
public static final String TASK_OUTCOME
public static final String TASK_DEFINITION_ID
public static final String TASK_DEFINITION_URL
public static final String TASK_DEFINITION_TYPE
public static final String TASK_DEFINITION_NODE
public static final String TASK_WORKFLOW_INSTANCE
public static final String TASK_WORKFLOW_INSTANCE_ID
public static final String TASK_WORKFLOW_INSTANCE_URL
public static final String TASK_WORKFLOW_INSTANCE_NAME
public static final String TASK_WORKFLOW_INSTANCE_TITLE
public static final String TASK_WORKFLOW_INSTANCE_DESCRIPTION
public static final String TASK_WORKFLOW_INSTANCE_MESSAGE
public static final String TASK_WORKFLOW_INSTANCE_IS_ACTIVE
public static final String TASK_WORKFLOW_INSTANCE_START_DATE
public static final String TASK_WORKFLOW_INSTANCE_DUE_DATE
public static final String TASK_WORKFLOW_INSTANCE_END_DATE
public static final String TASK_WORKFLOW_INSTANCE_PRIORITY
public static final String TASK_WORKFLOW_INSTANCE_INITIATOR
public static final String TASK_WORKFLOW_INSTANCE_CONTEXT
public static final String TASK_WORKFLOW_INSTANCE_PACKAGE
public static final String TASK_WORKFLOW_INSTANCE_START_TASK_INSTANCE_ID
public static final String TASK_WORKFLOW_INSTANCE_DEFINITION
public static final String TASK_WORKFLOW_INSTANCE_TASKS
public static final String TASK_WORKFLOW_INSTANCE_DEFINITION_URL
public static final String TASK_WORKFLOW_INSTANCE_DIAGRAM_URL
public static final String TASK_WORKFLOW_INSTANCE_INITIATOR_USERNAME
public static final String TASK_WORKFLOW_INSTANCE_INITIATOR_FIRSTNAME
public static final String TASK_WORKFLOW_INSTANCE_INITIATOR_LASTNAME
public static final String TYPE_DEFINITION_NAME
public static final String TYPE_DEFINITION_TITLE
public static final String TYPE_DEFINITION_DESCRIPTION
public static final String TYPE_DEFINITION_URL
public static final String WORKFLOW_NODE_NAME
public static final String WORKFLOW_NODE_TITLE
public static final String WORKFLOW_NODE_DESCRIPTION
public static final String WORKFLOW_NODE_IS_TASK_NODE
public static final String WORKFLOW_NODE_TRANSITIONS
public static final String WORKFLOW_NODE_TRANSITION_ID
public static final String WORKFLOW_NODE_TRANSITION_TITLE
public static final String WORKFLOW_NODE_TRANSITION_DESCRIPTION
public static final String WORKFLOW_NODE_TRANSITION_IS_DEFAULT
public static final String WORKFLOW_NODE_TRANSITION_IS_HIDDEN
public static final String WORKFLOW_DEFINITION_ID
public static final String WORKFLOW_DEFINITION_URL
public static final String WORKFLOW_DEFINITION_NAME
public static final String WORKFLOW_DEFINITION_TITLE
public static final String WORKFLOW_DEFINITION_DESCRIPTION
public static final String WORKFLOW_DEFINITION_VERSION
public static final String WORKFLOW_DEFINITION_START_TASK_DEFINITION_URL
public static final String WORKFLOW_DEFINITION_START_TASK_DEFINITION_TYPE
public static final String WORKFLOW_DEFINITION_TASK_DEFINITIONS
public static final String TASK_OUTCOME_MESSAGE_PREFIX
public WorkflowModelBuilder(org.alfresco.service.namespace.NamespaceService namespaceService, org.alfresco.service.cmr.repository.NodeService nodeService, AuthenticationService authenticationService, PersonService personService, WorkflowService workflowService, org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
public Map<String,Object> buildSimple(WorkflowTask task, Collection<String> propertyFilters)
WorkflowTask
.task
- The task to be represented.propertyFilters
- Specify which properties to include.public Map<String,Object> buildDetailed(WorkflowTask workflowTask)
WorkflowTask
.workflowTask
- The task to be represented.public Map<String,Object> buildSimple(WorkflowInstance workflowInstance)
WorkflowInstance
.workflowInstance
- The workflow instance to be represented.public Map<String,Object> buildDetailed(WorkflowInstance workflowInstance, boolean includeTasks)
WorkflowInstance
.workflowInstance
- The workflow instance to be represented.includeTasks
- should we include task in model?public Map<String,Object> buildSimple(WorkflowDefinition workflowDefinition)
WorkflowDefinition
.workflowDefinition
- the WorkflowDefinition object to be represented.public Map<String,Object> buildDetailed(WorkflowDefinition workflowDefinition)
WorkflowDefinition
.workflowDefinition
- the WorkflowDefinition object to be represented.Copyright © 2005–2017 Alfresco Software. All rights reserved.