Class DefaultODataProcessorFactory
java.lang.Object
de.hybris.platform.odata2services.odata.processor.DefaultODataProcessorFactory
- All Implemented Interfaces:
ODataProcessorFactory
A default implementation of the factory, which creates new instance of the processor for every invocation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.olingo.odata2.api.processor.ODataSingleProcessorcreateProcessor(org.apache.olingo.odata2.api.processor.ODataContext context) Creates new instance of the processor.protected ODataProcessorHandler<BatchParam,org.apache.olingo.odata2.api.processor.ODataResponse> protected ODataProcessorHandler<ChangeSetParam,org.apache.olingo.odata2.api.batch.BatchResponsePart> protected ODataProcessorHandler<DeleteParam,org.apache.olingo.odata2.api.processor.ODataResponse> protected ItemTypeDescriptorServiceprotected ODataProcessorHandler<PersistenceParam,org.apache.olingo.odata2.api.processor.ODataResponse> protected ODataProcessorHandler<PersistenceParam,org.apache.olingo.odata2.api.processor.ODataResponse> protected ODataProcessorHandler<ReadParam,org.apache.olingo.odata2.api.processor.ODataResponse> protected ServiceNameExtractorvoidsetAccessRightsService(AccessRightsService accessRightsService) voidsetBatchPersistenceHandler(ODataProcessorHandler<BatchParam, org.apache.olingo.odata2.api.processor.ODataResponse> batchPersistenceHandler) voidsetChangeSetPersistenceHandler(ODataProcessorHandler<ChangeSetParam, org.apache.olingo.odata2.api.batch.BatchResponsePart> changeSetPersistenceHandler) voidsetDeleteHandler(ODataProcessorHandler<DeleteParam, org.apache.olingo.odata2.api.processor.ODataResponse> deleteHandler) voidsetItemTypeDescriptorService(ItemTypeDescriptorService itemTypeDescriptorService) voidsetPatchPersistenceHandler(ODataProcessorHandler<PersistenceParam, org.apache.olingo.odata2.api.processor.ODataResponse> patchPersistenceHandler) voidsetPersistenceHandler(ODataProcessorHandler<PersistenceParam, org.apache.olingo.odata2.api.processor.ODataResponse> persistenceHandler) voidsetReadHandler(ODataProcessorHandler<ReadParam, org.apache.olingo.odata2.api.processor.ODataResponse> readHandler) voidsetServiceNameExtractor(ServiceNameExtractor serviceNameExtractor)
-
Constructor Details
-
DefaultODataProcessorFactory
public DefaultODataProcessorFactory()
-
-
Method Details
-
createProcessor
public org.apache.olingo.odata2.api.processor.ODataSingleProcessor createProcessor(org.apache.olingo.odata2.api.processor.ODataContext context) Description copied from interface:ODataProcessorFactoryCreates new instance of the processor. The implementation should guarantee a different instance for not equal contexts.- Specified by:
createProcessorin interfaceODataProcessorFactory- Parameters:
context- a request context to create a processor for.- Returns:
- an instance of the processor to use for processing the context.
-
getPersistenceHandler
protected ODataProcessorHandler<PersistenceParam,org.apache.olingo.odata2.api.processor.ODataResponse> getPersistenceHandler() -
setPersistenceHandler
public void setPersistenceHandler(ODataProcessorHandler<PersistenceParam, org.apache.olingo.odata2.api.processor.ODataResponse> persistenceHandler) -
getBatchPersistenceHandler
protected ODataProcessorHandler<BatchParam,org.apache.olingo.odata2.api.processor.ODataResponse> getBatchPersistenceHandler() -
setBatchPersistenceHandler
public void setBatchPersistenceHandler(ODataProcessorHandler<BatchParam, org.apache.olingo.odata2.api.processor.ODataResponse> batchPersistenceHandler) -
getChangeSetPersistenceHandler
protected ODataProcessorHandler<ChangeSetParam,org.apache.olingo.odata2.api.batch.BatchResponsePart> getChangeSetPersistenceHandler() -
setChangeSetPersistenceHandler
public void setChangeSetPersistenceHandler(ODataProcessorHandler<ChangeSetParam, org.apache.olingo.odata2.api.batch.BatchResponsePart> changeSetPersistenceHandler) -
getPatchPersistenceHandler
protected ODataProcessorHandler<PersistenceParam,org.apache.olingo.odata2.api.processor.ODataResponse> getPatchPersistenceHandler() -
setPatchPersistenceHandler
public void setPatchPersistenceHandler(ODataProcessorHandler<PersistenceParam, org.apache.olingo.odata2.api.processor.ODataResponse> patchPersistenceHandler) -
getDeleteHandler
protected ODataProcessorHandler<DeleteParam,org.apache.olingo.odata2.api.processor.ODataResponse> getDeleteHandler() -
setDeleteHandler
public void setDeleteHandler(ODataProcessorHandler<DeleteParam, org.apache.olingo.odata2.api.processor.ODataResponse> deleteHandler) -
getReadHandler
protected ODataProcessorHandler<ReadParam,org.apache.olingo.odata2.api.processor.ODataResponse> getReadHandler() -
setReadHandler
public void setReadHandler(ODataProcessorHandler<ReadParam, org.apache.olingo.odata2.api.processor.ODataResponse> readHandler) -
setAccessRightsService
-
getServiceNameExtractor
-
setServiceNameExtractor
-
getItemTypeDescriptorService
-
setItemTypeDescriptorService
-