public class DefaultPurchaseRequisitionServiceBatch extends BatchFluentHelperBasic<PurchaseRequisitionServiceBatch,PurchaseRequisitionServiceBatchChangeSet> implements PurchaseRequisitionServiceBatch
PurchaseRequisitionServiceBatch
interface exposed in the
PurchaseRequisitionService
, allowing you to create multiple changesets and finally execute the batch request.Constructor and Description |
---|
DefaultPurchaseRequisitionServiceBatch(PurchaseRequisitionService service)
Creates a new instance of this DefaultPurchaseRequisitionServiceBatch.
|
Modifier and Type | Method and Description |
---|---|
PurchaseRequisitionServiceBatchChangeSet |
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 DefaultPurchaseRequisitionServiceBatch |
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 DefaultPurchaseRequisitionServiceBatch(@Nonnull PurchaseRequisitionService 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<PurchaseRequisitionServiceBatch,PurchaseRequisitionServiceBatchChangeSet>
@Nonnull protected DefaultPurchaseRequisitionServiceBatch getThis()
getThis
in class BatchFluentHelperBasic<PurchaseRequisitionServiceBatch,PurchaseRequisitionServiceBatchChangeSet>
@Nonnull public PurchaseRequisitionServiceBatchChangeSet beginChangeSet()
beginChangeSet
in interface FluentHelperServiceBatch<PurchaseRequisitionServiceBatch,PurchaseRequisitionServiceBatchChangeSet>
Copyright © 2021 SAP SE. All rights reserved.