Class OlingoProcessor
java.lang.Object
com.sap.cds.adapter.odata.v4.processors.OlingoProcessor
- All Implemented Interfaces:
ActionComplexCollectionProcessor,ActionComplexProcessor,ActionEntityCollectionProcessor,ActionEntityProcessor,ActionPrimitiveCollectionProcessor,ActionPrimitiveProcessor,ActionVoidProcessor,BatchProcessor,ComplexCollectionProcessor,ComplexProcessor,CountEntityCollectionProcessor,DeltaProcessor,EntityCollectionProcessor,EntityProcessor,ErrorProcessor,PrimitiveCollectionProcessor,PrimitiveProcessor,PrimitiveValueProcessor,Processor
public class OlingoProcessor
extends Object
implements EntityProcessor, CountEntityCollectionProcessor, ActionEntityProcessor, ActionEntityCollectionProcessor, PrimitiveValueProcessor, PrimitiveCollectionProcessor, ActionPrimitiveProcessor, ActionPrimitiveCollectionProcessor, ComplexProcessor, ComplexCollectionProcessor, ActionComplexProcessor, ActionComplexCollectionProcessor, ActionVoidProcessor, BatchProcessor, ErrorProcessor, DeltaProcessor
Implements all supported Olingo Processors and delegates requests to the
ODataProcessor-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcountEntityCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) voidcreateEntity(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voiddeleteComplex(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) voiddeleteComplexCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) voiddeleteEntity(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) voiddeletePrimitive(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) voiddeletePrimitiveCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) voiddeletePrimitiveValue(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) voidinit(OData odata, ServiceMetadata serviceMetadata) voidprocessActionComplex(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voidprocessActionComplexCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voidprocessActionEntity(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voidprocessActionEntityCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voidprocessActionPrimitive(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voidprocessActionPrimitiveCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voidprocessActionVoid(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat) voidprocessBatch(BatchFacade facade, ODataRequest odataRequest, ODataResponse odataResponse) processChangeSet(BatchFacade facade, List<ODataRequest> odataRequests) voidprocessError(ODataRequest odataRequest, ODataResponse odataResponse, ODataServerError serverError, ContentType responseFormat) voidreadComplex(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) voidreadComplexCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) voidreadEntity(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) voidreadEntityCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) voidreadPrimitive(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) voidreadPrimitiveCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) voidreadPrimitiveValue(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) voidupdateComplex(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voidupdateComplexCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voidupdateEntity(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voidupdateEntityCollection(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voidupdatePrimitive(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voidupdatePrimitiveCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voidupdatePrimitiveValue(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat)
-
Constructor Details
-
OlingoProcessor
-
-
Method Details
-
init
-
readEntity
public void readEntity(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
readEntityin interfaceEntityProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
readEntityCollection
public void readEntityCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
readEntityCollectionin interfaceEntityCollectionProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
countEntityCollection
public void countEntityCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) throws ODataApplicationException, ODataLibraryException - Specified by:
countEntityCollectionin interfaceCountEntityCollectionProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
readComplex
public void readComplex(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
readComplexin interfaceComplexProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
readComplexCollection
public void readComplexCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
readComplexCollectionin interfaceComplexCollectionProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
readPrimitive
public void readPrimitive(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
readPrimitivein interfacePrimitiveProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
readPrimitiveValue
public void readPrimitiveValue(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
readPrimitiveValuein interfacePrimitiveValueProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
readPrimitiveCollection
public void readPrimitiveCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
readPrimitiveCollectionin interfacePrimitiveCollectionProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
createEntity
public void createEntity(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
createEntityin interfaceEntityProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
processActionEntity
public void processActionEntity(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
processActionEntityin interfaceActionEntityProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
processActionEntityCollection
public void processActionEntityCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
processActionEntityCollectionin interfaceActionEntityCollectionProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
processActionComplex
public void processActionComplex(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
processActionComplexin interfaceActionComplexProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
processActionComplexCollection
public void processActionComplexCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
processActionComplexCollectionin interfaceActionComplexCollectionProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
processActionPrimitive
public void processActionPrimitive(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
processActionPrimitivein interfaceActionPrimitiveProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
processActionPrimitiveCollection
public void processActionPrimitiveCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
processActionPrimitiveCollectionin interfaceActionPrimitiveCollectionProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
processActionVoid
public void processActionVoid(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
processActionVoidin interfaceActionVoidProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
updateEntity
public void updateEntity(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
updateEntityin interfaceEntityProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
updateEntityCollection
public void updateEntityCollection(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
updateEntityCollectionin interfaceDeltaProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
updateComplex
public void updateComplex(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
updateComplexin interfaceComplexProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
updateComplexCollection
public void updateComplexCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
updateComplexCollectionin interfaceComplexCollectionProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
updatePrimitive
public void updatePrimitive(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
updatePrimitivein interfacePrimitiveProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
updatePrimitiveValue
public void updatePrimitiveValue(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
updatePrimitiveValuein interfacePrimitiveValueProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
updatePrimitiveCollection
public void updatePrimitiveCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException - Specified by:
updatePrimitiveCollectionin interfacePrimitiveCollectionProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
deleteEntity
public void deleteEntity(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) throws ODataApplicationException, ODataLibraryException - Specified by:
deleteEntityin interfaceEntityProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
deleteComplex
public void deleteComplex(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) throws ODataApplicationException, ODataLibraryException - Specified by:
deleteComplexin interfaceComplexProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
deleteComplexCollection
public void deleteComplexCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) throws ODataApplicationException, ODataLibraryException - Specified by:
deleteComplexCollectionin interfaceComplexCollectionProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
deletePrimitive
public void deletePrimitive(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) throws ODataApplicationException, ODataLibraryException - Specified by:
deletePrimitivein interfacePrimitiveProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
deletePrimitiveValue
public void deletePrimitiveValue(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) throws ODataApplicationException, ODataLibraryException - Specified by:
deletePrimitiveValuein interfacePrimitiveValueProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
deletePrimitiveCollection
public void deletePrimitiveCollection(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo) throws ODataApplicationException, ODataLibraryException - Specified by:
deletePrimitiveCollectionin interfacePrimitiveCollectionProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
processBatch
public void processBatch(BatchFacade facade, ODataRequest odataRequest, ODataResponse odataResponse) throws ODataApplicationException, ODataLibraryException - Specified by:
processBatchin interfaceBatchProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
processChangeSet
public ODataResponsePart processChangeSet(BatchFacade facade, List<ODataRequest> odataRequests) throws ODataApplicationException, ODataLibraryException - Specified by:
processChangeSetin interfaceBatchProcessor- Throws:
ODataApplicationExceptionODataLibraryException
-
processError
public void processError(ODataRequest odataRequest, ODataResponse odataResponse, ODataServerError serverError, ContentType responseFormat) - Specified by:
processErrorin interfaceErrorProcessor
-