scone.netobjects
Interface Cacheable

All Known Implementing Classes:
Access, HtmlNode, Inclusion, Keyword, Link, NetNode, Node2Key, Person, Server, TableRecord, User

public interface Cacheable

defines an object that can be stored in a CacheTable


Method Summary
 java.lang.Object getKey(int keyNo)
          returns the hashkey for this object (to be deprecated!)
 void setCacheTableEntryInterface(CacheTableEntryInterface ctei)
          sets the CacheTableEntryInterface
 void store()
          writes a persistent representation of the object to the storage.
 

Method Detail

getKey

java.lang.Object getKey(int keyNo)
returns the hashkey for this object (to be deprecated!)

Parameters:
keyNo - the number of the key to be generated
Returns:
the key

store

void store()
writes a persistent representation of the object to the storage. For example the scone database.


setCacheTableEntryInterface

void setCacheTableEntryInterface(CacheTableEntryInterface ctei)
sets the CacheTableEntryInterface

Parameters:
ctei - the CacheTableEntryInterface