|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Storable
Simple interface to describe public methods on a data access object.
Method Summary | |
---|---|
void |
allocateKey()
Obtain a new primary key for this object. |
void |
delete()
Permenantly delete record. |
Object |
getResult()
Return the result object of an operation. |
int |
getResultCode()
Return the result code from an operation. |
Object |
getStorageKey()
Return this object's primary key. |
void |
populate(Map parameters)
Populate this object from a Map. |
void |
recycle()
Mark entry for deletion. |
void |
restore()
Unmark entry for deletion. |
void |
retrieve()
Retrieve record from storage. |
void |
setResult(Object result)
Cache the result object of an operation. |
void |
setResultCode(int resultCode)
Set a result code for an operation. |
void |
setStorageKey(Object key)
Set this object's primary key. |
void |
store()
Commit record to storage. |
Method Detail |
---|
void store() throws Exception
Exception
void retrieve() throws Exception
Exception
void delete() throws Exception
Exception
void recycle() throws Exception
Exception
void restore() throws Exception
Exception
Object getStorageKey()
void setStorageKey(Object key)
void allocateKey() throws Exception
Exception
void setResult(Object result)
Object getResult()
void setResultCode(int resultCode)
int getResultCode()
void populate(Map parameters) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |