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:
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
 Object execute(JbpmContext jbpmContext)
           
 long getId()
           
 DeleteProcessDefinitionCommand id(long id)
           
 void setId(long id)
           
 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 Object execute(JbpmContext jbpmContext)
               throws Exception
Throws:
Exception

toString

public String toString()
Overrides:
toString in class AbstractBaseCommand

getId

public long getId()

setId

public void setId(long id)

id

public DeleteProcessDefinitionCommand id(long id)


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