Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.command
Class CancelWorkOnTaskCommand

    java.lang.Object
      org.jbpm.command.CancelWorkOnTaskCommand

All Implemented Interfaces:
  java.io.Serializable, Command

    public class CancelWorkOnTaskCommand

extends java.lang.Object
implements Command

The current authorizes actor starts to work on the TaskInstance so the actor is set to the given actor see some more information why we need that in the jbpm forum

Author:
  Bernd Ruecker
See Also:
  Serialized Form

Constructor Summary
`CancelWorkOnTaskCommand()`
`CancelWorkOnTaskCommand(long taskInstanceId)`

Method Summary
`java.lang.Object` | `execute(JbpmContext jbpmContext)`
`long` | `getTaskInstanceId()`
`void` | `setTaskInstanceId(long taskInstanceId)`

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

Constructor Detail

### CancelWorkOnTaskCommand

    public CancelWorkOnTaskCommand(long taskInstanceId)

### CancelWorkOnTaskCommand

    public CancelWorkOnTaskCommand()

Method Detail

### execute

    public java.lang.Object execute(JbpmContext jbpmContext)
                             throws java.lang.Exception

  Specified by:
    `execute` in interface `Command`
  Throws:
    `java.lang.Exception`

### getTaskInstanceId

    public long getTaskInstanceId()

### setTaskInstanceId

    public void setTaskInstanceId(long taskInstanceId)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD