Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.jbpm.web
Class JbpmTaskActionsBean

java.lang.Object
  extended by org.nuxeo.ecm.platform.ui.web.invalidations.DocumentContextBoundActionBean
      extended by 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

Constructor Summary
JbpmTaskActionsBean()
           
 
Method Summary
 void acceptTask(TaskInstance task)
           
 void acceptTask(TaskInstance task, String comment)
           
 String getComment()
           
 List<TaskInstance> getCurrentDocumentTasks()
           
 void rejectTask(TaskInstance task)
           
 void rejectTask(TaskInstance task, String comment)
           
 void resetBeanCache(DocumentModel newCurrentDocumentModel)
           
 void resetCache()
           
 void setComment(String comment)
           
 
Methods inherited from class org.nuxeo.ecm.platform.ui.web.invalidations.DocumentContextBoundActionBean
onContextChange
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbpmTaskActionsBean

public JbpmTaskActionsBean()
Method Detail

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()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.