public interface ParseOperation
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
apply(java.lang.Object oldValue,
ParseObject parseObject,
java.lang.String key)
Applies the operation to the specified object.
|
java.lang.Object |
encode(IParseObjectEncodingStrategy objectEncoder)
Encodes this parse operation in a form that is understood by the Parse REST API.
|
java.lang.Object apply(java.lang.Object oldValue, ParseObject parseObject, java.lang.String key) throws ParseException
oldValue
- The old value of the field referenced by key.parseObject
- The parse object on which the operation is to be applied.key
- The field on which the operation is to be applied.ParseException
java.lang.Object encode(IParseObjectEncodingStrategy objectEncoder) throws ParseException
objectEncoder
- The encoder to be used for encoding.ParseException