public class DefaultSegmentServiceBatch extends BatchFluentHelperBasic<SegmentServiceBatch,SegmentServiceBatchChangeSet> implements SegmentServiceBatch
SegmentServiceBatch
interface exposed in the
SegmentService
, allowing you to create
multiple changesets and finally execute the batch request.Constructor and Description |
---|
DefaultSegmentServiceBatch(SegmentService service)
Creates a new instance of this DefaultSegmentServiceBatch.
|
Modifier and Type | Method and Description |
---|---|
SegmentServiceBatchChangeSet |
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 DefaultSegmentServiceBatch |
getThis()
Method to safely return the current fluent helper instance upon public method calls.
|
cachingMetadata, execute, withoutCachingMetadata
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cachingMetadata, withoutCachingMetadata
execute
public DefaultSegmentServiceBatch(@Nonnull SegmentService 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<SegmentServiceBatch,SegmentServiceBatchChangeSet>
@Nonnull protected DefaultSegmentServiceBatch getThis()
getThis
in class BatchFluentHelperBasic<SegmentServiceBatch,SegmentServiceBatchChangeSet>
@Nonnull public SegmentServiceBatchChangeSet beginChangeSet()
beginChangeSet
in interface FluentHelperServiceBatch<SegmentServiceBatch,SegmentServiceBatchChangeSet>
Copyright © 2020 SAP SE. All rights reserved.