org.ow2.bonita.facade.def.majorElement
Interface ProcessDefinition

All Superinterfaces:
ClientProcessDefinition, NamedElement, java.io.Serializable
All Known Subinterfaces:
ProcessFullDefinition
All Known Implementing Classes:
ProcessDefinitionImpl

public interface ProcessDefinition
extends NamedElement, ClientProcessDefinition

This interface represents the Process definition. It's derived from the WorkflowProcess of XPDL.


Nested Class Summary
static class ProcessDefinition.ProcessState
          Workflow process state.
 
Method Summary
 BusinessArchive getBusinessArchive()
           
 java.util.Set<java.lang.String> getClassDependencies()
          Returns class dependencies (java classDatas for hooks, mappers, performer assignments, deadlines) for this package.
 java.lang.String getDeployedBy()
          Returns the user deploying the package.
 java.util.Date getDeployedDate()
          Returns the date when the package is deployed.
 java.util.Set<java.lang.String> getProcessDependencies()
          If the package has subflows and the process definition for these subflows are defined in others package definitions then it is not possible to undeploy these packages until this package is itself undeployed.
 ProcessDefinition.ProcessState getState()
           
 java.lang.String getUndeployedBy()
          Returns the user undeploying the package.
 java.util.Date getUndeployedDate()
          Returns the date where the package is undeployed.
 ProcessDefinitionUUID getUUID()
          Returns the UUID for the ProcessDefinition.
 
Methods inherited from interface org.ow2.bonita.facade.def.majorElement.ClientProcessDefinition
getActivities, getAMetaData, getDataFields, getDescription, getFormalParameters, getMetaData, getParticipants, getProcessId, getTransitions, getVersion
 

Method Detail

getUUID

ProcessDefinitionUUID getUUID()
Returns the UUID for the ProcessDefinition.


getState

ProcessDefinition.ProcessState getState()

getProcessDependencies

java.util.Set<java.lang.String> getProcessDependencies()
If the package has subflows and the process definition for these subflows are defined in others package definitions then it is not possible to undeploy these packages until this package is itself undeployed.

Returns:
The (unordered) set of package processDefinitionUUID depending on this package definition.

getClassDependencies

java.util.Set<java.lang.String> getClassDependencies()
Returns class dependencies (java classDatas for hooks, mappers, performer assignments, deadlines) for this package.

Returns:
The (unordered) set of classDatas on which this package depends on.

getBusinessArchive

BusinessArchive getBusinessArchive()

getDeployedDate

java.util.Date getDeployedDate()
Returns the date when the package is deployed.


getUndeployedDate

java.util.Date getUndeployedDate()
Returns the date where the package is undeployed.


getDeployedBy

java.lang.String getDeployedBy()
Returns the user deploying the package.


getUndeployedBy

java.lang.String getUndeployedBy()
Returns the user undeploying the package.



Copyright © 2009 OW2 Consortium. All Rights Reserved.