public class DefaultBatchServiceBatchChangeSet extends BatchChangeSetFluentHelperBasic<BatchServiceBatch,BatchServiceBatchChangeSet> implements BatchServiceBatchChangeSet
BatchServiceBatchChangeSet
interface, enabling you to combine multiple operations into
one changeset. For further information have a look into the
BatchService
.Modifier and Type | Method and Description |
---|---|
BatchServiceBatchChangeSet |
createBatch(Batch batch)
Create a new
Batch entity and save it to
the S/4HANA system. |
protected DefaultBatchServiceBatchChangeSet |
getThis()
Method to safely return the current fluent helper instance upon public method calls.
|
BatchServiceBatchChangeSet |
updateBatch(Batch batch)
Update an existing
Batch entity and save
it to the S/4HANA system. |
BatchServiceBatchChangeSet |
updateBatchPlant(BatchPlant batchPlant)
Update an existing
BatchPlant entity
and save it to the S/4HANA system. |
addRequestCreate, addRequestDelete, addRequestUpdate, endChangeSet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endChangeSet
@Nonnull protected DefaultBatchServiceBatchChangeSet getThis()
getThis
in class BatchChangeSetFluentHelperBasic<BatchServiceBatch,BatchServiceBatchChangeSet>
@Nonnull public BatchServiceBatchChangeSet createBatch(@Nonnull Batch batch)
Batch
entity and save it to
the S/4HANA system.createBatch
in interface BatchServiceBatchChangeSet
batch
- Batch
entity object that will
be created in the S/4HANA system.endChangeSet
on the returned fluent helper object.@Nonnull public BatchServiceBatchChangeSet updateBatch(@Nonnull Batch batch)
Batch
entity and save
it to the S/4HANA system.updateBatch
in interface BatchServiceBatchChangeSet
batch
- Batch
entity object that will
be updated in the S/4HANA system.endChangeSet
on the returned fluent helper object.@Nonnull public BatchServiceBatchChangeSet updateBatchPlant(@Nonnull BatchPlant batchPlant)
BatchPlant
entity
and save it to the S/4HANA system.updateBatchPlant
in interface BatchServiceBatchChangeSet
batchPlant
- BatchPlant
entity object
that will be updated in the S/4HANA system.endChangeSet
on the returned fluent helper object.Copyright © 2019 SAP SE. All rights reserved.