Class OlingoProcessor
java.lang.Object
org.apache.olingo.odata2.api.processor.ODataSingleProcessor
com.sap.cds.adapter.odata.v2.processors.OlingoProcessor
- All Implemented Interfaces:
CustomContentType,ODataProcessorFeature,ODataProcessor,BatchProcessor,EntityComplexPropertyProcessor,EntityLinkProcessor,EntityLinksProcessor,EntityMediaProcessor,EntityProcessor,EntitySetProcessor,EntitySimplePropertyProcessor,EntitySimplePropertyValueProcessor,FunctionImportProcessor,FunctionImportValueProcessor,MetadataProcessor,ServiceDocumentProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncountEntitySet(GetEntitySetCountUriInfo uriInfo, String contentType) createEntity(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType) deleteEntity(DeleteUriInfo uriInfo, String contentType) deleteEntityMedia(DeleteUriInfo uriInfo, String contentType) executeBatch(BatchHandler handler, String contentType, InputStream content) executeChangeSet(BatchHandler handler, List<ODataRequest> requests) executeFunctionImport(GetFunctionImportUriInfo uriInfo, String contentType) readEntity(GetEntityUriInfo uriInfo, String contentType) readEntityMedia(GetMediaResourceUriInfo getMediaResourceUriInfo, String contentType) readEntitySet(GetEntitySetUriInfo uriInfo, String contentType) readEntitySimpleProperty(GetSimplePropertyUriInfo uriInfo, String contentType) readEntitySimplePropertyValue(GetSimplePropertyUriInfo uriInfo, String contentType) readMetadata(GetMetadataUriInfo uriInfo, String contentType) readServiceDocument(GetServiceDocumentUriInfo uriInfo, String contentType) updateEntity(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType) updateEntityMedia(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) Methods inherited from class org.apache.olingo.odata2.api.processor.ODataSingleProcessor
countEntityLinks, createEntityLink, deleteEntityLink, deleteEntitySimplePropertyValue, executeFunctionImportValue, existsEntity, existsEntityLink, getContext, getCustomContentTypes, readEntityComplexProperty, readEntityLink, readEntityLinks, setContext, updateEntityComplexProperty, updateEntityLink, updateEntitySimpleProperty, updateEntitySimplePropertyValue
-
Constructor Details
-
OlingoProcessor
-
-
Method Details
-
readEntity
- Specified by:
readEntityin interfaceEntityProcessor- Overrides:
readEntityin classODataSingleProcessor
-
readEntitySet
- Specified by:
readEntitySetin interfaceEntitySetProcessor- Overrides:
readEntitySetin classODataSingleProcessor
-
countEntitySet
- Specified by:
countEntitySetin interfaceEntitySetProcessor- Overrides:
countEntitySetin classODataSingleProcessor
-
readEntitySimpleProperty
- Specified by:
readEntitySimplePropertyin interfaceEntitySimplePropertyProcessor- Overrides:
readEntitySimplePropertyin classODataSingleProcessor
-
readEntitySimplePropertyValue
public ODataResponse readEntitySimplePropertyValue(GetSimplePropertyUriInfo uriInfo, String contentType) - Specified by:
readEntitySimplePropertyValuein interfaceEntitySimplePropertyValueProcessor- Overrides:
readEntitySimplePropertyValuein classODataSingleProcessor
-
deleteEntity
- Specified by:
deleteEntityin interfaceEntityProcessor- Overrides:
deleteEntityin classODataSingleProcessor
-
createEntity
public ODataResponse createEntity(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType) throws ODataException - Specified by:
createEntityin interfaceEntitySetProcessor- Overrides:
createEntityin classODataSingleProcessor- Throws:
ODataException
-
updateEntity
public ODataResponse updateEntity(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType) throws ODataException - Specified by:
updateEntityin interfaceEntityProcessor- Overrides:
updateEntityin classODataSingleProcessor- Throws:
ODataException
-
executeFunctionImport
- Specified by:
executeFunctionImportin interfaceFunctionImportProcessor- Overrides:
executeFunctionImportin classODataSingleProcessor
-
readMetadata
public ODataResponse readMetadata(GetMetadataUriInfo uriInfo, String contentType) throws ODataException - Specified by:
readMetadatain interfaceMetadataProcessor- Overrides:
readMetadatain classODataSingleProcessor- Throws:
ODataException
-
readServiceDocument
public ODataResponse readServiceDocument(GetServiceDocumentUriInfo uriInfo, String contentType) throws ODataException - Specified by:
readServiceDocumentin interfaceServiceDocumentProcessor- Overrides:
readServiceDocumentin classODataSingleProcessor- Throws:
ODataException
-
executeBatch
public ODataResponse executeBatch(BatchHandler handler, String contentType, InputStream content) throws ODataException - Specified by:
executeBatchin interfaceBatchProcessor- Overrides:
executeBatchin classODataSingleProcessor- Throws:
ODataException
-
executeChangeSet
public BatchResponsePart executeChangeSet(BatchHandler handler, List<ODataRequest> requests) throws ODataException - Specified by:
executeChangeSetin interfaceBatchProcessor- Overrides:
executeChangeSetin classODataSingleProcessor- Throws:
ODataException
-
readEntityMedia
public ODataResponse readEntityMedia(GetMediaResourceUriInfo getMediaResourceUriInfo, String contentType) - Specified by:
readEntityMediain interfaceEntityMediaProcessor- Overrides:
readEntityMediain classODataSingleProcessor
-
deleteEntityMedia
- Specified by:
deleteEntityMediain interfaceEntityMediaProcessor- Overrides:
deleteEntityMediain classODataSingleProcessor
-
updateEntityMedia
public ODataResponse updateEntityMedia(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) - Specified by:
updateEntityMediain interfaceEntityMediaProcessor- Overrides:
updateEntityMediain classODataSingleProcessor
-