Class StorageRequest.StorageRequestBuilder
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.persistence.StorageRequest.StorageRequestBuilder
-
- Enclosing class:
- StorageRequest
public static class StorageRequest.StorageRequestBuilder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
withEntitySet
public StorageRequest.StorageRequestBuilder withEntitySet(org.apache.olingo.odata2.api.edm.EdmEntitySet set)
-
withODataEntry
@Deprecated(since="1905", forRemoval=true) public StorageRequest.StorageRequestBuilder withODataEntry(org.apache.olingo.odata2.api.ep.entry.ODataEntry entry)Deprecated, for removal: This API element is subject to removal in a future version.since 1905. UsewithIntegrationItem(IntegrationItem)insteadSpecifies OData entry associated with the request- Parameters:
entry- an OData entry to be handled by the request- Returns:
- a builder with the OData entry specified
-
withServiceRoot
public StorageRequest.StorageRequestBuilder withServiceRoot(java.net.URI uri)
-
withContentType
public StorageRequest.StorageRequestBuilder withContentType(java.lang.String mimeType)
-
withRequestUri
public StorageRequest.StorageRequestBuilder withRequestUri(java.net.URI uri)
-
withIntegrationObject
public StorageRequest.StorageRequestBuilder withIntegrationObject(java.lang.String code)
-
withIntegrationKey
@Deprecated(since="2105", forRemoval=true) public StorageRequest.StorageRequestBuilder withIntegrationKey(java.lang.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
public StorageRequest.StorageRequestBuilder withPrePersistHook(java.lang.String hook)
-
withPostPersistHook
public StorageRequest.StorageRequestBuilder withPostPersistHook(java.lang.String hook)
-
withIntegrationItem
public StorageRequest.StorageRequestBuilder withIntegrationItem(IntegrationItem item)
-
withAcceptLocale
public StorageRequest.StorageRequestBuilder withAcceptLocale(java.util.Locale locale)
-
withContentLocale
public StorageRequest.StorageRequestBuilder withContentLocale(java.util.Locale locale)
-
withReplaceAttributes
public StorageRequest.StorageRequestBuilder withReplaceAttributes(boolean flag)
-
withItemCanBeCreated
public StorageRequest.StorageRequestBuilder withItemCanBeCreated(boolean value)
-
from
public StorageRequest.StorageRequestBuilder from(StorageRequest request)
-
build
public final StorageRequest build() throws org.apache.olingo.odata2.api.edm.EdmException
- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
-