|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.elkoserver.objdb.store.RequestDesc
public class RequestDesc
Description of a request for an object.
ObjectStore.getObjects()| Constructor Summary | |
|---|---|
RequestDesc(String ref,
OptString collectionName,
OptBoolean contents)
JSON-driven constructor. |
|
RequestDesc(String ref,
String collectionName,
boolean contents)
Direct constructor. |
|
| Method Summary | |
|---|---|
String |
collectionName()
Get the name of the collection being queried, or null if it's to be the default. |
boolean |
contents()
Get the value of the contents flag. |
JSONLiteral |
encode(EncodeControl control)
Encode this object for transmission or persistence. |
String |
ref()
Get the reference string of the requested object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@JSONMethod(value={"ref","coll","contents"})
public RequestDesc(String ref,
OptString collectionName,
OptBoolean contents)
ref - Reference string identifying the object requested.collectionName - Name of collection to get from, or null to take
the configured default.contents - If true, retrieve the referenced object and any objects
it contains; if false (the default if omitted), only retrieve the
referenced object itself.
public RequestDesc(String ref,
String collectionName,
boolean contents)
ref - Reference string identifying the object requested.collectionName - Name of collection to get from, or null to take
the configured default.contents - If true, retrieve the referenced object and any objects
it contains; if false, only retrieve the referenced object itself.| Method Detail |
|---|
public String collectionName()
public boolean contents()
public JSONLiteral encode(EncodeControl control)
encode in interface Encodablecontrol - Encode control determining what flavor of encoding
should be done.
public String ref()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||