|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.elkoserver.objdb.store.ResultDesc
public class ResultDesc
Description of the result status of an object store operation.
ObjectStore.putObjects(),
ObjectStore.removeObjects(),
RequestResultHandler| Constructor Summary | |
|---|---|
ResultDesc(String ref,
OptString failure)
JSON-driven constructor. |
|
ResultDesc(String ref,
String failure)
Direct constructor. |
|
| Method Summary | |
|---|---|
JSONLiteral |
encode(EncodeControl control)
Encode this object for transmission or persistence. |
String |
failure()
Get the error message string. |
String |
ref()
Get the subject object's reference string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@JSONMethod(value={"ref","failure"})
public ResultDesc(String ref,
OptString failure)
ref - Object reference of the object acted upon.failure - Optional error message.
public ResultDesc(String ref,
String failure)
ref - Object reference of the object that was the subject of the
operation.failure - Error message string, or null if the operation was
successful.| Method Detail |
|---|
public JSONLiteral encode(EncodeControl control)
encode in interface Encodablecontrol - Encode control determining what flavor of encoding
should be done.
public String failure()
public String ref()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||