Class DefaultEHSIncidentCreateServiceBatchChangeSet
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchChangeSetFluentHelperBasic<EHSIncidentCreateServiceBatch,EHSIncidentCreateServiceBatchChangeSet>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.ehsincidentcreate.batch.DefaultEHSIncidentCreateServiceBatchChangeSet
- All Implemented Interfaces:
FluentHelperBatchChangeSet<EHSIncidentCreateServiceBatchChangeSet>,FluentHelperBatchEndChangeSet<EHSIncidentCreateServiceBatch>,EHSIncidentCreateServiceBatchChangeSet
public class DefaultEHSIncidentCreateServiceBatchChangeSet
extends BatchChangeSetFluentHelperBasic<EHSIncidentCreateServiceBatch,EHSIncidentCreateServiceBatchChangeSet>
implements EHSIncidentCreateServiceBatchChangeSet
Implementation of the
EHSIncidentCreateServiceBatchChangeSet interface, enabling you to combine multiple
operations into one changeset. For further information have a look into the
EHSIncidentCreateService.-
Method Summary
Modifier and TypeMethodDescriptioncreateAttachment(Attachment attachment) Create a newAttachmententity and save it to the S/4HANA system.createIncident(Incident incident) Create a newIncidententity and save it to the S/4HANA system.createPerson(Person person) Create a newPersonentity and save it to 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<EHSIncidentCreateServiceBatch,EHSIncidentCreateServiceBatchChangeSet>
-
createAttachment
@Nonnull public EHSIncidentCreateServiceBatchChangeSet createAttachment(@Nonnull Attachment attachment) Description copied from interface:EHSIncidentCreateServiceBatchChangeSetCreate a newAttachmententity and save it to the S/4HANA system.- Specified by:
createAttachmentin interfaceEHSIncidentCreateServiceBatchChangeSet- Parameters:
attachment-Attachmententity 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.
-
createIncident
Description copied from interface:EHSIncidentCreateServiceBatchChangeSetCreate a newIncidententity and save it to the S/4HANA system.- Specified by:
createIncidentin interfaceEHSIncidentCreateServiceBatchChangeSet- Parameters:
incident-Incidententity 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.
-
createPerson
Description copied from interface:EHSIncidentCreateServiceBatchChangeSetCreate a newPersonentity and save it to the S/4HANA system.- Specified by:
createPersonin interfaceEHSIncidentCreateServiceBatchChangeSet- Parameters:
person-Personentity 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.
-