public class WorkflowBuilder extends Object
Constructor and Description |
---|
WorkflowBuilder(WorkflowDefinition definition,
WorkflowService workflowService,
org.alfresco.service.cmr.repository.NodeService nodeService,
BehaviourFilter behaviourFilter) |
Modifier and Type | Method and Description |
---|---|
void |
addAssociationParameter(org.alfresco.service.namespace.QName name,
List<org.alfresco.service.cmr.repository.NodeRef> values) |
void |
addPackageItems(List<org.alfresco.service.cmr.repository.NodeRef> items) |
void |
addParameter(org.alfresco.service.namespace.QName name,
Serializable value) |
WorkflowInstance |
build() |
void |
setPackageNode(org.alfresco.service.cmr.repository.NodeRef packageNode) |
public WorkflowBuilder(WorkflowDefinition definition, WorkflowService workflowService, org.alfresco.service.cmr.repository.NodeService nodeService, BehaviourFilter behaviourFilter)
public void addParameter(org.alfresco.service.namespace.QName name, Serializable value)
public void addAssociationParameter(org.alfresco.service.namespace.QName name, List<org.alfresco.service.cmr.repository.NodeRef> values)
public void setPackageNode(org.alfresco.service.cmr.repository.NodeRef packageNode)
packageNode
- the packageNode to setpublic void addPackageItems(List<org.alfresco.service.cmr.repository.NodeRef> items)
public WorkflowInstance build()
Copyright © 2005–2017 Alfresco Software. All rights reserved.