org.apache.olingo.odata2.jpa.processor.core
Class ODataJPAProcessorDefault
java.lang.Object
org.apache.olingo.odata2.api.processor.ODataSingleProcessor
org.apache.olingo.odata2.jpa.processor.api.ODataJPAProcessor
org.apache.olingo.odata2.jpa.processor.core.ODataJPAProcessorDefault
- All Implemented Interfaces:
- CustomContentType, ODataProcessorFeature, ODataProcessor, BatchProcessor, EntityComplexPropertyProcessor, EntityLinkProcessor, EntityLinksProcessor, EntityMediaProcessor, EntityProcessor, EntitySetProcessor, EntitySimplePropertyProcessor, EntitySimplePropertyValueProcessor, FunctionImportProcessor, FunctionImportValueProcessor, MetadataProcessor, ServiceDocumentProcessor
public class ODataJPAProcessorDefault
- extends ODataJPAProcessor
|
Method Summary |
ODataResponse |
countEntitySet(GetEntitySetCountUriInfo uriParserResultView,
String contentType)
|
ODataResponse |
createEntity(PostUriInfo uriParserResultView,
InputStream content,
String requestContentType,
String contentType)
|
ODataResponse |
createEntityLink(PostUriInfo uriParserResultView,
InputStream content,
String requestContentType,
String contentType)
|
ODataResponse |
deleteEntity(DeleteUriInfo uriParserResultView,
String contentType)
|
ODataResponse |
deleteEntityLink(DeleteUriInfo uriParserResultView,
String contentType)
|
ODataResponse |
executeBatch(BatchHandler handler,
String contentType,
InputStream content)
|
BatchResponsePart |
executeChangeSet(BatchHandler handler,
List<ODataRequest> requests)
|
ODataResponse |
executeFunctionImport(GetFunctionImportUriInfo uriParserResultView,
String contentType)
|
ODataResponse |
executeFunctionImportValue(GetFunctionImportUriInfo uriParserResultView,
String contentType)
|
ODataResponse |
existsEntity(GetEntityCountUriInfo uriInfo,
String contentType)
|
ODataResponse |
readEntity(GetEntityUriInfo uriParserResultView,
String contentType)
|
ODataResponse |
readEntityLink(GetEntityLinkUriInfo uriParserResultView,
String contentType)
|
ODataResponse |
readEntityLinks(GetEntitySetLinksUriInfo uriParserResultView,
String contentType)
|
ODataResponse |
readEntitySet(GetEntitySetUriInfo uriParserResultView,
String contentType)
|
ODataResponse |
updateEntity(PutMergePatchUriInfo uriParserResultView,
InputStream content,
String requestContentType,
boolean merge,
String contentType)
|
ODataResponse |
updateEntityLink(PutMergePatchUriInfo uriParserResultView,
InputStream content,
String requestContentType,
String contentType)
|
| Methods inherited from class org.apache.olingo.odata2.api.processor.ODataSingleProcessor |
countEntityLinks, deleteEntityMedia, deleteEntitySimplePropertyValue, existsEntityLink, getContext, getCustomContentTypes, readEntityComplexProperty, readEntityMedia, readEntitySimpleProperty, readEntitySimplePropertyValue, readMetadata, readServiceDocument, setContext, updateEntityComplexProperty, updateEntityMedia, updateEntitySimpleProperty, updateEntitySimplePropertyValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ODataJPAProcessorDefault
public ODataJPAProcessorDefault(ODataJPAContext oDataJPAContext)
readEntitySet
public ODataResponse readEntitySet(GetEntitySetUriInfo uriParserResultView,
String contentType)
throws ODataException
- Specified by:
readEntitySet in interface EntitySetProcessor- Overrides:
readEntitySet in class ODataSingleProcessor
- Throws:
ODataException
readEntity
public ODataResponse readEntity(GetEntityUriInfo uriParserResultView,
String contentType)
throws ODataException
- Specified by:
readEntity in interface EntityProcessor- Overrides:
readEntity in class ODataSingleProcessor
- Throws:
ODataException
countEntitySet
public ODataResponse countEntitySet(GetEntitySetCountUriInfo uriParserResultView,
String contentType)
throws ODataException
- Specified by:
countEntitySet in interface EntitySetProcessor- Overrides:
countEntitySet in class ODataSingleProcessor
- Throws:
ODataException
existsEntity
public ODataResponse existsEntity(GetEntityCountUriInfo uriInfo,
String contentType)
throws ODataException
- Specified by:
existsEntity in interface EntityProcessor- Overrides:
existsEntity in class ODataSingleProcessor
- Throws:
ODataException
createEntity
public ODataResponse createEntity(PostUriInfo uriParserResultView,
InputStream content,
String requestContentType,
String contentType)
throws ODataException
- Specified by:
createEntity in interface EntitySetProcessor- Overrides:
createEntity in class ODataSingleProcessor
- Throws:
ODataException
updateEntity
public ODataResponse updateEntity(PutMergePatchUriInfo uriParserResultView,
InputStream content,
String requestContentType,
boolean merge,
String contentType)
throws ODataException
- Specified by:
updateEntity in interface EntityProcessor- Overrides:
updateEntity in class ODataSingleProcessor
- Throws:
ODataException
deleteEntity
public ODataResponse deleteEntity(DeleteUriInfo uriParserResultView,
String contentType)
throws ODataException
- Specified by:
deleteEntity in interface EntityProcessor- Overrides:
deleteEntity in class ODataSingleProcessor
- Throws:
ODataException
executeFunctionImport
public ODataResponse executeFunctionImport(GetFunctionImportUriInfo uriParserResultView,
String contentType)
throws ODataException
- Specified by:
executeFunctionImport in interface FunctionImportProcessor- Overrides:
executeFunctionImport in class ODataSingleProcessor
- Throws:
ODataException
executeFunctionImportValue
public ODataResponse executeFunctionImportValue(GetFunctionImportUriInfo uriParserResultView,
String contentType)
throws ODataException
- Specified by:
executeFunctionImportValue in interface FunctionImportValueProcessor- Overrides:
executeFunctionImportValue in class ODataSingleProcessor
- Throws:
ODataException
readEntityLink
public ODataResponse readEntityLink(GetEntityLinkUriInfo uriParserResultView,
String contentType)
throws ODataException
- Specified by:
readEntityLink in interface EntityLinkProcessor- Overrides:
readEntityLink in class ODataSingleProcessor
- Throws:
ODataException
readEntityLinks
public ODataResponse readEntityLinks(GetEntitySetLinksUriInfo uriParserResultView,
String contentType)
throws ODataException
- Specified by:
readEntityLinks in interface EntityLinksProcessor- Overrides:
readEntityLinks in class ODataSingleProcessor
- Throws:
ODataException
createEntityLink
public ODataResponse createEntityLink(PostUriInfo uriParserResultView,
InputStream content,
String requestContentType,
String contentType)
throws ODataException
- Specified by:
createEntityLink in interface EntityLinksProcessor- Overrides:
createEntityLink in class ODataSingleProcessor
- Throws:
ODataException
updateEntityLink
public ODataResponse updateEntityLink(PutMergePatchUriInfo uriParserResultView,
InputStream content,
String requestContentType,
String contentType)
throws ODataException
- Specified by:
updateEntityLink in interface EntityLinkProcessor- Overrides:
updateEntityLink in class ODataSingleProcessor
- Throws:
ODataException
deleteEntityLink
public ODataResponse deleteEntityLink(DeleteUriInfo uriParserResultView,
String contentType)
throws ODataException
- Specified by:
deleteEntityLink in interface EntityLinkProcessor- Overrides:
deleteEntityLink in class ODataSingleProcessor
- Throws:
ODataException
executeBatch
public ODataResponse executeBatch(BatchHandler handler,
String contentType,
InputStream content)
throws ODataException
- Specified by:
executeBatch in interface BatchProcessor- Overrides:
executeBatch in class ODataSingleProcessor
- Throws:
ODataException
executeChangeSet
public BatchResponsePart executeChangeSet(BatchHandler handler,
List<ODataRequest> requests)
throws ODataException
- Specified by:
executeChangeSet in interface BatchProcessor- Overrides:
executeChangeSet in class ODataSingleProcessor
- Throws:
ODataException
Copyright © 2013-2014 The Apache Software Foundation. All Rights Reserved.