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