public class DefaultODataProcessor
extends ODataSingleProcessor
| Constructor and Description |
|---|
DefaultODataProcessor() |
| Modifier and Type | Method and Description |
|---|---|
ODataResponse |
createEntity(PostUriInfo uriInfo,
java.io.InputStream content,
java.lang.String requestContentType,
java.lang.String responseContentType) |
protected java.lang.String |
createLogStatements(EdmEntityType entityType,
ODataEntry oDataEntry,
int level) |
ODataResponse |
executeBatch(BatchHandler handler,
java.lang.String contentType,
java.io.InputStream content) |
BatchResponsePart |
executeChangeSet(BatchHandler handler,
java.util.List<ODataRequest> requests) |
protected java.util.List<ODataResponse> |
executeChangeSetInTransaction(BatchHandler handler,
java.util.List<ODataRequest> requests) |
protected java.lang.String |
getIntegrationKey(EdmEntitySet edmEntitySet,
java.util.List<KeyPredicate> keyPredicates) |
protected ODataEntryIntegrationKeyConverter |
getIntegrationKeyConverter() |
protected ODataContextLocaleExtractor |
getLocaleExtractor() |
protected ModelEntityService |
getModelEntityService() |
protected ModelService |
getModelService() |
protected ODataServicesConfiguration |
getoDataServicesConfiguration() |
protected PersistenceService |
getPersistenceService() |
protected java.lang.String |
getServiceNameFromContext(java.lang.String integrationKey) |
protected void |
logRequestEntity(EdmEntityType entityType,
ODataEntry entry) |
ODataResponse |
readEntity(GetEntityUriInfo uriInfo,
java.lang.String contentType) |
ODataResponse |
readEntitySet(GetEntitySetUriInfo uriInfo,
java.lang.String contentType) |
void |
setIntegrationKeyConverter(ODataEntryIntegrationKeyConverter integrationKeyConverter) |
void |
setLocaleExtractor(ODataContextLocaleExtractor localeExtractor) |
void |
setModelEntityService(ModelEntityService modelEntityService) |
void |
setModelService(ModelService modelService) |
void |
setODataServicesConfiguration(ODataServicesConfiguration oDataServicesConfiguration) |
void |
setPersistenceService(PersistenceService persistenceService) |
protected java.lang.String createLogStatements(EdmEntityType entityType,
ODataEntry oDataEntry,
int level)
throws EdmException
EdmExceptionprotected void logRequestEntity(EdmEntityType entityType,
ODataEntry entry)
throws EdmException
EdmExceptionpublic ODataResponse createEntity(PostUriInfo uriInfo,
java.io.InputStream content,
java.lang.String requestContentType,
java.lang.String responseContentType)
throws ODataException
ODataExceptionprotected java.lang.String getServiceNameFromContext(java.lang.String integrationKey)
throws ODataException
ODataExceptionpublic ODataResponse executeBatch(BatchHandler handler,
java.lang.String contentType,
java.io.InputStream content)
throws ODataException
ODataExceptionpublic BatchResponsePart executeChangeSet(BatchHandler handler,
java.util.List<ODataRequest> requests)
throws ODataException
ODataExceptionpublic ODataResponse readEntity(GetEntityUriInfo uriInfo,
java.lang.String contentType)
throws ODataException
ODataExceptionpublic ODataResponse readEntitySet(GetEntitySetUriInfo uriInfo,
java.lang.String contentType)
throws ODataException
ODataExceptionprotected java.lang.String getIntegrationKey(EdmEntitySet edmEntitySet,
java.util.List<KeyPredicate> keyPredicates)
throws EdmException
EdmExceptionprotected java.util.List<ODataResponse> executeChangeSetInTransaction(BatchHandler handler,
java.util.List<ODataRequest> requests)
throws ODataException
ODataExceptionprotected PersistenceService getPersistenceService()
public void setPersistenceService(PersistenceService persistenceService)
protected ODataServicesConfiguration getoDataServicesConfiguration()
public void setODataServicesConfiguration(ODataServicesConfiguration oDataServicesConfiguration)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
protected ODataEntryIntegrationKeyConverter getIntegrationKeyConverter()
public void setIntegrationKeyConverter(ODataEntryIntegrationKeyConverter integrationKeyConverter)
protected ODataContextLocaleExtractor getLocaleExtractor()
public void setLocaleExtractor(ODataContextLocaleExtractor localeExtractor)
protected ModelEntityService getModelEntityService()
public void setModelEntityService(ModelEntityService modelEntityService)
Copyright © 2018 SAP SE. All Rights Reserved.