|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataStore
Method Summary | |
---|---|
Set<Entity> |
load(Identifier id)
Loads an Entity given its identifier |
Entity |
load(Identifier id,
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,
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 |
---|
Set<Entity> load(Identifier id)
id
- The ID of the Entity to Load
Entity
Entity load(Identifier id, 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.Entity
void save(Entity item)
item
- The entity to Storevoid remove(Identifier id)
id
- The ID of the Entity(ies) to be removedvoid remove(Identifier id, 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 |