public class OlingoProcessor extends Object implements EntityProcessor, CountEntityCollectionProcessor, ActionEntityProcessor, ActionEntityCollectionProcessor, PrimitiveValueProcessor, PrimitiveCollectionProcessor, ActionPrimitiveProcessor, ActionPrimitiveCollectionProcessor, ComplexProcessor, ComplexCollectionProcessor, ActionComplexProcessor, ActionComplexCollectionProcessor, ActionVoidProcessor, BatchProcessor, ErrorProcessor
ODataProcessor
Constructor and Description |
---|
OlingoProcessor(CdsRequestGlobals globals) |
Modifier and Type | Method and Description |
---|---|
void |
countEntityCollection(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo) |
void |
createEntity(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
deleteComplex(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo) |
void |
deleteComplexCollection(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo) |
void |
deleteEntity(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo) |
void |
deletePrimitive(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo) |
void |
deletePrimitiveCollection(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo) |
void |
deletePrimitiveValue(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo) |
void |
init(OData odata,
ServiceMetadata serviceMetadata) |
void |
processActionComplex(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
processActionComplexCollection(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
processActionEntity(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
processActionEntityCollection(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
processActionPrimitive(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
processActionPrimitiveCollection(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
processActionVoid(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType requestFormat) |
void |
processBatch(BatchFacade facade,
ODataRequest odataRequest,
ODataResponse odataResponse) |
ODataResponsePart |
processChangeSet(BatchFacade facade,
List<ODataRequest> odataRequests) |
void |
processError(ODataRequest odataRequest,
ODataResponse odataResponse,
ODataServerError serverError,
ContentType responseFormat) |
void |
readComplex(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType responseFormat) |
void |
readComplexCollection(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType responseFormat) |
void |
readEntity(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType responseFormat) |
void |
readEntityCollection(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType responseFormat) |
void |
readPrimitive(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType responseFormat) |
void |
readPrimitiveCollection(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType responseFormat) |
void |
readPrimitiveValue(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType responseFormat) |
void |
updateComplex(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
updateComplexCollection(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
updateEntity(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
updatePrimitive(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
updatePrimitiveCollection(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
void |
updatePrimitiveValue(ODataRequest odataRequest,
ODataResponse odataResponse,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat) |
public OlingoProcessor(CdsRequestGlobals globals)
public void init(OData odata, ServiceMetadata serviceMetadata)
public void readEntity(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
readEntity
in interface EntityProcessor
ODataApplicationException
ODataLibraryException
public void readEntityCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
readEntityCollection
in interface EntityCollectionProcessor
ODataApplicationException
ODataLibraryException
public void countEntityCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) throws ODataApplicationException, ODataLibraryException
countEntityCollection
in interface CountEntityCollectionProcessor
ODataApplicationException
ODataLibraryException
public void readComplex(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
readComplex
in interface ComplexProcessor
ODataApplicationException
ODataLibraryException
public void readComplexCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
readComplexCollection
in interface ComplexCollectionProcessor
ODataApplicationException
ODataLibraryException
public void readPrimitive(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
readPrimitive
in interface PrimitiveProcessor
ODataApplicationException
ODataLibraryException
public void readPrimitiveValue(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
readPrimitiveValue
in interface PrimitiveValueProcessor
ODataApplicationException
ODataLibraryException
public void readPrimitiveCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
readPrimitiveCollection
in interface PrimitiveCollectionProcessor
ODataApplicationException
ODataLibraryException
public void createEntity(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
createEntity
in interface EntityProcessor
ODataApplicationException
ODataLibraryException
public void processActionEntity(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
processActionEntity
in interface ActionEntityProcessor
ODataApplicationException
ODataLibraryException
public void processActionEntityCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
processActionEntityCollection
in interface ActionEntityCollectionProcessor
ODataApplicationException
ODataLibraryException
public void processActionComplex(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
processActionComplex
in interface ActionComplexProcessor
ODataApplicationException
ODataLibraryException
public void processActionComplexCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
processActionComplexCollection
in interface ActionComplexCollectionProcessor
ODataApplicationException
ODataLibraryException
public void processActionPrimitive(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
processActionPrimitive
in interface ActionPrimitiveProcessor
ODataApplicationException
ODataLibraryException
public void processActionPrimitiveCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
processActionPrimitiveCollection
in interface ActionPrimitiveCollectionProcessor
ODataApplicationException
ODataLibraryException
public void processActionVoid(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat) throws ODataApplicationException, ODataLibraryException
processActionVoid
in interface ActionVoidProcessor
ODataApplicationException
ODataLibraryException
public void updateEntity(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
updateEntity
in interface EntityProcessor
ODataApplicationException
ODataLibraryException
public void updateComplex(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
updateComplex
in interface ComplexProcessor
ODataApplicationException
ODataLibraryException
public void updateComplexCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
updateComplexCollection
in interface ComplexCollectionProcessor
ODataApplicationException
ODataLibraryException
public void updatePrimitive(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
updatePrimitive
in interface PrimitiveProcessor
ODataApplicationException
ODataLibraryException
public void updatePrimitiveValue(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
updatePrimitiveValue
in interface PrimitiveValueProcessor
ODataApplicationException
ODataLibraryException
public void updatePrimitiveCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
updatePrimitiveCollection
in interface PrimitiveCollectionProcessor
ODataApplicationException
ODataLibraryException
public void deleteEntity(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) throws ODataApplicationException, ODataLibraryException
deleteEntity
in interface EntityProcessor
ODataApplicationException
ODataLibraryException
public void deleteComplex(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) throws ODataApplicationException, ODataLibraryException
deleteComplex
in interface ComplexProcessor
ODataApplicationException
ODataLibraryException
public void deleteComplexCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) throws ODataApplicationException, ODataLibraryException
deleteComplexCollection
in interface ComplexCollectionProcessor
ODataApplicationException
ODataLibraryException
public void deletePrimitive(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) throws ODataApplicationException, ODataLibraryException
deletePrimitive
in interface PrimitiveProcessor
ODataApplicationException
ODataLibraryException
public void deletePrimitiveValue(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) throws ODataApplicationException, ODataLibraryException
deletePrimitiveValue
in interface PrimitiveValueProcessor
ODataApplicationException
ODataLibraryException
public void deletePrimitiveCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) throws ODataApplicationException, ODataLibraryException
deletePrimitiveCollection
in interface PrimitiveCollectionProcessor
ODataApplicationException
ODataLibraryException
public void processBatch(BatchFacade facade, ODataRequest odataRequest, ODataResponse odataResponse) throws ODataApplicationException, ODataLibraryException
processBatch
in interface BatchProcessor
ODataApplicationException
ODataLibraryException
public ODataResponsePart processChangeSet(BatchFacade facade, List<ODataRequest> odataRequests) throws ODataApplicationException, ODataLibraryException
processChangeSet
in interface BatchProcessor
ODataApplicationException
ODataLibraryException
public void processError(ODataRequest odataRequest, ODataResponse odataResponse, ODataServerError serverError, ContentType responseFormat)
processError
in interface ErrorProcessor
Copyright © 2021. All rights reserved.