|
jacquard 1.12.0 by The Web Engineering Factory and Toolworks | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An object representation of an abstract data store. Handles synchronising of database data with application-layer data. Provided as an interface for TableDescriptor so as to allow an interface to object databases (or other non-relational databases) to be developed later.
| Method Summary | |
void |
drop(Context c,
java.lang.Object key)
Drop the information held in this store against this key value |
int |
fetch(Context c,
java.lang.Object key)
Fetch the contents of this context from the data store described by this descriptor, by applying the supplied key. |
Contexts |
match(Context c)
Deprecated. use #match(Context,boolean) |
Contexts |
match(Context c,
boolean exact)
Fetch all the records from the data store described by this descriptor, which match the values contained in this context |
java.lang.Object |
store(Context c)
Store the information held in this context into the data store described by this descriptor. |
| Method Detail |
public void drop(Context c,
java.lang.Object key)
throws DataStoreException
DataStoreException
public int fetch(Context c,
java.lang.Object key)
throws DataStoreException
DataStoreException
public Contexts match(Context c)
throws DataStoreException
DataStoreException
public Contexts match(Context c,
boolean exact)
throws DataStoreException
c - the context to matchexact - whether or not an exact match is required - i.e. whether or not
to allow fuzzy matching of strings.
DataStoreException
public java.lang.Object store(Context c)
throws DataStoreException
DataStoreException
|
jacquard 1.12.0 by The Web Engineering Factory and Toolworks | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||