Class DefaultStorageRequestFactory

    • Constructor Detail

      • DefaultStorageRequestFactory

        public DefaultStorageRequestFactory()
    • Method Detail

      • create

        public StorageRequest create​(org.apache.olingo.odata2.api.processor.ODataContext oDataContext,
                                     java.lang.String responseContentType,
                                     org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet,
                                     org.apache.olingo.odata2.api.ep.entry.ODataEntry entry)
        Description copied from interface: StorageRequestFactory
        Get the StorageRequest for persistence processing
        Specified by:
        create in interface StorageRequestFactory
        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
      • convert

        protected IntegrationItem convert​(org.apache.olingo.odata2.api.processor.ODataContext context,
                                          org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet,
                                          org.apache.olingo.odata2.api.ep.entry.ODataEntry entry)
                                   throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException