|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
WfNodeTemplate
is an interface representing obejcts that
can play a role of a node in a workflow. These objects are the template
objects, connectors and routers.
Supported API: false
Extendable: false
Field Summary | |
static String |
PARENT_TEMPLATE
Label for the attribute; Reference to parent template. |
static String |
ROUTER_TYPE
Label for the attribute; Type of the router (NONE, MANUAL, or CONDITIONAL). |
static String |
USER_EVENT_LIST
Label for the attribute; Event list associated to the node. |
static String |
X_COORD
Label for the attribute; X coordinate of the template's position. |
static String |
Y_COORD
Label for the attribute; Y coodinate of the template's position. |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Method Summary | |
boolean |
addUserEvent(Object usr_evt)
Adds event to node (in case of router node). |
WfNode |
createWfNode(WfContainer container)
Creates a (persistent) node instance from the template. |
Enumeration |
getDestinationActions()
Return all events that can occur with the object as destination of a workflow link. |
WfContainerTemplateReference |
getParentTemplate()
Gets the value of the attribute: PARENT_TEMPLATE. |
Enumeration |
getPredecessors()
This method returns an enumeration (of type NodeTemplateLink) containing the predecessor links of the template. |
WfRouterType |
getRouterType()
Gets the value of the attribute: ROUTER_TYPE. |
Enumeration |
getSourceEvents()
Return all events that can occur with the object as source of a workflow link. |
Enumeration |
getSuccessors()
This method returns an enumeration (of type NodeTemplateLink) containing the successor links of the template. |
UserEventVector |
getUserEventList()
Gets the value of the attribute: USER_EVENT_LIST. |
Object[] |
getUserEvents()
Returns an enumeration containing all events defined for the node. |
long |
getXCoord()
Gets the value of the attribute: X_COORD. |
long |
getYCoord()
Gets the value of the attribute: Y_COORD. |
boolean |
removeUserEvent(Object usr_evt)
Removes event from node (for router nodes). |
void |
setRouterType(WfRouterType a_RouterType)
Sets the value of the attribute: ROUTER_TYPE. |
void |
setUserEventList(UserEventVector a_UserEventList)
Sets the value of the attribute: USER_EVENT_LIST. |
void |
setXCoord(long a_XCoord)
Sets the value of the attribute: X_COORD. |
void |
setYCoord(long a_YCoord)
Sets the value of the attribute: Y_COORD. |
Methods inherited from interface wt.fc.Persistable |
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.fc.ObjectMappable |
readExternal, writeExternal |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo, getConceptualClassname |
Field Detail |
public static final String X_COORD
public static final String Y_COORD
public static final String ROUTER_TYPE
public static final String USER_EVENT_LIST
public static final String PARENT_TEMPLATE
Method Detail |
public long getXCoord()
public void setXCoord(long a_XCoord) throws WTPropertyVetoException
a_XCoord
-
WTPropertyVetoException
public long getYCoord()
public void setYCoord(long a_YCoord) throws WTPropertyVetoException
a_YCoord
-
WTPropertyVetoException
public WfRouterType getRouterType()
public void setRouterType(WfRouterType a_RouterType)
a_RouterType
- public UserEventVector getUserEventList()
public void setUserEventList(UserEventVector a_UserEventList)
a_UserEventList
- public WfContainerTemplateReference getParentTemplate()
public Enumeration getSuccessors() throws WTException
WTException
public Enumeration getPredecessors() throws WTException
WTException
public Enumeration getSourceEvents()
public Enumeration getDestinationActions()
public WfNode createWfNode(WfContainer container) throws WTException
For activity templates, the pattern is the following:
public WfNode createWfNode (WfContainer container) throws WTException {whereinstance = .new (container); setAttributes (instance); return (WfNode) PersistenceHelper.manager.save (instance); }
container
-
WTException
public boolean addUserEvent(Object usr_evt)
usr_evt
-
public boolean removeUserEvent(Object usr_evt)
usr_evt
-
public Object[] getUserEvents()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |