Class ODataJPADefaultProcessor
java.lang.Object
org.apache.olingo.odata2.api.processor.ODataSingleProcessor
org.apache.olingo.odata2.jpa.processor.api.ODataJPAProcessor
org.apache.olingo.odata2.jpa.processor.api.ODataJPADefaultProcessor
- All Implemented Interfaces:
CustomContentType,ODataProcessorFeature,ODataProcessor,BatchProcessor,EntityComplexPropertyProcessor,EntityLinkProcessor,EntityLinksProcessor,EntityMediaProcessor,EntityProcessor,EntitySetProcessor,EntitySimplePropertyProcessor,EntitySimplePropertyValueProcessor,FunctionImportProcessor,FunctionImportValueProcessor,MetadataProcessor,ServiceDocumentProcessor
-
Field Summary
Fields inherited from class org.apache.olingo.odata2.jpa.processor.api.ODataJPAProcessor
jpaProcessor, oDataJPAContext, responseBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncountEntitySet(GetEntitySetCountUriInfo uriParserResultView, String contentType) createEntity(PostUriInfo uriParserResultView, InputStream content, String requestContentType, String contentType) createEntityLink(PostUriInfo uriParserResultView, InputStream content, String requestContentType, String contentType) deleteEntity(DeleteUriInfo uriParserResultView, String contentType) deleteEntityLink(DeleteUriInfo uriParserResultView, String contentType) executeBatch(BatchHandler handler, String contentType, InputStream content) executeChangeSet(BatchHandler handler, List<ODataRequest> requests) executeFunctionImport(GetFunctionImportUriInfo uriParserResultView, String contentType) executeFunctionImportValue(GetFunctionImportUriInfo uriParserResultView, String contentType) existsEntity(GetEntityCountUriInfo uriInfo, String contentType) readEntity(GetEntityUriInfo uriParserResultView, String contentType) readEntityLink(GetEntityLinkUriInfo uriParserResultView, String contentType) readEntityLinks(GetEntitySetLinksUriInfo uriParserResultView, String contentType) readEntitySet(GetEntitySetUriInfo uriParserResultView, String contentType) readEntitySimpleProperty(GetSimplePropertyUriInfo uriInfo, String contentType) readEntitySimplePropertyValue(GetSimplePropertyUriInfo uriInfo, String contentType) updateEntity(PutMergePatchUriInfo uriParserResultView, InputStream content, String requestContentType, boolean merge, String contentType) updateEntityLink(PutMergePatchUriInfo uriParserResultView, InputStream content, String requestContentType, String contentType) updateEntitySimpleProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) updateEntitySimplePropertyValue(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) Methods inherited from class org.apache.olingo.odata2.jpa.processor.api.ODataJPAProcessor
close, close, getOdataJPAContext, setOdataJPAContextMethods inherited from class org.apache.olingo.odata2.api.processor.ODataSingleProcessor
countEntityLinks, deleteEntityMedia, deleteEntitySimplePropertyValue, existsEntityLink, getContext, getCustomContentTypes, readEntityComplexProperty, readEntityMedia, readMetadata, readServiceDocument, setContext, updateEntityComplexProperty, updateEntityMedia
-
Constructor Details
-
ODataJPADefaultProcessor
-
-
Method Details
-
readEntitySet
public ODataResponse readEntitySet(GetEntitySetUriInfo uriParserResultView, String contentType) throws ODataException - Specified by:
readEntitySetin interfaceEntitySetProcessor- Overrides:
readEntitySetin classODataSingleProcessor- Throws:
ODataException
-
readEntity
public ODataResponse readEntity(GetEntityUriInfo uriParserResultView, String contentType) throws ODataException - Specified by:
readEntityin interfaceEntityProcessor- Overrides:
readEntityin classODataSingleProcessor- Throws:
ODataException
-
countEntitySet
public ODataResponse countEntitySet(GetEntitySetCountUriInfo uriParserResultView, String contentType) throws ODataException - Specified by:
countEntitySetin interfaceEntitySetProcessor- Overrides:
countEntitySetin classODataSingleProcessor- Throws:
ODataException
-
existsEntity
public ODataResponse existsEntity(GetEntityCountUriInfo uriInfo, String contentType) throws ODataException - Specified by:
existsEntityin interfaceEntityProcessor- Overrides:
existsEntityin classODataSingleProcessor- Throws:
ODataException
-
createEntity
public ODataResponse createEntity(PostUriInfo uriParserResultView, InputStream content, String requestContentType, String contentType) throws ODataException - Specified by:
createEntityin interfaceEntitySetProcessor- Overrides:
createEntityin classODataSingleProcessor- Throws:
ODataException
-
updateEntity
public ODataResponse updateEntity(PutMergePatchUriInfo uriParserResultView, InputStream content, String requestContentType, boolean merge, String contentType) throws ODataException - Specified by:
updateEntityin interfaceEntityProcessor- Overrides:
updateEntityin classODataSingleProcessor- Throws:
ODataException
-
deleteEntity
public ODataResponse deleteEntity(DeleteUriInfo uriParserResultView, String contentType) throws ODataException - Specified by:
deleteEntityin interfaceEntityProcessor- Overrides:
deleteEntityin classODataSingleProcessor- Throws:
ODataException
-
executeFunctionImport
public ODataResponse executeFunctionImport(GetFunctionImportUriInfo uriParserResultView, String contentType) throws ODataException - Specified by:
executeFunctionImportin interfaceFunctionImportProcessor- Overrides:
executeFunctionImportin classODataSingleProcessor- Throws:
ODataException
-
executeFunctionImportValue
public ODataResponse executeFunctionImportValue(GetFunctionImportUriInfo uriParserResultView, String contentType) throws ODataException - Specified by:
executeFunctionImportValuein interfaceFunctionImportValueProcessor- Overrides:
executeFunctionImportValuein classODataSingleProcessor- Throws:
ODataException
-
readEntityLink
public ODataResponse readEntityLink(GetEntityLinkUriInfo uriParserResultView, String contentType) throws ODataException - Specified by:
readEntityLinkin interfaceEntityLinkProcessor- Overrides:
readEntityLinkin classODataSingleProcessor- Throws:
ODataException
-
readEntityLinks
public ODataResponse readEntityLinks(GetEntitySetLinksUriInfo uriParserResultView, String contentType) throws ODataException - Specified by:
readEntityLinksin interfaceEntityLinksProcessor- Overrides:
readEntityLinksin classODataSingleProcessor- Throws:
ODataException
-
createEntityLink
public ODataResponse createEntityLink(PostUriInfo uriParserResultView, InputStream content, String requestContentType, String contentType) throws ODataException - Specified by:
createEntityLinkin interfaceEntityLinksProcessor- Overrides:
createEntityLinkin classODataSingleProcessor- Throws:
ODataException
-
updateEntityLink
public ODataResponse updateEntityLink(PutMergePatchUriInfo uriParserResultView, InputStream content, String requestContentType, String contentType) throws ODataException - Specified by:
updateEntityLinkin interfaceEntityLinkProcessor- Overrides:
updateEntityLinkin classODataSingleProcessor- Throws:
ODataException
-
deleteEntityLink
public ODataResponse deleteEntityLink(DeleteUriInfo uriParserResultView, String contentType) throws ODataException - Specified by:
deleteEntityLinkin interfaceEntityLinkProcessor- Overrides:
deleteEntityLinkin 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
-
readEntitySimpleProperty
public ODataResponse readEntitySimpleProperty(GetSimplePropertyUriInfo uriInfo, String contentType) throws ODataException - Specified by:
readEntitySimplePropertyin interfaceEntitySimplePropertyProcessor- Overrides:
readEntitySimplePropertyin classODataSingleProcessor- Throws:
ODataException
-
readEntitySimplePropertyValue
public ODataResponse readEntitySimplePropertyValue(GetSimplePropertyUriInfo uriInfo, String contentType) throws ODataException - Specified by:
readEntitySimplePropertyValuein interfaceEntitySimplePropertyValueProcessor- Overrides:
readEntitySimplePropertyValuein classODataSingleProcessor- Throws:
ODataException
-
updateEntitySimpleProperty
public ODataResponse updateEntitySimpleProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) throws ODataException - Specified by:
updateEntitySimplePropertyin interfaceEntitySimplePropertyProcessor- Overrides:
updateEntitySimplePropertyin classODataSingleProcessor- Throws:
ODataException
-
updateEntitySimplePropertyValue
public ODataResponse updateEntitySimplePropertyValue(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) throws ODataException - Specified by:
updateEntitySimplePropertyValuein interfaceEntitySimplePropertyValueProcessor- Overrides:
updateEntitySimplePropertyValuein classODataSingleProcessor- Throws:
ODataException
-