|
|||||||||
| 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.SuiteDAO
public class SuiteDAO
This class transfers Suite objects between memory and the DB.
| Field Summary |
|---|
| Fields inherited from class edu.sdsc.inca.depot.persistent.DAO |
|---|
logger |
| Constructor Summary | |
|---|---|
SuiteDAO()
|
|
| Method Summary | |
|---|---|
static Suite |
load(Suite s)
Returns a Suite from the DB with the same field values as one specified, null if no such Suite appears in the DB. |
static Suite |
loadOrSave(Suite s)
Returns a Suite 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 Suite |
update(Suite s)
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 SuiteDAO()
| Method Detail |
|---|
public static Suite load(Suite s)
throws PersistenceException
s - a Suite that contains field values used in the retrieval
PersistenceException - on err
public static Suite loadOrSave(Suite s)
throws PersistenceException
s - an object that contains field values used in the retrieval
PersistenceException - on err
public static Suite update(Suite s)
throws PersistenceException
s - the Suite to update
PersistenceException - on error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||