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