|
|||||||||
| Home >> All >> org >> jbpm >> workflow >> execution >> [ impl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jbpm.workflow.execution.impl
Class FlowImpl

java.lang.Objectorg.jbpm.util.db.PersistentObject
org.jbpm.workflow.execution.impl.FlowImpl
- All Implemented Interfaces:
- org.jbpm.workflow.execution.Flow, java.io.Serializable
- public class FlowImpl
- extends org.jbpm.util.db.PersistentObject
- implements org.jbpm.workflow.execution.Flow
- extends org.jbpm.util.db.PersistentObject
| Field Summary | |
private java.lang.String |
actorId
|
private java.util.Collection |
attributeInstances
|
private java.util.Collection |
children
|
private java.util.Date |
end
|
private static org.apache.log4j.Logger |
log
|
private java.util.Collection |
logs
|
private java.lang.String |
name
|
private org.jbpm.workflow.definition.Node |
node
|
private static org.jbpm.workflow.organisation.OrganisationUtil |
organisationUtil
|
private org.jbpm.workflow.execution.Flow |
parent
|
private java.lang.Boolean |
parentReactivation
|
private org.jbpm.workflow.execution.ProcessInstance |
processInstance
|
private java.util.Date |
start
|
private java.util.Collection |
subProcessInstances
|
| Fields inherited from class org.jbpm.util.db.PersistentObject |
id |
| Constructor Summary | |
FlowImpl()
|
|
FlowImpl(java.lang.String name,
FlowImpl parent,
org.jbpm.workflow.definition.impl.ProcessBlockImpl processBlock)
|
|
FlowImpl(java.lang.String actorId,
ProcessInstanceImpl processInstance)
|
|
| Methods inherited from class org.jbpm.util.db.PersistentObject |
getId, setId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jbpm.workflow.execution.Flow |
getId |
| Field Detail |
name
private java.lang.String name
actorId
private java.lang.String actorId
start
private java.util.Date start
end
private java.util.Date end
parentReactivation
private java.lang.Boolean parentReactivation
node
private org.jbpm.workflow.definition.Node node
processInstance
private org.jbpm.workflow.execution.ProcessInstance processInstance
subProcessInstances
private java.util.Collection subProcessInstances
attributeInstances
private java.util.Collection attributeInstances
parent
private org.jbpm.workflow.execution.Flow parent
children
private java.util.Collection children
logs
private java.util.Collection logs
organisationUtil
private static final org.jbpm.workflow.organisation.OrganisationUtil organisationUtil
log
private static final org.apache.log4j.Logger log
| Constructor Detail |
FlowImpl
public FlowImpl()
FlowImpl
public FlowImpl(java.lang.String actorId, ProcessInstanceImpl processInstance)
FlowImpl
public FlowImpl(java.lang.String name, FlowImpl parent, org.jbpm.workflow.definition.impl.ProcessBlockImpl processBlock)
| Method Detail |
createAttributeInstances
public void createAttributeInstances(java.util.Collection attributes)
getName
public java.lang.String getName()
- Description copied from interface:
org.jbpm.workflow.execution.Flow - is the name of the flow.
- Specified by:
getNamein interfaceorg.jbpm.workflow.execution.Flow
setName
public void setName(java.lang.String name)
getActorId
public java.lang.String getActorId()
setActorId
public void setActorId(java.lang.String actorId)
getActor
public org.jbpm.workflow.organisation.Actor getActor()
- Description copied from interface:
org.jbpm.workflow.execution.Flow - specifies which User or Group is supposed to act upon the Flow.
- Specified by:
getActorin interfaceorg.jbpm.workflow.execution.Flow
getStart
public java.util.Date getStart()
- Description copied from interface:
org.jbpm.workflow.execution.Flow - is the time at which this flow started.
- Specified by:
getStartin interfaceorg.jbpm.workflow.execution.Flow
setStart
public void setStart(java.util.Date start)
getEnd
public java.util.Date getEnd()
- Description copied from interface:
org.jbpm.workflow.execution.Flow - is the time at which this flow ended, null if it didn't end yet.
- Specified by:
getEndin interfaceorg.jbpm.workflow.execution.Flow
setEnd
public void setEnd(java.util.Date end)
getParentReactivation
public java.lang.Boolean getParentReactivation()
setParentReactivation
public void setParentReactivation(java.lang.Boolean parentReactivation)
getNode
public org.jbpm.workflow.definition.Node getNode()
- Description copied from interface:
org.jbpm.workflow.execution.Flow - is a pointer to the org.jbpm.workflow.definition.Node in the activity diagram that represents the state of this flow.
- Specified by:
getNodein interfaceorg.jbpm.workflow.execution.Flow
setNode
public void setNode(org.jbpm.workflow.definition.Node node)
getProcessInstance
public org.jbpm.workflow.execution.ProcessInstance getProcessInstance()
- Description copied from interface:
org.jbpm.workflow.execution.Flow - is the org.jbpm.workflow.execution.ProcessInstance of this flow. The org.jbpm.workflow.execution.ProcessInstance is
associated with the upper-most parent of this flow. Flows are hierarchically
ordered as described in the general-class-description part above.
- Specified by:
getProcessInstancein interfaceorg.jbpm.workflow.execution.Flow
setProcessInstance
public void setProcessInstance(org.jbpm.workflow.execution.ProcessInstance processInstance)
getAttributeInstances
public java.util.Collection getAttributeInstances()
- Description copied from interface:
org.jbpm.workflow.execution.Flow - are the flow-local attributes.
- Specified by:
getAttributeInstancesin interfaceorg.jbpm.workflow.execution.Flow
setAttributeInstances
public void setAttributeInstances(java.util.Collection attributeInstances)
getSubProcessInstances
private java.util.Collection getSubProcessInstances()
setSubProcessInstances
private void setSubProcessInstances(java.util.Collection subProcessInstances)
getParent
public org.jbpm.workflow.execution.Flow getParent()
- Description copied from interface:
org.jbpm.workflow.execution.Flow - is the parent-Flow of this flow. Flows are hierarchically ordered
as described in the general-class-description part above.
- Specified by:
getParentin interfaceorg.jbpm.workflow.execution.Flow
setParent
public void setParent(org.jbpm.workflow.execution.Flow parent)
getChildren
public java.util.Collection getChildren()
- Description copied from interface:
org.jbpm.workflow.execution.Flow - is the collection of child-Flows for this Flow. Flows are hierarchically ordered
as described in the general-class-description part above.
* @return a Collection of Flow's
- Specified by:
getChildrenin interfaceorg.jbpm.workflow.execution.Flow
setChildren
public void setChildren(java.util.Collection children)
getLogs
public java.util.Collection getLogs()
- Description copied from interface:
org.jbpm.workflow.execution.Flow - are the logged events related to this flow.
- Specified by:
getLogsin interfaceorg.jbpm.workflow.execution.Flow
setLogs
public void setLogs(java.util.Collection logs)
createLog
public org.jbpm.workflow.log.impl.LogImpl createLog(org.jbpm.workflow.definition.EventType eventType)
createLog
public org.jbpm.workflow.log.impl.LogImpl createLog(java.lang.String actorId, org.jbpm.workflow.definition.EventType eventType)
getSubProcessInstance
public org.jbpm.workflow.execution.ProcessInstance getSubProcessInstance()
- Description copied from interface:
org.jbpm.workflow.execution.Flow - is the sub-process-instance on which this flow is waiting
in a sub-process-activity.
- Specified by:
getSubProcessInstancein interfaceorg.jbpm.workflow.execution.Flow
setSubProcessInstance
public void setSubProcessInstance(org.jbpm.workflow.execution.ProcessInstance subProcessInstance)
isRootFlow
public boolean isRootFlow()
- Description copied from interface:
org.jbpm.workflow.execution.Flow - tells if this flow is the root-flow of a processInstance.
- Specified by:
isRootFlowin interfaceorg.jbpm.workflow.execution.Flow
isActive
public boolean isActive()
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> org >> jbpm >> workflow >> execution >> [ impl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC