|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DataStore
| Method Summary | |
|---|---|
java.util.Set |
load(Identifier id)
Loads an Entity given its identifier |
Entity |
load(Identifier id,
java.lang.Class clazz)
Loads an Entity given its identifier |
void |
remove(Identifier id)
Remove all entities identified by the provided Identifier from the Datastore |
void |
remove(Identifier id,
java.lang.Class clazz)
Remove an entity identified by its Identifier and class type from the Datastore. |
void |
save(Entity item)
Store an Entity into datastore |
| Method Detail |
|---|
java.util.Set load(Identifier id)
id - The ID of the Entity to Load
Entity
Entity load(Identifier id,
java.lang.Class clazz)
id - The ID of the Entity to Loadclazz - The type of the desired entity to be loaded
null if no such
entity is found.Entityvoid save(Entity item)
item - The entity to Storevoid remove(Identifier id)
id - The ID of the Entity(ies) to be removed
void remove(Identifier id,
java.lang.Class clazz)
id - The ID of the Entity to be removed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||