Interface TombstoneCallback
-
- All Superinterfaces:
ODataCallback
public interface TombstoneCallback extends ODataCallback
Interface that must be implemented in order to provide tombstone support.
The callback implementing this interface is registered at the
EntityProviderWritePropertiesusing the callback key of this class.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCALLBACK_KEY_TOMBSTONEThe key to be used when registering the callback at theEntityProviderWritePropertiesstatic StringNAMESPACE_TOMBSTONEstatic StringPREFIX_TOMBSTONEstatic StringREL_DELTADeprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TombstoneCallbackResultgetTombstoneCallbackResult()This method is called after all entries have been serialized.
-
-
-
Field Detail
-
CALLBACK_KEY_TOMBSTONE
static final String CALLBACK_KEY_TOMBSTONE
The key to be used when registering the callback at theEntityProviderWriteProperties- See Also:
- Constant Field Values
-
PREFIX_TOMBSTONE
static final String PREFIX_TOMBSTONE
- See Also:
- Constant Field Values
-
NAMESPACE_TOMBSTONE
static final String NAMESPACE_TOMBSTONE
- See Also:
- Constant Field Values
-
REL_DELTA
@Deprecated static final String REL_DELTA
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
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.
- Returns:
- retorno
-
-