org.jbpm.process.workitem
Class AbstractWorkItemHandler
java.lang.Object
org.jbpm.process.workitem.AbstractWorkItemHandler
- All Implemented Interfaces:
- WorkItemHandler
public abstract class AbstractWorkItemHandler
- extends Object
- implements WorkItemHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractWorkItemHandler
public AbstractWorkItemHandler(StatefulKnowledgeSession ksession)
getSession
public StatefulKnowledgeSession getSession()
getProcessInstanceId
public long getProcessInstanceId(WorkItem workItem)
getProcessInstance
public ProcessInstance getProcessInstance(WorkItem workItem)
getNodeInstance
public NodeInstance getNodeInstance(WorkItem workItem)
abortWorkItem
public void abortWorkItem(WorkItem workItem,
WorkItemManager manager)
- Description copied from interface:
WorkItemHandler
- The given work item should be aborted.
- Specified by:
abortWorkItem
in interface WorkItemHandler
- Parameters:
workItem
- the work item that should be abortedmanager
- the manager that requested the work item to be aborted
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.