public class DefaultWarehouseServiceBatch extends BatchFluentHelperBasic<WarehouseServiceBatch,WarehouseServiceBatchChangeSet> implements WarehouseServiceBatch
WarehouseServiceBatch
interface exposed in the
WarehouseService
, allowing you to create
multiple changesets and finally execute the batch request.Constructor and Description |
---|
DefaultWarehouseServiceBatch(WarehouseService service)
Creates a new instance of this DefaultWarehouseServiceBatch.
|
Modifier and Type | Method and Description |
---|---|
WarehouseServiceBatchChangeSet |
beginChangeSet()
Method to define a new OData batch changeset.
|
protected String |
getServicePathForBatchRequest()
Get the OData service endpoint path for the current OData batch request.
|
protected DefaultWarehouseServiceBatch |
getThis()
Method to safely return the current fluent helper instance upon public method calls.
|
cachingMetadata, execute, executeRequest, toRequest, withoutCachingMetadata
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cachingMetadata, withoutCachingMetadata
execute, executeRequest
public DefaultWarehouseServiceBatch(@Nonnull WarehouseService service)
service
- The service to execute all operations in this changeset on.@Nonnull protected String getServicePathForBatchRequest()
DEFAULT_SERVICE_PATH
in the service class.getServicePathForBatchRequest
in class BatchFluentHelperBasic<WarehouseServiceBatch,WarehouseServiceBatchChangeSet>
@Nonnull protected DefaultWarehouseServiceBatch getThis()
getThis
in class BatchFluentHelperBasic<WarehouseServiceBatch,WarehouseServiceBatchChangeSet>
@Nonnull public WarehouseServiceBatchChangeSet beginChangeSet()
beginChangeSet
in interface FluentHelperServiceBatch<WarehouseServiceBatch,WarehouseServiceBatchChangeSet>
Copyright © 2021 SAP SE. All rights reserved.