Class DefaultAttachmentServiceBatchChangeSet
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchChangeSetFluentHelperBasic<AttachmentServiceBatch,AttachmentServiceBatchChangeSet>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.attachment.batch.DefaultAttachmentServiceBatchChangeSet
- All Implemented Interfaces:
FluentHelperBatchChangeSet<AttachmentServiceBatchChangeSet>,FluentHelperBatchEndChangeSet<AttachmentServiceBatch>,AttachmentServiceBatchChangeSet
public class DefaultAttachmentServiceBatchChangeSet
extends BatchChangeSetFluentHelperBasic<AttachmentServiceBatch,AttachmentServiceBatchChangeSet>
implements AttachmentServiceBatchChangeSet
Implementation of the
AttachmentServiceBatchChangeSet interface, enabling you to combine multiple operations
into one changeset. 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.protected DefaultAttachmentServiceBatchChangeSetgetThis()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<AttachmentServiceBatch,AttachmentServiceBatchChangeSet>
-
createAttachmentContent
@Nonnull public AttachmentServiceBatchChangeSet createAttachmentContent(@Nonnull AttachmentContent attachmentContent) Description copied from interface:AttachmentServiceBatchChangeSetCreate a newAttachmentContententity and save it to the S/4HANA system.- Specified by:
createAttachmentContentin interfaceAttachmentServiceBatchChangeSet- 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 public AttachmentServiceBatchChangeSet deleteAttachmentContent(@Nonnull AttachmentContent attachmentContent) Description copied from interface:AttachmentServiceBatchChangeSetDeletes an existingAttachmentContententity in the S/4HANA system.- Specified by:
deleteAttachmentContentin interfaceAttachmentServiceBatchChangeSet- 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 public AttachmentServiceBatchChangeSet createAttachmentHarmonizedOperation(@Nonnull AttachmentHarmonizedOperation attachmentHarmonizedOperation) Description copied from interface:AttachmentServiceBatchChangeSetCreate a newAttachmentHarmonizedOperationentity and save it to the S/4HANA system.- Specified by:
createAttachmentHarmonizedOperationin interfaceAttachmentServiceBatchChangeSet- 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 public AttachmentServiceBatchChangeSet deleteAttachmentHarmonizedOperation(@Nonnull AttachmentHarmonizedOperation attachmentHarmonizedOperation) Description copied from interface:AttachmentServiceBatchChangeSetDeletes an existingAttachmentHarmonizedOperationentity in the S/4HANA system.- Specified by:
deleteAttachmentHarmonizedOperationin interfaceAttachmentServiceBatchChangeSet- 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 public AttachmentServiceBatchChangeSet createDocumentInfoRecordAttch(@Nonnull DocumentInfoRecordAttch documentInfoRecordAttch) Description copied from interface:AttachmentServiceBatchChangeSetCreate a newDocumentInfoRecordAttchentity and save it to the S/4HANA system.- Specified by:
createDocumentInfoRecordAttchin interfaceAttachmentServiceBatchChangeSet- 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.
-