|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.web.bean.workflow.WorkflowUtil
public class WorkflowUtil
Helper class for common Workflow functionality.
This class should be replaced with calls to a WorkflowService once it is available.
| Constructor Summary | |
|---|---|
WorkflowUtil()
|
|
| Method Summary | |
|---|---|
static void |
approve(org.alfresco.service.cmr.repository.NodeRef ref,
org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.repository.CopyService copyService)
Execute the Approve step for the Simple Workflow on a node. |
static java.util.Map |
prepareTaskParams(Node node)
Prepares the given node for persistence in the workflow engine. |
static void |
reject(org.alfresco.service.cmr.repository.NodeRef ref,
org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.repository.CopyService copyService)
Execute the Reject step for the Simple Workflow on a node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkflowUtil()
| Method Detail |
|---|
public static void approve(org.alfresco.service.cmr.repository.NodeRef ref,
org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.repository.CopyService copyService)
throws org.alfresco.error.AlfrescoRuntimeException
ref - NodeRef to the node with the workflownodeService - NodeService instancecopyService - CopyService instance
org.alfresco.error.AlfrescoRuntimeException
public static void reject(org.alfresco.service.cmr.repository.NodeRef ref,
org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.repository.CopyService copyService)
throws org.alfresco.error.AlfrescoRuntimeException
ref - NodeRef to the node with the workflownodeService - NodeService instancecopyService - CopyService instance
org.alfresco.error.AlfrescoRuntimeExceptionpublic static java.util.Map prepareTaskParams(Node node)
node - The node to package up for persistence
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||