Package | Description |
---|---|
org.apache.olingo.odata2.api.ep.callback |
Entity Provider Callbacks
These callbacks will be used to support the $expand query option.
|
org.apache.olingo.odata2.api.exception |
Exception Classes used in the OData library as well as the implementing application
APPLICATION DEVELOPERS: Please use
ODataApplicationException for
custom exceptions. |
org.apache.olingo.odata2.api.processor |
Data Processor
A data processor implements all create, read, update and delete (CRUD) methods of an OData service.
|
org.apache.olingo.odata2.api.uri.expression |
Expression Parser
This package contains all classes necessary to decribe an expression tree(e.g. a filter or order by tree)
Trees can be traversed by implementing the
ExpressionVisitor
interface and calling the accept() method. |
org.apache.olingo.odata2.client.api.ep.callback | |
org.apache.olingo.odata2.jpa.processor.api.exception |
OData JPA Processor API Library - Exceptions
There are two main types of exceptions thrown from the library
Model Exception
Runtime Exception
The Model Exception is thrown while processing JPA metamodels and runtime exception is thrown while processing persistence data. |
org.apache.olingo.odata2.ref.processor |
Modifier and Type | Method and Description |
---|---|
void |
OnReadInlineContent.handleReadEntry(ReadEntryResult readEntryResult)
Handles reading (de-serialization) entry result.
|
void |
OnReadInlineContent.handleReadFeed(ReadFeedResult readFeedResult)
Handles reading (de-serialization) entry result.
|
EntityProviderReadProperties |
OnReadInlineContent.receiveReadProperties(EntityProviderReadProperties readProperties,
EdmNavigationProperty navigationProperty)
Receive (request) to be used
EntityProviderReadProperties to read the found inline navigation property
(> |
WriteEntryCallbackResult |
OnWriteEntryContent.retrieveEntryResult(WriteEntryCallbackContext context)
Retrieves the data for an entry.
|
WriteFeedCallbackResult |
OnWriteFeedContent.retrieveFeedResult(WriteFeedCallbackContext context)
Retrieves the data for a feed.
|
Modifier and Type | Method and Description |
---|---|
ODataApplicationException |
ODataException.getApplicationExceptionCause()
Search for and return first (from top)
ODataApplicationException in the cause hierarchy. |
Modifier and Type | Method and Description |
---|---|
ODataResponse |
ODataErrorCallback.handleError(ODataErrorContext context)
This method can be used to handle an error differently than the exception mapper would.
|
Modifier and Type | Method and Description |
---|---|
Object |
Visitable.accept(ExpressionVisitor visitor)
Method
Visitable.accept(ExpressionVisitor) is called when traversing the expression tree. |
Modifier and Type | Method and Description |
---|---|
DeserializerProperties |
OnDeserializeInlineContent.receiveReadProperties(DeserializerProperties readProperties,
EdmNavigationProperty navigationProperty)
Receive (request) to be used
EntityProviderReadProperties to read the found inline navigation property
(> |
Modifier and Type | Method and Description |
---|---|
ODataResponse |
ODataJPAErrorCallback.handleError(ODataErrorContext context) |
Modifier and Type | Method and Description |
---|---|
void |
ScenarioDataSource.createData(EdmEntitySet entitySet,
Object data) |
void |
ScenarioDataSource.deleteData(EdmEntitySet entitySet,
Map<String,Object> keys) |
void |
ScenarioDataSource.deleteRelation(EdmEntitySet sourceEntitySet,
Object sourceData,
EdmEntitySet targetEntitySet,
Map<String,Object> targetKeys) |
ODataResponse |
ScenarioErrorCallback.handleError(ODataErrorContext context) |
ScenarioDataSource.BinaryData |
ScenarioDataSource.readBinaryData(EdmEntitySet entitySet,
Object mediaLinkEntryData) |
void |
ScenarioDataSource.writeBinaryData(EdmEntitySet entitySet,
Object mediaLinkEntryData,
ScenarioDataSource.BinaryData binaryData) |
void |
ScenarioDataSource.writeRelation(EdmEntitySet sourceEntitySet,
Object sourceData,
EdmEntitySet targetEntitySet,
Map<String,Object> targetKeys) |
Copyright © 2013-2019 The Apache Software Foundation. All Rights Reserved.