|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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. |
java.lang.Object |
getResult()
Return the result object of an operation. |
int |
getResultCode()
Return the result code from an operation. |
java.lang.Object |
getStorageKey()
Return this object's primary key. |
void |
populate(java.util.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(java.lang.Object result)
Cache the result object of an operation. |
void |
setResultCode(int resultCode)
Set a result code for an operation. |
void |
setStorageKey(java.lang.Object key)
Set this object's primary key. |
void |
store()
Commit record to storage. |
| Method Detail |
public void store()
throws java.lang.Exception
java.lang.Exception
public void retrieve()
throws java.lang.Exception
java.lang.Exception
public void delete()
throws java.lang.Exception
java.lang.Exception
public void recycle()
throws java.lang.Exception
java.lang.Exception
public void restore()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Object getStorageKey()
public void setStorageKey(java.lang.Object key)
public void allocateKey()
throws java.lang.Exception
java.lang.Exceptionpublic void setResult(java.lang.Object result)
public java.lang.Object getResult()
public void setResultCode(int resultCode)
public int getResultCode()
public void populate(java.util.Map parameters)
throws java.lang.Exception
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||