Interface TombstoneCallback
- All Superinterfaces:
ODataCallback
Interface that must be implemented in order to provide tombstone support.
The callback implementing this interface is registered at the
EntityProviderWriteProperties using the
callback key of this class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe key to be used when registering the callback at theEntityProviderWritePropertiesstatic final Stringstatic final Stringstatic final StringDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionThis method is called after all entries have been serialized.
-
Field Details
-
CALLBACK_KEY_TOMBSTONE
The key to be used when registering the callback at theEntityProviderWriteProperties- See Also:
-
PREFIX_TOMBSTONE
- See Also:
-
NAMESPACE_TOMBSTONE
- See Also:
-
REL_DELTA
Deprecated.- See Also:
-
-
Method Details
-
getTombstoneCallbackResult
TombstoneCallbackResult getTombstoneCallbackResult()This method is called after all entries have been serialized.
The returned
TombstoneCallbackResultmust contain all deleted entries, in the form of List<Map<property name, property value>>, which should be serialized.A map representing a deleted entry
- MUST contain all properties which are part of the key for this entry.
- MAY contain the property which is mapped on SyndicationUpdated. The provided value here will result in the value of the "when" attribute of the deleted entry.
The provided delta link will be serialized at the end of the feed document.
-