org.nuxeo.ecm.platform.jbpm.web
Class JbpmTaskActionsBean
java.lang.Object
org.nuxeo.ecm.platform.ui.web.invalidations.DocumentContextBoundActionBean
org.nuxeo.ecm.platform.jbpm.web.JbpmTaskActionsBean
- All Implemented Interfaces:
- Serializable
@Name(value="jbpmTaskActions")
@Scope(value=CONVERSATION)
public class JbpmTaskActionsBean
- extends DocumentContextBoundActionBean
Seam component holding tasks actions created using the
JbpmTaskService
in document context cache.
- Author:
- Anahide Tchertchian
- See Also:
- Serialized Form
JbpmTaskActionsBean
public JbpmTaskActionsBean()
getCurrentDocumentTasks
@Factory(value="currentSingleTasks",
scope=EVENT)
public List<TaskInstance> getCurrentDocumentTasks()
throws NuxeoJbpmException
- Throws:
NuxeoJbpmException
getComment
public String getComment()
setComment
public void setComment(String comment)
acceptTask
public void acceptTask(TaskInstance task)
throws NuxeoJbpmException
- Throws:
NuxeoJbpmException
acceptTask
public void acceptTask(TaskInstance task,
String comment)
throws NuxeoJbpmException
- Throws:
NuxeoJbpmException
rejectTask
public void rejectTask(TaskInstance task)
throws NuxeoJbpmException
- Throws:
NuxeoJbpmException
rejectTask
public void rejectTask(TaskInstance task,
String comment)
throws NuxeoJbpmException
- Throws:
NuxeoJbpmException
resetBeanCache
public void resetBeanCache(DocumentModel newCurrentDocumentModel)
resetCache
@Observer(value={"workflowProcessEnded","workflowNewProcessStarted","workflowTaskStart","workflowTaskStop","workflowTaskRejected","workflowUserAssignmentChanged","workflowTaskCompleted","workflowTaskRemoved","workItemsListLoaded","workflowTasksComputed","workflowAbandoned","workflowProcessCanceled","domainSelectionChanged","documentPublicationRejected","documentPublished"},
create=false)
@BypassInterceptors
public void resetCache()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.