|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.elkoserver.objdb.store.ResultDesc
org.elkoserver.objdb.store.UpdateResultDesc
public class UpdateResultDesc
Description of the result status of an object update operation.
ObjectStore.updateObjects(),
RequestResultHandler| Constructor Summary | |
|---|---|
UpdateResultDesc(String ref,
OptString failure,
boolean isAtomicFailure)
JSON-driven constructor. |
|
UpdateResultDesc(String ref,
String failure,
boolean isAtomicFailure)
Direct constructor. |
|
| Method Summary | |
|---|---|
JSONLiteral |
encode(EncodeControl control)
Encode this object for transmission or persistence. |
boolean |
isAtomicFailure()
Get the atomic failure flag. |
| Methods inherited from class org.elkoserver.objdb.store.ResultDesc |
|---|
failure, ref |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@JSONMethod(value={"ref","failure","atomic"})
public UpdateResultDesc(String ref,
OptString failure,
boolean isAtomicFailure)
ref - Object reference of the object acted upon.failure - Optional error message.
public UpdateResultDesc(String ref,
String failure,
boolean isAtomicFailure)
ref - Object reference of the object that was the subject of the
operation.failure - Error message string, or null if the operation was
successful.isAtomicFailure - Flag that is true if operation would have
completed but doing so would have violated atomicity.| Method Detail |
|---|
public JSONLiteral encode(EncodeControl control)
encode in interface Encodableencode in class ResultDesccontrol - Encode control determining what flavor of encoding
should be done.
public boolean isAtomicFailure()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||