|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.valuestore.client.DeltaValueStoreJsonImpl
public class DeltaValueStoreJsonImpl
Experimental API: This class is still under rapid development, and is very likely to be deleted. Use it at your own risk.
DeltaValueStore implementation based on ValuesImpl.
| Method Summary | ||
|---|---|---|
void |
addValidation()
Most validations are per field or per id and set via annotation. |
|
void |
clearUsed()
Enable a DeltaValueStore to be reused again. |
|
java.util.Set<SyncResult> |
commit(java.lang.String response)
|
|
Record |
create(java.lang.Class token)
|
|
void |
delete(Record record)
|
|
boolean |
isChanged()
Return true if there are outstanding changes that have not been communicated to the server yet. |
|
|
set(Property<V> property,
Record record,
V value)
|
|
DeltaValueStore |
spawnDeltaView()
|
|
java.lang.String |
toJson()
|
|
boolean |
validate()
Returns true if all validations have passed. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void addValidation()
ValueStoreDeltaValueStore
instances spawned by #forEditContext(Object)
addValidation in interface ValueStorepublic void clearUsed()
DeltaValueStore
clearUsed in interface DeltaValueStorepublic java.util.Set<SyncResult> commit(java.lang.String response)
public Record create(java.lang.Class token)
create in interface DeltaValueStorepublic void delete(Record record)
delete in interface DeltaValueStorepublic boolean isChanged()
DeltaValueStore
isChanged in interface DeltaValueStore
public <V> void set(Property<V> property,
Record record,
V value)
set in interface DeltaValueStorepublic DeltaValueStore spawnDeltaView()
spawnDeltaView in interface ValueStorepublic java.lang.String toJson()
public boolean validate()
DeltaValueStoreHasErrors of new
validation errors.
validate in interface DeltaValueStore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||