org.jbpm.command
Class DeleteProcessDefinitionCommand

java.lang.Object
  extended by org.jbpm.command.AbstractBaseCommand
      extended by org.jbpm.command.AbstractGetObjectBaseCommand
          extended by org.jbpm.command.DeleteProcessDefinitionCommand
All Implemented Interfaces:
java.io.Serializable, Command

public class DeleteProcessDefinitionCommand
extends AbstractGetObjectBaseCommand

Delete a proces definition by ID

Author:
Heiko.Braun
See Also:
Serialized Form

Constructor Summary
DeleteProcessDefinitionCommand()
           
DeleteProcessDefinitionCommand(long id)
           
 
Method Summary
 java.lang.Object execute(JbpmContext jbpmContext)
           
 long getId()
           
 DeleteProcessDefinitionCommand id(long id)
           
 void setId(long id)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jbpm.command.AbstractGetObjectBaseCommand
getJbpmContext, getVariablesToInclude, includeAllVariables, isIncludeAllVariables, retrieveNode, retrieveProcessDefinition, retrieveProcessInstance, retrieveTaskInstanceDetails, retrieveToken, retrieveVariables, retrieveVariables, setIncludeAllVariables, setJbpmContext, setVariablesToInclude, setVariablesToInclude, variablesToInclude, variablesToInclude
 
Methods inherited from class org.jbpm.command.AbstractBaseCommand
getAdditionalToStringInformation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteProcessDefinitionCommand

public DeleteProcessDefinitionCommand()

DeleteProcessDefinitionCommand

public DeleteProcessDefinitionCommand(long id)
Method Detail

execute

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

toString

public java.lang.String toString()
Overrides:
toString in class AbstractBaseCommand

getId

public long getId()

setId

public void setId(long id)

id

public DeleteProcessDefinitionCommand id(long id)


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.