|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectvelosurf.model.Action
velosurf.model.Transaction
This class is an action that gather several consecutive queries
| Field Summary | |
protected java.util.List |
mParamNamesList
list of lists of parameter names |
protected java.util.List |
mQueries
all the queries |
| Fields inherited from class velosurf.model.Action |
mDB, mName, mParamNames, mQuery |
| Constructor Summary | |
Transaction(DBConnection inDB,
org.jdom.Element inJDOMAction)
Builds a new transaction |
|
| Method Summary | |
protected void |
defineQuery(org.jdom.Element inJDOMAction)
builds the queries |
int |
perform(DataAccessor inSource)
performs this action |
java.lang.String |
toString()
debug method |
| Methods inherited from class velosurf.model.Action |
buildArrayList, getDB, getName, isTransaction |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.util.List mQueries
protected java.util.List mParamNamesList
| Constructor Detail |
public Transaction(DBConnection inDB,
org.jdom.Element inJDOMAction)
inDB - database connectioninJDOMAction - XML tree| Method Detail |
protected void defineQuery(org.jdom.Element inJDOMAction)
defineQuery in class ActioninJDOMAction - XML tree
public int perform(DataAccessor inSource)
throws java.sql.SQLException
perform in class ActioninSource - DataAccessor containing parameter values
java.sql.SQLException - thrown from the databasepublic java.lang.String toString()
toString in class Action
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||