Class DefaultBatchServiceBatchChangeSet
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchChangeSetFluentHelperBasic<BatchServiceBatch,BatchServiceBatchChangeSet>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.batch.DefaultBatchServiceBatchChangeSet
- All Implemented Interfaces:
FluentHelperBatchChangeSet<BatchServiceBatchChangeSet>,FluentHelperBatchEndChangeSet<BatchServiceBatch>,BatchServiceBatchChangeSet
public class DefaultBatchServiceBatchChangeSet
extends BatchChangeSetFluentHelperBasic<BatchServiceBatch,BatchServiceBatchChangeSet>
implements BatchServiceBatchChangeSet
Implementation of the
BatchServiceBatchChangeSet interface, enabling you to combine multiple operations into
one changeset. For further information have a look into the
BatchService.-
Method Summary
Modifier and TypeMethodDescriptioncreateBatch(Batch batch) Create a newBatchentity and save it to the S/4HANA system.createBatchCharc(BatchCharc batchCharc) Create a newBatchCharcentity and save it to the S/4HANA system.createBatchCharcValue(BatchCharcValue batchCharcValue) Create a newBatchCharcValueentity and save it to the S/4HANA system.createBatchClass(BatchClass batchClass) Create a newBatchClassentity and save it to the S/4HANA system.deleteBatchCharcValue(BatchCharcValue batchCharcValue) Deletes an existingBatchCharcValueentity in the S/4HANA system.deleteBatchClass(BatchClass batchClass) Deletes an existingBatchClassentity in the S/4HANA system.deleteBatchText(BatchText batchText) Deletes an existingBatchTextentity in the S/4HANA system.protected DefaultBatchServiceBatchChangeSetgetThis()updateBatch(Batch batch) Update an existingBatchentity and save it to the S/4HANA system.updateBatchCharcValue(BatchCharcValue batchCharcValue) Update an existingBatchCharcValueentity and save it to the S/4HANA system.updateBatchPlant(BatchPlant batchPlant) Update an existingBatchPlantentity and save it to the S/4HANA system.updateBatchText(BatchText batchText) Update an existingBatchTextentity and save it to the S/4HANA system.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<BatchServiceBatch,BatchServiceBatchChangeSet>
-
createBatch
Description copied from interface:BatchServiceBatchChangeSetCreate a newBatchentity and save it to the S/4HANA system.- Specified by:
createBatchin interfaceBatchServiceBatchChangeSet- Parameters:
batch-Batchentity 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.
-
updateBatch
Description copied from interface:BatchServiceBatchChangeSetUpdate an existingBatchentity and save it to the S/4HANA system.- Specified by:
updateBatchin interfaceBatchServiceBatchChangeSet- Parameters:
batch-Batchentity object that will be updated 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.
-
createBatchCharc
Description copied from interface:BatchServiceBatchChangeSetCreate a newBatchCharcentity and save it to the S/4HANA system.- Specified by:
createBatchCharcin interfaceBatchServiceBatchChangeSet- Parameters:
batchCharc-BatchCharcentity 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.
-
createBatchCharcValue
@Nonnull public BatchServiceBatchChangeSet createBatchCharcValue(@Nonnull BatchCharcValue batchCharcValue) Description copied from interface:BatchServiceBatchChangeSetCreate a newBatchCharcValueentity and save it to the S/4HANA system.- Specified by:
createBatchCharcValuein interfaceBatchServiceBatchChangeSet- Parameters:
batchCharcValue-BatchCharcValueentity 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.
-
updateBatchCharcValue
@Nonnull public BatchServiceBatchChangeSet updateBatchCharcValue(@Nonnull BatchCharcValue batchCharcValue) Description copied from interface:BatchServiceBatchChangeSetUpdate an existingBatchCharcValueentity and save it to the S/4HANA system.- Specified by:
updateBatchCharcValuein interfaceBatchServiceBatchChangeSet- Parameters:
batchCharcValue-BatchCharcValueentity object that will be updated 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.
-
deleteBatchCharcValue
@Nonnull public BatchServiceBatchChangeSet deleteBatchCharcValue(@Nonnull BatchCharcValue batchCharcValue) Description copied from interface:BatchServiceBatchChangeSetDeletes an existingBatchCharcValueentity in the S/4HANA system.- Specified by:
deleteBatchCharcValuein interfaceBatchServiceBatchChangeSet- Parameters:
batchCharcValue-BatchCharcValueentity 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.
-
createBatchClass
Description copied from interface:BatchServiceBatchChangeSetCreate a newBatchClassentity and save it to the S/4HANA system.- Specified by:
createBatchClassin interfaceBatchServiceBatchChangeSet- Parameters:
batchClass-BatchClassentity 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.
-
deleteBatchClass
Description copied from interface:BatchServiceBatchChangeSetDeletes an existingBatchClassentity in the S/4HANA system.- Specified by:
deleteBatchClassin interfaceBatchServiceBatchChangeSet- Parameters:
batchClass-BatchClassentity 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.
-
updateBatchPlant
Description copied from interface:BatchServiceBatchChangeSetUpdate an existingBatchPlantentity and save it to the S/4HANA system.- Specified by:
updateBatchPlantin interfaceBatchServiceBatchChangeSet- Parameters:
batchPlant-BatchPlantentity object that will be updated 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.
-
updateBatchText
Description copied from interface:BatchServiceBatchChangeSetUpdate an existingBatchTextentity and save it to the S/4HANA system.- Specified by:
updateBatchTextin interfaceBatchServiceBatchChangeSet- Parameters:
batchText-BatchTextentity object that will be updated 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.
-
deleteBatchText
Description copied from interface:BatchServiceBatchChangeSetDeletes an existingBatchTextentity in the S/4HANA system.- Specified by:
deleteBatchTextin interfaceBatchServiceBatchChangeSet- Parameters:
batchText-BatchTextentity 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.
-