|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.cisban.rod.dao.specifics.ProtocolActionNavigation
public class ProtocolActionNavigation
Handles database connections relating to navigating and querying database 'trees'
composed of ActionCV
s and ProtocolCV
s, or
ActionApplication
s and ProtocolApplication
s.
Constructor Summary | |
---|---|
ProtocolActionNavigation(Persist persist)
Main constructor. |
Method Summary | |
---|---|
ActionApplication |
createTrail(javax.jdo.PersistenceManager pm,
ProtocolApplication sourceProtocolApp,
ActionCV startActionCV,
ActionCV targetActionCV)
Creates an ActionApplication in a ProtocolApplication based upon the trail of the ProtocolCV and ActionCV. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProtocolActionNavigation(Persist persist)
persist
- Method Detail |
---|
public ActionApplication createTrail(javax.jdo.PersistenceManager pm, ProtocolApplication sourceProtocolApp, ActionCV startActionCV, ActionCV targetActionCV) throws java.lang.Exception
P1 -> A1 -> P2 - A2
In this particular experiment, MyExp, only the top-level step exists so far.
PA1
To this method applyAction, I can pass the id for PA1, and the id for A2, and it will create the following structure:
PA1 -> AA1 -> PA2 -> AA2
Clear as mud?
pm
- the persistence managersourceProtocolApp
- the ProtocolApplication to add the Action tostartActionCV
- targetActionCV
- the ActionCV that the ActionApplication should be created from
java.lang.Exception
- if there is no trail from the ProtocolCV (reference by the ProtocolApplication) to the ActionCV
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |