|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.bonita.facade.def.majorElement.impl.NamedElementImpl
org.ow2.bonita.facade.def.majorElement.impl.ProcessDefinitionImpl
public class ProcessDefinitionImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.ow2.bonita.facade.def.majorElement.ProcessDefinition |
---|
ProcessDefinition.ProcessState |
Field Summary | |
---|---|
protected java.util.Set<ActivityDefinition> |
activities
|
protected BusinessArchive |
businessArchive
|
protected java.util.Set<java.lang.String> |
classDependencies
|
protected java.util.Set<DataFieldDefinition> |
dataFields
|
protected long |
dbid
|
protected java.lang.String |
deployedBy
|
protected java.util.Date |
deployedDate
|
protected java.lang.String |
description
|
protected java.util.List<FormalParameterDefinition> |
formalParameters
|
protected java.util.Map<java.lang.String,java.lang.String> |
metadata
|
protected java.util.Set<ParticipantDefinition> |
participants
|
protected java.util.Set<java.lang.String> |
processDependencies
|
protected java.lang.String |
processId
|
protected ProcessDefinition.ProcessState |
state
|
protected java.util.Set<TransitionDefinition> |
transitions
|
protected java.lang.String |
undeployedBy
|
protected java.util.Date |
undeployedDate
|
protected ProcessDefinitionUUID |
uuid
|
protected java.lang.String |
version
|
Fields inherited from class org.ow2.bonita.facade.def.majorElement.impl.NamedElementImpl |
---|
name |
Constructor Summary | |
---|---|
protected |
ProcessDefinitionImpl()
|
|
ProcessDefinitionImpl(ProcessDefinition src)
|
|
ProcessDefinitionImpl(java.lang.String processId,
java.lang.String name,
java.lang.String version)
|
Method Summary | |
---|---|
void |
addActivity(ActivityDefinition activity)
|
void |
addAMetaData(java.lang.String key,
java.lang.String value)
|
void |
addData(DataFieldDefinition data)
|
void |
addFormalParamater(FormalParameterDefinition fpd)
|
void |
addGroup(ParticipantDefinitionImpl group)
|
void |
addTranistion(TransitionDefinition transition)
|
void |
deleteAMetaData(java.lang.String key)
|
boolean |
equals(java.lang.Object obj)
|
java.util.Set<ActivityDefinition> |
getActivities()
|
java.lang.String |
getAMetaData(java.lang.String key)
|
BusinessArchive |
getBusinessArchive()
|
java.util.Set<java.lang.String> |
getClassDependencies()
Returns class dependencies (java classDatas for hooks, mappers, performer assignments, deadlines) for this package. |
java.util.Set<DataFieldDefinition> |
getDataFields()
|
java.lang.String |
getDeployedBy()
Returns the user deploying the package. |
java.util.Date |
getDeployedDate()
Returns the date when the package is deployed. |
java.lang.String |
getDescription()
Short textual description of the process. |
java.util.List<FormalParameterDefinition> |
getFormalParameters()
A list of parameters that may be passed to the process. |
java.util.Map<java.lang.String,java.lang.String> |
getMetaData()
|
java.util.Set<ParticipantDefinition> |
getParticipants()
|
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. |
java.lang.String |
getProcessId()
Returns the value of the id attribute of the WorkflowProcess element defined into the XPDL file. |
ProcessDefinition.ProcessState |
getState()
|
java.util.Set<TransitionDefinition> |
getTransitions()
|
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. |
java.lang.String |
getVersion()
Version of this process definition. |
int |
hashCode()
|
void |
setBusinessArchive(BusinessArchive businessArchive)
|
void |
setClassDependencies(java.util.Set<java.lang.String> classDependencies)
|
void |
setDeployedBy(java.lang.String deployedBy)
|
void |
setDeployedDate(java.util.Date deployedDate)
|
void |
setDescription(java.lang.String description)
|
void |
setProcessDefinitionUUID(ProcessDefinitionUUID processDefinitionUUID)
|
void |
setProcessDependencies(java.util.Set<java.lang.String> processDependencies)
|
void |
setState(ProcessDefinition.ProcessState state)
SETTERS |
void |
setUndeployedBy(java.lang.String undeployedBy)
|
void |
setUndeployedDate(java.util.Date undeployedDate)
|
void |
setUUID(ProcessDefinitionUUID processUUID)
|
java.lang.String |
toString()
|
Methods inherited from class org.ow2.bonita.facade.def.majorElement.impl.NamedElementImpl |
---|
getName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected long dbid
protected ProcessDefinitionUUID uuid
protected java.lang.String processId
protected java.lang.String description
protected java.util.List<FormalParameterDefinition> formalParameters
protected java.lang.String version
protected ProcessDefinition.ProcessState state
protected java.util.Set<java.lang.String> classDependencies
protected BusinessArchive businessArchive
protected java.util.Set<java.lang.String> processDependencies
protected java.util.Date deployedDate
protected java.util.Date undeployedDate
protected java.lang.String deployedBy
protected java.lang.String undeployedBy
protected java.util.Set<DataFieldDefinition> dataFields
protected java.util.Set<ParticipantDefinition> participants
protected java.util.Set<ActivityDefinition> activities
protected java.util.Set<TransitionDefinition> transitions
protected java.util.Map<java.lang.String,java.lang.String> metadata
Constructor Detail |
---|
protected ProcessDefinitionImpl()
public ProcessDefinitionImpl(java.lang.String processId, java.lang.String name, java.lang.String version)
public ProcessDefinitionImpl(ProcessDefinition src)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getDescription()
ClientProcessDefinition
getDescription
in interface ClientProcessDefinition
public java.util.List<FormalParameterDefinition> getFormalParameters()
ClientProcessDefinition
getFormalParameters
in interface ClientProcessDefinition
public ProcessDefinition.ProcessState getState()
getState
in interface ProcessDefinition
public java.lang.String getVersion()
ClientProcessDefinition
getVersion
in interface ClientProcessDefinition
public java.lang.String getProcessId()
ClientProcessDefinition
getProcessId
in interface ClientProcessDefinition
public ProcessDefinitionUUID getUUID()
ProcessDefinition
getUUID
in interface ProcessDefinition
public BusinessArchive getBusinessArchive()
getBusinessArchive
in interface ProcessDefinition
public java.util.Set<java.lang.String> getClassDependencies()
ProcessDefinition
getClassDependencies
in interface ProcessDefinition
public java.util.Set<java.lang.String> getProcessDependencies()
ProcessDefinition
getProcessDependencies
in interface ProcessDefinition
public java.util.Date getDeployedDate()
ProcessDefinition
getDeployedDate
in interface ProcessDefinition
public java.lang.String getDeployedBy()
ProcessDefinition
getDeployedBy
in interface ProcessDefinition
public java.util.Date getUndeployedDate()
ProcessDefinition
getUndeployedDate
in interface ProcessDefinition
public java.lang.String getUndeployedBy()
ProcessDefinition
getUndeployedBy
in interface ProcessDefinition
public java.util.Set<DataFieldDefinition> getDataFields()
getDataFields
in interface ClientProcessDefinition
public java.util.Set<ParticipantDefinition> getParticipants()
getParticipants
in interface ClientProcessDefinition
public java.util.Set<ActivityDefinition> getActivities()
getActivities
in interface ClientProcessDefinition
public java.util.Set<TransitionDefinition> getTransitions()
getTransitions
in interface ClientProcessDefinition
public java.util.Map<java.lang.String,java.lang.String> getMetaData()
getMetaData
in interface ClientProcessDefinition
public java.lang.String getAMetaData(java.lang.String key)
getAMetaData
in interface ClientProcessDefinition
public void setState(ProcessDefinition.ProcessState state)
setState
in interface ProcessFullDefinition
public void setUndeployedDate(java.util.Date undeployedDate)
setUndeployedDate
in interface ProcessFullDefinition
public void setUndeployedBy(java.lang.String undeployedBy)
setUndeployedBy
in interface ProcessFullDefinition
public void setDescription(java.lang.String description)
setDescription
in interface ProcessFullDefinition
public void addData(DataFieldDefinition data)
addData
in interface ProcessFullDefinition
public void addGroup(ParticipantDefinitionImpl group)
addGroup
in interface ProcessFullDefinition
public void addTranistion(TransitionDefinition transition)
addTranistion
in interface ProcessFullDefinition
public void addActivity(ActivityDefinition activity)
addActivity
in interface ProcessFullDefinition
public void addFormalParamater(FormalParameterDefinition fpd)
public void setDeployedDate(java.util.Date deployedDate)
setDeployedDate
in interface ProcessFullDefinition
public void setDeployedBy(java.lang.String deployedBy)
setDeployedBy
in interface ProcessFullDefinition
public void setClassDependencies(java.util.Set<java.lang.String> classDependencies)
setClassDependencies
in interface ProcessFullDefinition
public void setProcessDependencies(java.util.Set<java.lang.String> processDependencies)
setProcessDependencies
in interface ProcessFullDefinition
public void setProcessDefinitionUUID(ProcessDefinitionUUID processDefinitionUUID)
public void setBusinessArchive(BusinessArchive businessArchive)
setBusinessArchive
in interface ProcessFullDefinition
public void setUUID(ProcessDefinitionUUID processUUID)
setUUID
in interface ProcessFullDefinition
public void deleteAMetaData(java.lang.String key)
deleteAMetaData
in interface ProcessFullDefinition
public void addAMetaData(java.lang.String key, java.lang.String value)
addAMetaData
in interface ProcessFullDefinition
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |