public interface OnReadInlineContent
Callback interface for the deep insert read calls (read of
content).
Typically the receiveReadProperties(EntityProviderReadProperties, EdmNavigationProperty)
method is called
when an inline navigation property is found and will be read.
The handleReadEntry(ReadEntryResult)
and handleReadFeed(ReadFeedResult)
methods are called
after the inline navigation property was read and deliver the read (de-serialized) entity or list of entities.
If inlined navigation property is nullable
and not set a ReadEntryResult
is given with the
navigationPropertyName
and a NULL
entry set.
Modifier and Type | Method and Description |
---|---|
void |
handleReadEntry(ReadEntryResult readEntryResult)
Handles reading (de-serialization) entry result.
|
void |
handleReadFeed(ReadFeedResult readFeedResult)
Handles reading (de-serialization) entry result.
|
EntityProviderReadProperties |
receiveReadProperties(EntityProviderReadProperties readProperties,
EdmNavigationProperty navigationProperty)
Receive (request) to be used
EntityProviderReadProperties to read the found inline navigation property
(> ). |
EntityProviderReadProperties receiveReadProperties(EntityProviderReadProperties readProperties, EdmNavigationProperty navigationProperty) throws ODataApplicationException
EntityProviderReadProperties
to read the found inline navigation property
(>...
).readProperties
- read properties which are used to read enclosing parent entitynavigationProperty
- emd navigation property information of found inline navigation propertyODataApplicationException
void handleReadEntry(ReadEntryResult readEntryResult) throws ODataApplicationException
ReadEntryResult
object contains all contextual information
about the de-serialized inline navigation property and the entry as
ODataEntry
.readEntryResult
- with contextual information about and de-serialized
inlined navigation property as ODataEntry
ODataApplicationException
void handleReadFeed(ReadFeedResult readFeedResult) throws ODataApplicationException
ReadFeedResult
object contains all contextual information
about the de-serialized inline navigation property and the entry as
a list of ODataEntry
.readFeedResult
- with contextual information about and de-serialized
inlined navigation property as a list of ODataEntry
ODataApplicationException
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.