|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Collection<K,D>
Provides access to a collection of data items.
| Method Summary | |
|---|---|
void |
delete(K key)
Delete an item. |
D |
get(K key)
Retrieves an item. |
Entry<K,D>[] |
getAll()
Get the whole collection. |
K |
post(K key,
D item)
Creates a new item. |
void |
put(K key,
D item)
Updates an item. |
Entry<K,D>[] |
query(java.lang.String queryString)
Returns a collection resulting from a query. |
| Method Detail |
|---|
Entry<K,D>[] getAll()
Entry<K,D>[] query(java.lang.String queryString)
K post(K key,
D item)
key - item -
D get(K key)
throws NotFoundException
key -
NotFoundException
void put(K key,
D item)
throws NotFoundException
key - item -
NotFoundException
void delete(K key)
throws NotFoundException
key -
NotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||