|
|||||||||
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 boolean |
isTaskEditable(java.lang.String taskId,
javax.servlet.ServletContext sc)
|
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.AlfrescoRuntimeException
public static java.util.Map prepareTaskParams(Node node)
node
- The node to package up for persistence
public static boolean isTaskEditable(java.lang.String taskId, javax.servlet.ServletContext sc)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |