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

## org.jbpm.services.task.wih
Class AbstractHTWorkItemHandler

    java.lang.Object
      org.jbpm.services.task.wih.AbstractHTWorkItemHandler

All Implemented Interfaces:
  WorkItemHandler

Direct Known Subclasses:
  LocalHTWorkItemHandler, NonManagedLocalHTWorkItemHandler

    public abstract class AbstractHTWorkItemHandler

extends Object
implements WorkItemHandler

Field Summary
`protected OnErrorAction` | `action`

Constructor Summary
`AbstractHTWorkItemHandler()`
`AbstractHTWorkItemHandler(OnErrorAction action)`

Method Summary
`abstract void` | `abortWorkItem(WorkItem workItem, WorkItemManager manager)` The given work item should be aborted.
`protected Task` | `createTaskBasedOnWorkItemParams(KieSession session, WorkItem workItem)`
`protected org.kie.internal.task.api.model.ContentData` | `createTaskContentBasedOnWorkItemParams(KieSession session, WorkItem workItem)`
`abstract void` | `executeWorkItem(WorkItem workItem, WorkItemManager manager)` The given work item should be executed.
`protected boolean` | `isAutoClaim(WorkItem workItem, Task task)`
`void` | `setAction(OnErrorAction action)`

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

Field Detail

### action

    protected OnErrorAction action

Constructor Detail

### AbstractHTWorkItemHandler

    public AbstractHTWorkItemHandler()

### AbstractHTWorkItemHandler

    public AbstractHTWorkItemHandler(OnErrorAction action)

Method Detail

### setAction

    public void setAction(OnErrorAction action)

### createTaskBasedOnWorkItemParams

    protected Task createTaskBasedOnWorkItemParams(KieSession session,
                                                   WorkItem workItem)

### createTaskContentBasedOnWorkItemParams

    protected org.kie.internal.task.api.model.ContentData createTaskContentBasedOnWorkItemParams(KieSession session,
                                                                                                 WorkItem workItem)

### isAutoClaim

    protected boolean isAutoClaim(WorkItem workItem,
                                  Task task)

### executeWorkItem

    public abstract void executeWorkItem(WorkItem workItem,
                                         WorkItemManager manager)

  Description copied from interface: `WorkItemHandler`
  The given work item should be executed.

  Specified by:
    `executeWorkItem` in interface `WorkItemHandler`
  Parameters:
    `workItem` - the work item that should be executed
    `manager` - the manager that requested the work item to be executed

### abortWorkItem

    public abstract 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.1.0.Beta4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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