|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.upenn.crimson.io.Models
public class Models
Functions related to the MODELS table.
| Constructor Summary | |
|---|---|
Models()
|
|
| Method Summary | |
|---|---|
static boolean |
dbContains(java.lang.String id)
This will return true if a model exists in MODELS with an id equal to 'id'. |
static boolean |
delete(java.lang.String id)
Removes a model from the database. |
static void |
loadAll()
This will load all models from the MODELS table. |
static void |
save(Model model)
This will publish the specified model to the MODELS table in the current database. |
java.lang.String |
toString()
Returns the non-CLOB columns in the MODELS table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Models()
| Method Detail |
|---|
public static void loadAll()
public static void save(Model model)
public static boolean delete(java.lang.String id)
public static boolean dbContains(java.lang.String id)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||