Uses of Class
de.hybris.platform.odata2services.odata.persistence.StorageRequest
-
-
Uses of StorageRequest in de.hybris.platform.odata2services.odata.persistence
Methods in de.hybris.platform.odata2services.odata.persistence that return StorageRequest Modifier and Type Method Description StorageRequestDefaultStorageRequestFactory. 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)default StorageRequestStorageRequestFactory. create(PersistenceParam param, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry)Creates new storage requestStorageRequestStorageRequestFactory. 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)Get the StorageRequest for persistence processingMethods in de.hybris.platform.odata2services.odata.persistence with parameters of type StorageRequest Modifier and Type Method Description org.apache.olingo.odata2.api.ep.entry.ODataEntryPersistenceService. createEntityData(StorageRequest storageRequest)Create or update a commerce suite item and return it as an ODataEntryItemModelModelEntityService. createOrUpdateItem(StorageRequest request, CreateItemStrategy createItemStrategy)Deprecated, for removal: This API element is subject to removal in a future version.use one of theContextItemModelServicemethods depending on whether the item creation is allowed or not.StorageRequest.StorageRequestBuilderStorageRequest.StorageRequestBuilder. from(StorageRequest request)Constructors in de.hybris.platform.odata2services.odata.persistence with parameters of type StorageRequest Constructor Description InvalidEntryDataException(OData2ServicesException e, StorageRequest storageRequest)Constructor to create InvalidEntryDataException to populate the integrationKey in the error response.PersistenceException(java.lang.Throwable e, StorageRequest storageRequest)Constructor to create PersistenceException -
Uses of StorageRequest in de.hybris.platform.odata2services.odata.persistence.creation
Methods in de.hybris.platform.odata2services.odata.persistence.creation with parameters of type StorageRequest Modifier and Type Method Description ItemModelAlwaysCreateItemStrategy. createItem(StorageRequest storageRequest)Deprecated, for removal: This API element is subject to removal in a future version.ItemModelCreateItemStrategy. createItem(StorageRequest storageRequest)Deprecated, for removal: This API element is subject to removal in a future version.ItemModelNeverCreateItemStrategy. createItem(StorageRequest storageRequest)Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of StorageRequest in de.hybris.platform.odata2services.odata.persistence.impl
Methods in de.hybris.platform.odata2services.odata.persistence.impl with parameters of type StorageRequest Modifier and Type Method Description org.apache.olingo.odata2.api.ep.entry.ODataEntryDefaultPersistenceService. createEntityData(StorageRequest storageRequest)protected ItemModelDefaultModelEntityService. createItem(StorageRequest request, CreateItemStrategy createItemStrategy)ItemModelDefaultModelEntityService. createOrUpdateItem(StorageRequest request, CreateItemStrategy createItemStrategy)protected ItemModelDefaultModelEntityService. getItem(StorageRequest request, CreateItemStrategy createItemStrategy)Deprecated, for removal: This API element is subject to removal in a future version.No alternative methodprotected voidDefaultModelEntityService. populateItem(StorageRequest request, ItemModel item)protected voidDefaultPersistenceService. saveEntities(StorageRequest request)protected voidDefaultPersistenceService. saveEntitiesInTransaction(StorageRequest context) -
Uses of StorageRequest in de.hybris.platform.odata2services.odata.persistence.populator
Methods in de.hybris.platform.odata2services.odata.persistence.populator with parameters of type StorageRequest Modifier and Type Method Description voidDefaultEntityModelPopulator. populateItem(ItemModel item, StorageRequest storageRequest)voidEntityModelPopulator. populateItem(ItemModel item, StorageRequest storageRequest)Deprecated, for removal: This API element is subject to removal in a future version.useItemModelPopulatorinstead -
Uses of StorageRequest in de.hybris.platform.odata2services.odata.persistence.populator.processor
Methods in de.hybris.platform.odata2services.odata.persistence.populator.processor with parameters of type StorageRequest Modifier and Type Method Description protected AttributeDescriptorModelAbstractPropertyProcessor. getAttributeDescriptor(ItemModel item, java.lang.String propertyName, StorageRequest request)Deprecated, for removal: This API element is subject to removal in a future version.switch to implementAttributePopulatorand useTypeAttributeDescriptor, which eliminates the need to accessAttributeDescriptorModelprotected java.util.Collection<ItemModel>EntityCollectionPropertyProcessor. getNewCollectionEntries(StorageRequest request, java.util.List<org.apache.olingo.odata2.api.ep.entry.ODataEntry> entries, java.lang.String propertyName, ItemModel parent)Deprecated, for removal: This API element is subject to removal in a future version.Since 1905.07-CEP Use AbstractCollectionAttributePopulator#getNewCollection(ItemModel, TypeAttributeDescriptor, PersistenceContext) Migrate all processors of type #PropertyProcessor to #AttributePopulator and use #AbstractCollectionAttributePopulator, if neededprotected booleanAbstractPropertyProcessor. isItemPropertySettable(ItemModel item, java.lang.String propertyName, StorageRequest request)Deprecated, for removal: This API element is subject to removal in a future version.switch to extendAbstractAttributePopulatorand use itsisSettable(TypeAttributeDescriptor, ItemModel)methodprotected booleanLocalizedAttributesPropertyProcessor. isItemPropertySettable(ItemModel item, java.lang.String propertyName, StorageRequest request)voidAbstractPropertyProcessor. processItem(ItemModel item, StorageRequest request)voidPropertyProcessor. processItem(ItemModel itemModel, StorageRequest request)Deprecated, for removal: This API element is subject to removal in a future version.This responsibility is moved toAttributePopulator.protected abstract voidAbstractPropertyProcessor. processItemInternal(ItemModel item, java.lang.String entryPropertyName, java.lang.Object value, StorageRequest request)Deprecated, for removal: This API element is subject to removal in a future version.classes using/overriding this method should move to implementAttributePopulatorinstead.protected voidEntityCollectionPropertyProcessor. processItemInternal(ItemModel item, java.lang.String entryPropertyName, java.lang.Object value, StorageRequest request)protected voidEntityMapPropertyProcessor. processItemInternal(ItemModel item, java.lang.String entryPropertyName, java.lang.Object value, StorageRequest request)protected voidEntityPropertyProcessor. processItemInternal(ItemModel item, java.lang.String entryPropertyName, java.lang.Object value, StorageRequest request)protected voidLocalizedAttributesPropertyProcessor. processItemInternal(ItemModel item, java.lang.String propertyName, java.lang.Object value, StorageRequest request)protected voidPrimitiveCollectionPropertyProcessor. processItemInternal(ItemModel item, java.lang.String propertyName, java.lang.Object value, StorageRequest request)protected voidPrimitivePropertyProcessor. processItemInternal(ItemModel item, java.lang.String entryPropertyName, java.lang.Object value, StorageRequest request) -
Uses of StorageRequest in de.hybris.platform.odata2services.odata.processor.handler.persistence
Methods in de.hybris.platform.odata2services.odata.processor.handler.persistence with parameters of type StorageRequest Modifier and Type Method Description protected org.apache.olingo.odata2.api.processor.ODataResponse.ODataResponseBuilderPatchPersistenceHandler. buildResponse(PersistenceParam param, StorageRequest storageRequest, org.apache.olingo.odata2.api.ep.entry.ODataEntry persistedEntry)protected org.apache.olingo.odata2.api.processor.ODataResponse.ODataResponseBuilderPersistenceHandler. buildResponse(PersistenceParam param, StorageRequest storageRequest, org.apache.olingo.odata2.api.ep.entry.ODataEntry persistedEntry)Creates anODataResponsefor the requestprotected org.apache.olingo.odata2.api.ep.entry.ODataEntryPersistenceHandler. persist(StorageRequest storageRequest)Persist the request payload
-