Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jbpm.workflow.definition.impl
Class ProcessDefinitionImpl  view ProcessDefinitionImpl download ProcessDefinitionImpl.java

java.lang.Object
  extended byorg.jbpm.util.db.PersistentObject
      extended byorg.jbpm.workflow.definition.impl.DefinitionObjectImpl
          extended byorg.jbpm.workflow.definition.impl.ProcessBlockImpl
              extended byorg.jbpm.workflow.definition.impl.ProcessDefinitionImpl
All Implemented Interfaces:
org.jbpm.workflow.definition.DefinitionObject, org.jbpm.workflow.definition.ProcessBlock, org.jbpm.workflow.definition.ProcessDefinition, java.io.Serializable

public class ProcessDefinitionImpl
extends ProcessBlockImpl
implements org.jbpm.workflow.definition.ProcessDefinition


Field Summary
private  org.jbpm.workflow.delegation.impl.DelegationImpl authorizationDelegation
           
private  java.util.Collection classFiles
           
private  EndStateImpl endState
           
private  byte[] image
           
private  java.lang.Integer imageHeight
           
private  java.lang.String imageMimeType
           
private  java.lang.Integer imageWidth
           
private static org.apache.log4j.Logger log
           
private static java.lang.String queryFindState
           
private static java.lang.String queryFindVersionNumbers
           
private  org.jbpm.workflow.organisation.User responsible
           
private  java.lang.String responsibleUserName
           
private  StartStateImpl startState
           
private  java.lang.Integer version
           
 
Fields inherited from class org.jbpm.workflow.definition.impl.ProcessBlockImpl
attributes, childBlocks, nodes, parentBlock
 
Fields inherited from class org.jbpm.workflow.definition.impl.DefinitionObjectImpl
description, name, processDefinition
 
Fields inherited from class org.jbpm.util.db.PersistentObject
id
 
Constructor Summary
ProcessDefinitionImpl()
           
 
Method Summary
 org.jbpm.workflow.delegation.impl.DelegationImpl getAuthorizationDelegation()
           
 java.util.Collection getClassFiles()
           
 java.util.Collection getClassFiles(CreationContext creationContext)
           
 org.jbpm.workflow.definition.EndState getEndState()
           
 byte[] getImage()
           
 java.lang.Integer getImageHeight()
           
 java.lang.String getImageMimeType()
           
 java.lang.Integer getImageWidth()
           
 org.jbpm.workflow.organisation.User getResponsible()
           
 java.lang.String getResponsibleUserName()
           
 org.jbpm.workflow.definition.StartState getStartState()
           
 java.lang.Integer getVersion()
           
private  java.lang.Integer getVersionNbr(CreationContext creationContext)
           
 void readProcessData(org.jbpm.util.xml.XmlElement xmlElement, CreationContext creationContext)
           
 void readWebData(org.jbpm.util.xml.XmlElement xmlElement, CreationContext creationContext)
           
 void setAuthorizationDelegation(org.jbpm.workflow.delegation.impl.DelegationImpl authorizationDelegation)
           
 void setClassFiles(java.util.Collection classFiles)
           
 void setEndState(org.jbpm.workflow.definition.EndState endState)
           
 void setImage(byte[] image)
           
 void setImageHeight(java.lang.Integer imageHeight)
           
 void setImageMimeType(java.lang.String imageMimeType)
           
 void setImageWidth(java.lang.Integer imageWidth)
           
 void setResponsibleUserName(java.lang.String responsibleUserName)
           
 void setStartState(org.jbpm.workflow.definition.StartState startState)
           
 void setVersion(java.lang.Integer version)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 void validate(ValidationContext validationContext)
           
 java.lang.String writeProcessData()
           
 java.lang.String writeWebData()
           
 
Methods inherited from class org.jbpm.workflow.definition.impl.ProcessBlockImpl
getAttributes, getChildBlocks, getNodes, getParentBlock, setAttributes, setChildBlocks, setNodes, setParentBlock
 
Methods inherited from class org.jbpm.workflow.definition.impl.DefinitionObjectImpl
getDescription, getName, getProcessDefinition, getTypeName, hasName, setDescription, setName, setProcessDefinition
 
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.definition.ProcessBlock
getAttributes, getNodes
 
Methods inherited from interface org.jbpm.workflow.definition.DefinitionObject
getDescription, getId, getName, getProcessDefinition, hasName
 

Field Detail

queryFindState

private static final java.lang.String queryFindState
See Also:
Constant Field Values

queryFindVersionNumbers

private static final java.lang.String queryFindVersionNumbers
See Also:
Constant Field Values

responsibleUserName

private java.lang.String responsibleUserName

version

private java.lang.Integer version

startState

private StartStateImpl startState

endState

private EndStateImpl endState

image

private byte[] image

imageMimeType

private java.lang.String imageMimeType

imageHeight

private java.lang.Integer imageHeight

imageWidth

private java.lang.Integer imageWidth

authorizationDelegation

private org.jbpm.workflow.delegation.impl.DelegationImpl authorizationDelegation

responsible

private org.jbpm.workflow.organisation.User responsible

classFiles

private java.util.Collection classFiles

log

private static final org.apache.log4j.Logger log
Constructor Detail

ProcessDefinitionImpl

public ProcessDefinitionImpl()
Method Detail

readProcessData

public void readProcessData(org.jbpm.util.xml.XmlElement xmlElement,
                            CreationContext creationContext)
Overrides:
readProcessData in class ProcessBlockImpl

readWebData

public void readWebData(org.jbpm.util.xml.XmlElement xmlElement,
                        CreationContext creationContext)

validate

public void validate(ValidationContext validationContext)
Overrides:
validate in class ProcessBlockImpl

writeProcessData

public java.lang.String writeProcessData()

writeWebData

public java.lang.String writeWebData()

getVersionNbr

private java.lang.Integer getVersionNbr(CreationContext creationContext)

getClassFiles

public java.util.Collection getClassFiles(CreationContext creationContext)

getResponsibleUserName

public java.lang.String getResponsibleUserName()
Specified by:
getResponsibleUserName in interface org.jbpm.workflow.definition.ProcessDefinition

setResponsibleUserName

public void setResponsibleUserName(java.lang.String responsibleUserName)

getVersion

public java.lang.Integer getVersion()
Specified by:
getVersion in interface org.jbpm.workflow.definition.ProcessDefinition

setVersion

public void setVersion(java.lang.Integer version)

getStartState

public org.jbpm.workflow.definition.StartState getStartState()
Specified by:
getStartState in interface org.jbpm.workflow.definition.ProcessDefinition

setStartState

public void setStartState(org.jbpm.workflow.definition.StartState startState)

getEndState

public org.jbpm.workflow.definition.EndState getEndState()
Specified by:
getEndState in interface org.jbpm.workflow.definition.ProcessDefinition

setEndState

public void setEndState(org.jbpm.workflow.definition.EndState endState)

getImage

public byte[] getImage()
Specified by:
getImage in interface org.jbpm.workflow.definition.ProcessDefinition

setImage

public void setImage(byte[] image)

getImageMimeType

public java.lang.String getImageMimeType()
Specified by:
getImageMimeType in interface org.jbpm.workflow.definition.ProcessDefinition

setImageMimeType

public void setImageMimeType(java.lang.String imageMimeType)

getImageHeight

public java.lang.Integer getImageHeight()
Specified by:
getImageHeight in interface org.jbpm.workflow.definition.ProcessDefinition

setImageHeight

public void setImageHeight(java.lang.Integer imageHeight)

getImageWidth

public java.lang.Integer getImageWidth()
Specified by:
getImageWidth in interface org.jbpm.workflow.definition.ProcessDefinition

setImageWidth

public void setImageWidth(java.lang.Integer imageWidth)

getAuthorizationDelegation

public org.jbpm.workflow.delegation.impl.DelegationImpl getAuthorizationDelegation()

setAuthorizationDelegation

public void setAuthorizationDelegation(org.jbpm.workflow.delegation.impl.DelegationImpl authorizationDelegation)

getClassFiles

public java.util.Collection getClassFiles()

setClassFiles

public void setClassFiles(java.util.Collection classFiles)

getResponsible

public org.jbpm.workflow.organisation.User getResponsible()
Specified by:
getResponsible in interface org.jbpm.workflow.definition.ProcessDefinition

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()).

Overrides:
toString in class DefinitionObjectImpl