Class DefaultWarehouseResourceServiceBatchChangeSet
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchChangeSetFluentHelperBasic<WarehouseResourceServiceBatch,WarehouseResourceServiceBatchChangeSet>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.warehouseresource.batch.DefaultWarehouseResourceServiceBatchChangeSet
- All Implemented Interfaces:
FluentHelperBatchChangeSet<WarehouseResourceServiceBatchChangeSet>,FluentHelperBatchEndChangeSet<WarehouseResourceServiceBatch>,WarehouseResourceServiceBatchChangeSet
public class DefaultWarehouseResourceServiceBatchChangeSet
extends BatchChangeSetFluentHelperBasic<WarehouseResourceServiceBatch,WarehouseResourceServiceBatchChangeSet>
implements WarehouseResourceServiceBatchChangeSet
Implementation of the
WarehouseResourceServiceBatchChangeSet interface, enabling you to combine multiple
operations into one changeset. For further information have a look into the
WarehouseResourceService.-
Method Summary
Modifier and TypeMethodDescriptioncreateWarehouseResource(WarehouseResource warehouseResource) Create a newWarehouseResourceentity and save it to the S/4HANA system.deleteWarehouseResource(WarehouseResource warehouseResource) Deletes an existingWarehouseResourceentity in the S/4HANA system.getThis()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchChangeSetFluentHelperBasic
addFunctionImport, addRequest, addRequest, addRequest, addRequestCreate, addRequestDelete, addRequestUpdate, endChangeSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.FluentHelperBatchChangeSet
addFunctionImportMethods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.FluentHelperBatchEndChangeSet
endChangeSet
-
Method Details
-
getThis
- Specified by:
getThisin classBatchChangeSetFluentHelperBasic<WarehouseResourceServiceBatch,WarehouseResourceServiceBatchChangeSet>
-
createWarehouseResource
@Nonnull public WarehouseResourceServiceBatchChangeSet createWarehouseResource(@Nonnull WarehouseResource warehouseResource) Description copied from interface:WarehouseResourceServiceBatchChangeSetCreate a newWarehouseResourceentity and save it to the S/4HANA system.- Specified by:
createWarehouseResourcein interfaceWarehouseResourceServiceBatchChangeSet- Parameters:
warehouseResource-WarehouseResourceentity object that will be created in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-
deleteWarehouseResource
@Nonnull public WarehouseResourceServiceBatchChangeSet deleteWarehouseResource(@Nonnull WarehouseResource warehouseResource) Description copied from interface:WarehouseResourceServiceBatchChangeSetDeletes an existingWarehouseResourceentity in the S/4HANA system.- Specified by:
deleteWarehouseResourcein interfaceWarehouseResourceServiceBatchChangeSet- Parameters:
warehouseResource-WarehouseResourceentity object that will be deleted in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-