|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Savable
Interface for transactionally savable objects.
| Method Summary | |
|---|---|
java.util.Collection<? extends Savable> |
getPostSavables(SaveContext context)
Get a Collection of all of the SavableNodes this SavableNode is holding that will need to be saved after this Savable. |
java.util.Collection<? extends Savable> |
getPreSavables(SaveContext context)
Get a Collection of all of the SavableNodes this SavableNode is holding that will need to be saved before this Savable. |
boolean |
isModified()
Has this object been modified? |
boolean |
isNew()
Is this a new object? |
void |
save(java.sql.Connection conn,
SaveContext context)
Save this object's state over the given connection. |
| Method Detail |
|---|
boolean isNew()
boolean isModified()
void save(java.sql.Connection conn,
SaveContext context)
throws SaveException,
java.sql.SQLException
conn - the connection to use for savingcontext - SaveContext being used in this Saver session
SaveException
java.sql.SQLExceptionjava.util.Collection<? extends Savable> getPreSavables(SaveContext context)
context - SaveContext being used in this Saver session
java.util.Collection<? extends Savable> getPostSavables(SaveContext context)
context - SaveContext being used in this Saver session
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||