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
EntityProviderWriteProperties
using the
callback key of this class.
Modifier and Type | Field and Description |
---|---|
static String |
CALLBACK_KEY_TOMBSTONE
The key to be used when registering the callback at the
EntityProviderWriteProperties |
static String |
NAMESPACE_TOMBSTONE |
static String |
PREFIX_TOMBSTONE |
static String |
REL_DELTA
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
TombstoneCallbackResult |
getTombstoneCallbackResult()
This method is called after all entries have been serialized.
|
static final String CALLBACK_KEY_TOMBSTONE
EntityProviderWriteProperties
static final String PREFIX_TOMBSTONE
static final String NAMESPACE_TOMBSTONE
@Deprecated static final String REL_DELTA
TombstoneCallbackResult getTombstoneCallbackResult()
This method is called after all entries have been serialized.
The returned TombstoneCallbackResult
must contain all deleted entries,
in the form of List<Map<property name, property value>>,
which should be serialized.
A map representing a deleted entry
The provided delta link will be serialized at the end of the feed document.
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.