|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.elkoserver.objdb.store.PutDesc
org.elkoserver.objdb.store.UpdateDesc
public class UpdateDesc
Description of a request to update to the object store.
ObjectStore.updateObjects()| Constructor Summary | |
|---|---|
UpdateDesc(String ref,
int version,
String obj,
OptString collectionName)
JSON-driven constructor. |
|
UpdateDesc(String ref,
int version,
String obj,
String collectionName)
Direct constructor. |
|
| Method Summary | |
|---|---|
JSONLiteral |
encode(EncodeControl control)
Encode this object for transmission or persistence. |
int |
version()
Get the version number. |
| Methods inherited from class org.elkoserver.objdb.store.PutDesc |
|---|
collectionName, isRequireNew, obj, ref |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@JSONMethod(value={"ref","version","obj","coll"})
public UpdateDesc(String ref,
int version,
String obj,
OptString collectionName)
ref - Object reference of the object to write.version - Object version being updatedobj - Object description.collectionName - Name of collection to write to, or null to take
the configured default.
public UpdateDesc(String ref,
int version,
String obj,
String collectionName)
ref - Object reference for the object.version - Object version being updatedobj - Object description (a JSON string describing the object).collectionName - Name of collection to write to, or null to take
the configured default.| Method Detail |
|---|
public JSONLiteral encode(EncodeControl control)
encode in interface Encodableencode in class PutDesccontrol - Encode control determining what flavor of encoding
should be done.
public int version()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||