Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.Alpha9
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`AbstractWorkItemHandler(org.kie.runtime.StatefulKnowledgeSession ksession)`

Method Summary
`void` | `abortWorkItem(WorkItem workItem, WorkItemManager manager)` The given work item should be aborted.
`NodeInstance` | `getNodeInstance(WorkItem workItem)`
`ProcessInstance` | `getProcessInstance(WorkItem workItem)`
`long` | `getProcessInstanceId(WorkItem workItem)`
`org.kie.runtime.StatefulKnowledgeSession` | `getSession()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.kie.runtime.process.WorkItemHandler
`executeWorkItem`

Constructor Detail

### AbstractWorkItemHandler

    public AbstractWorkItemHandler(org.kie.runtime.StatefulKnowledgeSession ksession)

Method Detail

### getSession

    public org.kie.runtime.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 aborted
    `manager` - the manager that requested the work item to be aborted

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.Alpha9
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.