|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbiz.hammurapi.sql.DatabaseObject
biz.hammurapi.web.interaction.sql.InteractionStepInstanceImpl
biz.hammurapi.web.interaction.InteractionInstance.StepInstance
Step instance
| Field Summary |
| Fields inherited from class biz.hammurapi.web.interaction.sql.InteractionStepInstanceImpl |
ActivatorId, FinishTime, Id, Inputs, OwnerId, PropertySet, SeqId, StartTime, Status, StepId, UserId |
| Fields inherited from class biz.hammurapi.sql.DatabaseObject |
columns, objectVersion, originalVersion |
| Constructor Summary | |
InteractionInstance.StepInstance(boolean force)
|
|
InteractionInstance.StepInstance(java.sql.ResultSet rs)
|
|
| Method Summary | |
boolean |
accept(biz.hammurapi.util.Visitor visitor)
|
DynaBind |
action(java.util.Map context)
Executes action code. |
int |
compareTo(java.lang.Object arg)
|
InteractionFactory.InteractionDefinition.StepDefinition |
getDefinition()
|
java.util.Collection |
getInputTransitions()
|
java.util.Collection |
getOutputTransitions()
|
InteractionInstance |
getOwner()
|
InteractionInstance.StepInstance |
getPredecessor(java.lang.String name)
Traverses predecessors and returns the first found with given definition name. |
java.util.Collection |
getPredecessors()
|
PropertySet |
getProperties()
Creates property set or retrieves it from the database. |
java.lang.Object |
getProperty(java.lang.String name)
Convenience method to retrieve interaction instance properties. |
java.lang.Object |
getProperty(java.lang.String name,
boolean cascade)
Convenience method to retrieve interaction instance properties. |
InteractionInstance.TransitionInstance |
getSingleInputTransition()
|
java.util.Collection |
getSuccessors()
|
void |
rewind()
Rewinds this step instance and its successors. |
void |
toDom(org.w3c.dom.Element holder)
|
void |
update()
Updates step information in the database |
| Methods inherited from class biz.hammurapi.web.interaction.sql.InteractionStepInstanceImpl |
clone, getActivatorId, getFinishTime, getId, getInputs, getOwnerId, getPropertySet, getSeqId, getStartTime, getStatus, getStepId, getUserId, project, project, setActivatorId, setFinishTime, setId, setInputs, setOwnerId, setPropertySet, setSeqId, setStartTime, setStatus, setStepId, setUserId |
| Methods inherited from class biz.hammurapi.sql.DatabaseObject |
addColumn, addObserver, addRelationship, clear, configure, configure, copy, delete, equals, fromDom, fromDom, get, getAttribute, getColumn, getColumnAttribute, getObjectVersion, getRelationship, getSqlType, hashCode, insert, isDeleted, isModified, loadRelationships, onChange, removeAttribute, removeColumnAttribute, removeObserver, setAttribute, setColumnAttribute, setOriginal, toDom, toString, update |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public InteractionInstance.StepInstance(boolean force)
public InteractionInstance.StepInstance(java.sql.ResultSet rs)
throws java.sql.SQLException
| Method Detail |
public InteractionFactory.InteractionDefinition.StepDefinition getDefinition()
throws java.sql.SQLException
java.sql.SQLException
public void rewind()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.Collection getInputTransitions()
public InteractionInstance.TransitionInstance getSingleInputTransition()
public java.util.Collection getOutputTransitions()
public java.util.Collection getPredecessors()
public InteractionInstance.StepInstance getPredecessor(java.lang.String name)
throws java.sql.SQLException
name -
java.sql.SQLExceptionpublic java.util.Collection getSuccessors()
public DynaBind action(java.util.Map context)
throws HammurapiWebException
context - evaluation context.
HammurapiWebException
public PropertySet getProperties()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.Object getProperty(java.lang.String name)
name -
java.sql.SQLException
public java.lang.Object getProperty(java.lang.String name,
boolean cascade)
name - cascade - - If true then this method cascades to
java.sql.SQLExceptionpublic void toDom(org.w3c.dom.Element holder)
toDom in interface biz.hammurapi.xml.dom.DomSerializable
public void update()
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean accept(biz.hammurapi.util.Visitor visitor)
accept in interface biz.hammurapi.util.Visitablepublic int compareTo(java.lang.Object arg)
compareTo in interface java.lang.Comparablepublic InteractionInstance getOwner()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||