|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface responsible for caching NakedObjects for a NakedObjectStore.
| Method Summary | |
void |
add(NakedObject object)
Add a NakedObject to the cache. |
void |
clear()
Clear the cache. |
boolean |
contains(java.lang.Object oid)
Return true if cache contains an object represented by the OID |
java.lang.String |
dump()
Return a String representation of all elements in the cache. |
NakedObject |
get(java.lang.Object oid)
Retrieve a NakedObject represented by the supploed oid from the cache. |
void |
remove(NakedObject object)
Remove a NakedObject from the cache. |
| Method Detail |
public void add(NakedObject object)
object - the NakedObject to add to the cachepublic void clear()
public boolean contains(java.lang.Object oid)
oid - the OID of the NakedObjectpublic java.lang.String dump()
public NakedObject get(java.lang.Object oid)
oid - the OID of the NakedObject to getpublic void remove(NakedObject object)
object - the NakedObject to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||