|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.smartgwt.client.core.BaseClass
com.smartgwt.client.util.workflow.ProcessElement
public class ProcessElement
A ProcessElement is an abstract superclass for elements involved in a Process,
such as a Task or XORGateway.
| Field Summary |
|---|
| Fields inherited from class com.smartgwt.client.core.BaseClass |
|---|
config, id, scClassName |
| Constructor Summary | |
|---|---|
ProcessElement()
|
|
ProcessElement(JavaScriptObject jsObj)
|
|
ProcessElement(String ID)
|
|
ProcessElement(String ID,
String nextElement)
|
|
| Method Summary | |
|---|---|
static JavaScriptObject |
convertToJavaScriptArray(ProcessElement[] array)
|
JavaScriptObject |
create()
|
String |
getID()
Optional ID for this process element, allowing it to be referred to from Gateways, or as the startElement. |
JavaScriptObject |
getJsObj()
|
String |
getNextElement()
Next sequence or element to execute after this one completes. |
JavaScriptObject |
getOrCreateJsObj()
|
static ProcessElement |
getOrCreateRef(JavaScriptObject jsObj)
|
ProcessElement[] |
getProcessElements(String attribute)
|
boolean |
isCreated()
|
void |
setAttribute(String attribute,
ProcessElement[] value,
boolean allowPostCreate)
|
void |
setID(String ID)
Optional ID for this process element, allowing it to be referred to from Gateways, or as the startElement. |
void |
setJavaScriptObject(JavaScriptObject jsObj)
|
void |
setNextElement(String nextElement)
Next sequence or element to execute after this one completes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessElement()
public ProcessElement(JavaScriptObject jsObj)
public ProcessElement(String ID)
public ProcessElement(String ID,
String nextElement)
| Method Detail |
|---|
public static ProcessElement getOrCreateRef(JavaScriptObject jsObj)
public void setJavaScriptObject(JavaScriptObject jsObj)
public JavaScriptObject create()
create in class BaseClass
public void setID(String ID)
throws IllegalStateException
Gateways, or as the startElement. See ProcessSequence and Process to understand
when this is required or can be omitted. Unlike ID a
processElement's is a not a globally unique variable, it need only by unique within it's process.
When
assigned an ID, a processElement can be retrieve via Process.getElement.
setID in class BaseClassID - . See String. Default value is null
IllegalStateException - this property cannot be changed after the underlying component has been createdpublic String getID()
Gateways, or as the startElement. See ProcessSequence and Process to understand
when this is required or can be omitted. Unlike ID a
processElement's is a not a globally unique variable, it need only by unique within it's process.
When
assigned an ID, a processElement can be retrieve via Process.getElement.
getID in class BaseClassString
public void setNextElement(String nextElement)
throws IllegalStateException
sequence or element to execute after this one completes. Sequences are
checked first. nextElement does not need to be specified on most elements if you use sequences.
nextElement - . See String. Default value is null
IllegalStateException - this property cannot be changed after the underlying component has been createdpublic String getNextElement()
sequence or element to execute after this one completes. Sequences are
checked first. nextElement does not need to be specified on most elements if you use sequences.
Stringpublic boolean isCreated()
isCreated in class BaseClasspublic JavaScriptObject getJsObj()
getJsObj in class BaseClasspublic JavaScriptObject getOrCreateJsObj()
getOrCreateJsObj in class BaseClass
public void setAttribute(String attribute,
ProcessElement[] value,
boolean allowPostCreate)
public ProcessElement[] getProcessElements(String attribute)
public static JavaScriptObject convertToJavaScriptArray(ProcessElement[] array)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||