Class StorageRequestBuilder
java.lang.Object
de.hybris.platform.odata2services.odata.persistence.StorageRequestBuilder
- Direct Known Subclasses:
StorageRequest.StorageRequestBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfinal StorageRequestbuild()from(StorageRequest request) withAcceptLocale(Locale locale) withContentLocale(Locale locale) withContentType(String mimeType) withEntitySet(org.apache.olingo.odata2.api.edm.EdmEntitySet set) withIntegrationKey(String key) Deprecated, for removal: This API element is subject to removal in a future version.the method has no effect because the only way to specify an integration key is to specify the integration item, i.e.withIntegrationObject(String code) withItemCanBeCreated(boolean value) withPostPersistHook(String hook) withPrePersistHook(String hook) withReplaceAttributes(boolean flag) withRequestUri(URI uri) withServiceRoot(URI uri)
-
Method Details
-
withEntitySet
-
withServiceRoot
-
withContentType
-
withRequestUri
-
withIntegrationObject
-
withIntegrationKey
@Deprecated(since="2105", forRemoval=true) public StorageRequestBuilder withIntegrationKey(String key) Deprecated, for removal: This API element is subject to removal in a future version.the method has no effect because the only way to specify an integration key is to specify the integration item, i.e.withIntegrationItem(IntegrationItem)Specifies integration key for the request to build- Parameters:
key- integration key value- Returns:
- a builder with the integration key specified
-
withPrePersistHook
-
withPostPersistHook
-
withIntegrationItem
-
withAcceptLocale
-
withContentLocale
-
withReplaceAttributes
-
withItemCanBeCreated
-
from
-
build
- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-