Interface AttachmentServiceBatchChangeSet
- All Superinterfaces:
FluentHelperBatchChangeSet<AttachmentServiceBatchChangeSet>,FluentHelperBatchEndChangeSet<AttachmentServiceBatch>
- All Known Implementing Classes:
DefaultAttachmentServiceBatchChangeSet
public interface AttachmentServiceBatchChangeSet
extends FluentHelperBatchChangeSet<AttachmentServiceBatchChangeSet>, FluentHelperBatchEndChangeSet<AttachmentServiceBatch>
This interface enables you to combine multiple operations into one change set. For further information have a look
into the
AttachmentService.-
Method Summary
Modifier and TypeMethodDescriptioncreateAttachmentContent(AttachmentContent attachmentContent) Create a newAttachmentContententity and save it to the S/4HANA system.createAttachmentHarmonizedOperation(AttachmentHarmonizedOperation attachmentHarmonizedOperation) Create a newAttachmentHarmonizedOperationentity and save it to the S/4HANA system.createDocumentInfoRecordAttch(DocumentInfoRecordAttch documentInfoRecordAttch) Create a newDocumentInfoRecordAttchentity and save it to the S/4HANA system.deleteAttachmentContent(AttachmentContent attachmentContent) Deletes an existingAttachmentContententity in the S/4HANA system.deleteAttachmentHarmonizedOperation(AttachmentHarmonizedOperation attachmentHarmonizedOperation) Deletes an existingAttachmentHarmonizedOperationentity in the S/4HANA system.Methods 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
-
createAttachmentContent
@Nonnull AttachmentServiceBatchChangeSet createAttachmentContent(@Nonnull AttachmentContent attachmentContent) Create a newAttachmentContententity and save it to the S/4HANA system.- Parameters:
attachmentContent-AttachmentContententity 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.
-
deleteAttachmentContent
@Nonnull AttachmentServiceBatchChangeSet deleteAttachmentContent(@Nonnull AttachmentContent attachmentContent) Deletes an existingAttachmentContententity in the S/4HANA system.- Parameters:
attachmentContent-AttachmentContententity 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.
-
createAttachmentHarmonizedOperation
@Nonnull AttachmentServiceBatchChangeSet createAttachmentHarmonizedOperation(@Nonnull AttachmentHarmonizedOperation attachmentHarmonizedOperation) Create a newAttachmentHarmonizedOperationentity and save it to the S/4HANA system.- Parameters:
attachmentHarmonizedOperation-AttachmentHarmonizedOperationentity 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.
-
deleteAttachmentHarmonizedOperation
@Nonnull AttachmentServiceBatchChangeSet deleteAttachmentHarmonizedOperation(@Nonnull AttachmentHarmonizedOperation attachmentHarmonizedOperation) Deletes an existingAttachmentHarmonizedOperationentity in the S/4HANA system.- Parameters:
attachmentHarmonizedOperation-AttachmentHarmonizedOperationentity 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.
-
createDocumentInfoRecordAttch
@Nonnull AttachmentServiceBatchChangeSet createDocumentInfoRecordAttch(@Nonnull DocumentInfoRecordAttch documentInfoRecordAttch) Create a newDocumentInfoRecordAttchentity and save it to the S/4HANA system.- Parameters:
documentInfoRecordAttch-DocumentInfoRecordAttchentity 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.
-