|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ItemCache
This interface describes calls that the Domain will make into a caching system. For now, only items are cached by id.
| Method Summary | |
|---|---|
void |
clear()
Clears the cache. |
Item |
getItem(String id)
This retrieves an item from the cache. |
List<Item> |
itemSet()
Retrieves a complete list of items in the cache |
void |
putItem(Item i)
Stores an item in the cache. |
void |
removeItem(String id)
Removes an item from the cache. |
| Method Detail |
|---|
Item getItem(String id)
id - the identifier for the item being retrieved
void putItem(Item i)
i - the item to be storedvoid removeItem(String id)
id - the identifier for the item being removedList<Item> itemSet()
void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||