|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.sdsc.inca.depot.persistent.DAO
edu.sdsc.inca.depot.persistent.RunInfoDAO
public class RunInfoDAO
This class transfers RunInfo objects between memory and the DB.
| Field Summary |
|---|
| Fields inherited from class edu.sdsc.inca.depot.persistent.DAO |
|---|
logger |
| Constructor Summary | |
|---|---|
RunInfoDAO()
|
|
| Method Summary | |
|---|---|
static RunInfo |
load(RunInfo ri)
Returns a RunInfo from the DB with the same field values as one specified, null if no such RunInfo appears in the DB. |
static RunInfo |
loadOrSave(RunInfo ri)
Returns a RunInfo object from the DB with the same field values as one specified, or the saved version of the specified object if no such object appears in the DB. |
static RunInfo |
update(RunInfo ri)
A wrapper around DAO.update that handles the necessary casting. |
| Methods inherited from class edu.sdsc.inca.depot.persistent.DAO |
|---|
save, selectMultiple, selectUnique, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RunInfoDAO()
| Method Detail |
|---|
public static RunInfo load(RunInfo ri)
throws PersistenceException
ri - an object that contains field values used in the retrieval
PersistenceException - on err
public static RunInfo loadOrSave(RunInfo ri)
throws PersistenceException
ri - an object that contains field values used in the retrieval
PersistenceException - on err
public static RunInfo update(RunInfo ri)
throws PersistenceException
ri - the object to update
PersistenceException - on error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||