public class DefaultODataProcessor
extends ODataSingleProcessor
| Constructor and Description |
|---|
DefaultODataProcessor() |
| Modifier and Type | Method and Description |
|---|---|
ODataResponse |
countEntitySet(GetEntitySetCountUriInfo uriInfo,
java.lang.String contentType) |
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 EntityReaderRegistry |
getEntityReaderRegistry() |
protected ItemLookupRequestFactory |
getItemLookupRequestFactory() |
protected ModelService |
getModelService() |
protected ODataServicesConfiguration |
getoDataServicesConfiguration() |
protected PersistenceService |
getPersistenceService() |
StorageRequestFactory |
getStorageRequestFactory() |
protected void |
logRequestEntity(EdmEntityType entityType,
ODataEntry entry) |
ODataResponse |
readEntity(GetEntityUriInfo uriInfo,
java.lang.String contentType) |
ODataResponse |
readEntitySet(GetEntitySetUriInfo uriInfo,
java.lang.String contentType) |
void |
setEntityReaderRegistry(EntityReaderRegistry entityReaderRegistry) |
void |
setItemLookupRequestFactory(ItemLookupRequestFactory itemLookupRequestFactory) |
void |
setModelService(ModelService modelService) |
void |
setODataServicesConfiguration(ODataServicesConfiguration oDataServicesConfiguration) |
void |
setPersistenceService(PersistenceService persistenceService) |
void |
setStorageRequestFactory(StorageRequestFactory storageRequestFactory) |
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
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 countEntitySet(GetEntitySetCountUriInfo uriInfo,
java.lang.String contentType)
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.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 EntityReaderRegistry getEntityReaderRegistry()
public void setEntityReaderRegistry(EntityReaderRegistry entityReaderRegistry)
protected ItemLookupRequestFactory getItemLookupRequestFactory()
public void setItemLookupRequestFactory(ItemLookupRequestFactory itemLookupRequestFactory)
public StorageRequestFactory getStorageRequestFactory()
public void setStorageRequestFactory(StorageRequestFactory storageRequestFactory)
Copyright © 2018 SAP SE. All Rights Reserved.