Interface StorageRequestFactory
- All Known Implementing Classes:
DefaultStorageRequestFactory
public interface StorageRequestFactory
A factory for creating
StorageRequest instances.-
Method Summary
Modifier and TypeMethodDescriptiondefault StorageRequestcreate(PersistenceParam param, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry) Creates new storage requestcreate(org.apache.olingo.odata2.api.processor.ODataContext oDataContext, String responseContentType, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry) Get the StorageRequest for persistence processing
-
Method Details
-
create
default StorageRequest create(PersistenceParam param, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry) Creates new storage request- Parameters:
param- parameters for the storage requestentry- payload entry associated with the request- Returns:
- new instance of the storage request
-
create
StorageRequest create(org.apache.olingo.odata2.api.processor.ODataContext oDataContext, String responseContentType, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry) Get the StorageRequest for persistence processing- Parameters:
oDataContext- The ODataContext to be used.responseContentType- contentType to use.entitySet- EdmEntitySet to use.entry- ODataEntry to use.- Returns:
- The StorageRequest used for persistence
-