Interface OnReadInlineContent
-
public interface OnReadInlineContentCallback interface for the deep insert read calls (read of
<m:inline>content). Typically thereceiveReadProperties(EntityProviderReadProperties, EdmNavigationProperty)method is called when an inline navigation property is found and will be read.The
handleReadEntry(ReadEntryResult)andhandleReadFeed(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 isnullableand not set aReadEntryResultis given with thenavigationPropertyNameand aNULLentry set.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleReadEntry(ReadEntryResult readEntryResult)Handles reading (de-serialization) entry result.voidhandleReadFeed(ReadFeedResult readFeedResult)Handles reading (de-serialization) entry result.EntityProviderReadPropertiesreceiveReadProperties(EntityProviderReadProperties readProperties, EdmNavigationProperty navigationProperty)Receive (request) to be usedEntityProviderReadPropertiesto read the found inline navigation property (<m:inline>...<m:inline>).
-
-
-
Method Detail
-
receiveReadProperties
EntityProviderReadProperties receiveReadProperties(EntityProviderReadProperties readProperties, EdmNavigationProperty navigationProperty) throws ODataApplicationException
Receive (request) to be usedEntityProviderReadPropertiesto read the found inline navigation property (<m:inline>...<m:inline>).- Parameters:
readProperties- read properties which are used to read enclosing parent entitynavigationProperty- emd navigation property information of found inline navigation property- Returns:
- read properties which are used to read (de-serialize) found inline navigation property
- Throws:
ODataApplicationException- Caso ocorra exceção
-
handleReadEntry
void handleReadEntry(ReadEntryResult readEntryResult) throws ODataApplicationException
Handles reading (de-serialization) entry result. The givenReadEntryResultobject contains all contextual information about the de-serialized inline navigation property and the entry asODataEntry.- Parameters:
readEntryResult- with contextual information about and de-serialized inlined navigation property asODataEntry- Throws:
ODataApplicationException- Caso ocorra exceção
-
handleReadFeed
void handleReadFeed(ReadFeedResult readFeedResult) throws ODataApplicationException
Handles reading (de-serialization) entry result. The givenReadFeedResultobject contains all contextual information about the de-serialized inline navigation property and the entry as a list ofODataEntry.- Parameters:
readFeedResult- with contextual information about and de-serialized inlined navigation property as a list ofODataEntry- Throws:
ODataApplicationException- Caso ocorra exceção
-
-