Class DefaultLegalTransactionServiceBatchChangeSet
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchChangeSetFluentHelperBasic<LegalTransactionServiceBatch,LegalTransactionServiceBatchChangeSet>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.legaltransaction.batch.DefaultLegalTransactionServiceBatchChangeSet
- All Implemented Interfaces:
FluentHelperBatchChangeSet<LegalTransactionServiceBatchChangeSet>,FluentHelperBatchEndChangeSet<LegalTransactionServiceBatch>,LegalTransactionServiceBatchChangeSet
public class DefaultLegalTransactionServiceBatchChangeSet
extends BatchChangeSetFluentHelperBasic<LegalTransactionServiceBatch,LegalTransactionServiceBatchChangeSet>
implements LegalTransactionServiceBatchChangeSet
Implementation of the
LegalTransactionServiceBatchChangeSet interface, enabling you to combine multiple
operations into one changeset. For further information have a look into the
LegalTransactionService.-
Method Summary
Modifier and TypeMethodDescriptioncreateLegalTransaction(LegalTransaction legalTransaction) Create a newLegalTransactionentity and save it to the S/4HANA system.createLglTransDate(LglTransDate lglTransDate) Create a newLglTransDateentity and save it to the S/4HANA system.createLglTransEntity(LglTransEntity lglTransEntity) Create a newLglTransEntityentity and save it to the S/4HANA system.createLglTransExternalContact(LglTransExternalContact lglTransExternalContact) Create a newLglTransExternalContactentity and save it to the S/4HANA system.createLglTransInternalContact(LglTransInternalContact lglTransInternalContact) Create a newLglTransInternalContactentity and save it to the S/4HANA system.createLglTransLinkedObjects(LglTransLinkedObjects lglTransLinkedObjects) Create a newLglTransLinkedObjectsentity and save it to the S/4HANA system.createLglTransRelationship(LglTransRelationship lglTransRelationship) Create a newLglTransRelationshipentity and save it to the S/4HANA system.deleteLglTransDate(LglTransDate lglTransDate) Deletes an existingLglTransDateentity in the S/4HANA system.deleteLglTransEntity(LglTransEntity lglTransEntity) Deletes an existingLglTransEntityentity in the S/4HANA system.deleteLglTransExternalContact(LglTransExternalContact lglTransExternalContact) Deletes an existingLglTransExternalContactentity in the S/4HANA system.deleteLglTransInternalContact(LglTransInternalContact lglTransInternalContact) Deletes an existingLglTransInternalContactentity in the S/4HANA system.deleteLglTransLinkedObjects(LglTransLinkedObjects lglTransLinkedObjects) Deletes an existingLglTransLinkedObjectsentity in the S/4HANA system.deleteLglTransRelationship(LglTransRelationship lglTransRelationship) Deletes an existingLglTransRelationshipentity in the S/4HANA system.getThis()updateLegalTransaction(LegalTransaction legalTransaction) Update an existingLegalTransactionentity and save it to the S/4HANA system.updateLglTransDate(LglTransDate lglTransDate) Update an existingLglTransDateentity and save it to the S/4HANA system.updateLglTransEntity(LglTransEntity lglTransEntity) Update an existingLglTransEntityentity and save it to the S/4HANA system.updateLglTransExternalContact(LglTransExternalContact lglTransExternalContact) Update an existingLglTransExternalContactentity and save it to the S/4HANA system.updateLglTransInternalContact(LglTransInternalContact lglTransInternalContact) Update an existingLglTransInternalContactentity and save it to the S/4HANA system.updateLglTransLinkedObjects(LglTransLinkedObjects lglTransLinkedObjects) Update an existingLglTransLinkedObjectsentity and save it to the S/4HANA system.updateLglTransRelationship(LglTransRelationship lglTransRelationship) Update an existingLglTransRelationshipentity 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<LegalTransactionServiceBatch,LegalTransactionServiceBatchChangeSet>
-
createLegalTransaction
@Nonnull public LegalTransactionServiceBatchChangeSet createLegalTransaction(@Nonnull LegalTransaction legalTransaction) Description copied from interface:LegalTransactionServiceBatchChangeSetCreate a newLegalTransactionentity and save it to the S/4HANA system.- Specified by:
createLegalTransactionin interfaceLegalTransactionServiceBatchChangeSet- Parameters:
legalTransaction-LegalTransactionentity 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.
-
updateLegalTransaction
@Nonnull public LegalTransactionServiceBatchChangeSet updateLegalTransaction(@Nonnull LegalTransaction legalTransaction) Description copied from interface:LegalTransactionServiceBatchChangeSetUpdate an existingLegalTransactionentity and save it to the S/4HANA system.- Specified by:
updateLegalTransactionin interfaceLegalTransactionServiceBatchChangeSet- Parameters:
legalTransaction-LegalTransactionentity 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.
-
createLglTransDate
@Nonnull public LegalTransactionServiceBatchChangeSet createLglTransDate(@Nonnull LglTransDate lglTransDate) Description copied from interface:LegalTransactionServiceBatchChangeSetCreate a newLglTransDateentity and save it to the S/4HANA system.- Specified by:
createLglTransDatein interfaceLegalTransactionServiceBatchChangeSet- Parameters:
lglTransDate-LglTransDateentity 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.
-
updateLglTransDate
@Nonnull public LegalTransactionServiceBatchChangeSet updateLglTransDate(@Nonnull LglTransDate lglTransDate) Description copied from interface:LegalTransactionServiceBatchChangeSetUpdate an existingLglTransDateentity and save it to the S/4HANA system.- Specified by:
updateLglTransDatein interfaceLegalTransactionServiceBatchChangeSet- Parameters:
lglTransDate-LglTransDateentity 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.
-
deleteLglTransDate
@Nonnull public LegalTransactionServiceBatchChangeSet deleteLglTransDate(@Nonnull LglTransDate lglTransDate) Description copied from interface:LegalTransactionServiceBatchChangeSetDeletes an existingLglTransDateentity in the S/4HANA system.- Specified by:
deleteLglTransDatein interfaceLegalTransactionServiceBatchChangeSet- Parameters:
lglTransDate-LglTransDateentity 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.
-
createLglTransEntity
@Nonnull public LegalTransactionServiceBatchChangeSet createLglTransEntity(@Nonnull LglTransEntity lglTransEntity) Description copied from interface:LegalTransactionServiceBatchChangeSetCreate a newLglTransEntityentity and save it to the S/4HANA system.- Specified by:
createLglTransEntityin interfaceLegalTransactionServiceBatchChangeSet- Parameters:
lglTransEntity-LglTransEntityentity 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.
-
updateLglTransEntity
@Nonnull public LegalTransactionServiceBatchChangeSet updateLglTransEntity(@Nonnull LglTransEntity lglTransEntity) Description copied from interface:LegalTransactionServiceBatchChangeSetUpdate an existingLglTransEntityentity and save it to the S/4HANA system.- Specified by:
updateLglTransEntityin interfaceLegalTransactionServiceBatchChangeSet- Parameters:
lglTransEntity-LglTransEntityentity 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.
-
deleteLglTransEntity
@Nonnull public LegalTransactionServiceBatchChangeSet deleteLglTransEntity(@Nonnull LglTransEntity lglTransEntity) Description copied from interface:LegalTransactionServiceBatchChangeSetDeletes an existingLglTransEntityentity in the S/4HANA system.- Specified by:
deleteLglTransEntityin interfaceLegalTransactionServiceBatchChangeSet- Parameters:
lglTransEntity-LglTransEntityentity 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.
-
createLglTransExternalContact
@Nonnull public LegalTransactionServiceBatchChangeSet createLglTransExternalContact(@Nonnull LglTransExternalContact lglTransExternalContact) Description copied from interface:LegalTransactionServiceBatchChangeSetCreate a newLglTransExternalContactentity and save it to the S/4HANA system.- Specified by:
createLglTransExternalContactin interfaceLegalTransactionServiceBatchChangeSet- Parameters:
lglTransExternalContact-LglTransExternalContactentity 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.
-
updateLglTransExternalContact
@Nonnull public LegalTransactionServiceBatchChangeSet updateLglTransExternalContact(@Nonnull LglTransExternalContact lglTransExternalContact) Description copied from interface:LegalTransactionServiceBatchChangeSetUpdate an existingLglTransExternalContactentity and save it to the S/4HANA system.- Specified by:
updateLglTransExternalContactin interfaceLegalTransactionServiceBatchChangeSet- Parameters:
lglTransExternalContact-LglTransExternalContactentity 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.
-
deleteLglTransExternalContact
@Nonnull public LegalTransactionServiceBatchChangeSet deleteLglTransExternalContact(@Nonnull LglTransExternalContact lglTransExternalContact) Description copied from interface:LegalTransactionServiceBatchChangeSetDeletes an existingLglTransExternalContactentity in the S/4HANA system.- Specified by:
deleteLglTransExternalContactin interfaceLegalTransactionServiceBatchChangeSet- Parameters:
lglTransExternalContact-LglTransExternalContactentity 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.
-
createLglTransInternalContact
@Nonnull public LegalTransactionServiceBatchChangeSet createLglTransInternalContact(@Nonnull LglTransInternalContact lglTransInternalContact) Description copied from interface:LegalTransactionServiceBatchChangeSetCreate a newLglTransInternalContactentity and save it to the S/4HANA system.- Specified by:
createLglTransInternalContactin interfaceLegalTransactionServiceBatchChangeSet- Parameters:
lglTransInternalContact-LglTransInternalContactentity 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.
-
updateLglTransInternalContact
@Nonnull public LegalTransactionServiceBatchChangeSet updateLglTransInternalContact(@Nonnull LglTransInternalContact lglTransInternalContact) Description copied from interface:LegalTransactionServiceBatchChangeSetUpdate an existingLglTransInternalContactentity and save it to the S/4HANA system.- Specified by:
updateLglTransInternalContactin interfaceLegalTransactionServiceBatchChangeSet- Parameters:
lglTransInternalContact-LglTransInternalContactentity 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.
-
deleteLglTransInternalContact
@Nonnull public LegalTransactionServiceBatchChangeSet deleteLglTransInternalContact(@Nonnull LglTransInternalContact lglTransInternalContact) Description copied from interface:LegalTransactionServiceBatchChangeSetDeletes an existingLglTransInternalContactentity in the S/4HANA system.- Specified by:
deleteLglTransInternalContactin interfaceLegalTransactionServiceBatchChangeSet- Parameters:
lglTransInternalContact-LglTransInternalContactentity 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.
-
createLglTransLinkedObjects
@Nonnull public LegalTransactionServiceBatchChangeSet createLglTransLinkedObjects(@Nonnull LglTransLinkedObjects lglTransLinkedObjects) Description copied from interface:LegalTransactionServiceBatchChangeSetCreate a newLglTransLinkedObjectsentity and save it to the S/4HANA system.- Specified by:
createLglTransLinkedObjectsin interfaceLegalTransactionServiceBatchChangeSet- Parameters:
lglTransLinkedObjects-LglTransLinkedObjectsentity 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.
-
updateLglTransLinkedObjects
@Nonnull public LegalTransactionServiceBatchChangeSet updateLglTransLinkedObjects(@Nonnull LglTransLinkedObjects lglTransLinkedObjects) Description copied from interface:LegalTransactionServiceBatchChangeSetUpdate an existingLglTransLinkedObjectsentity and save it to the S/4HANA system.- Specified by:
updateLglTransLinkedObjectsin interfaceLegalTransactionServiceBatchChangeSet- Parameters:
lglTransLinkedObjects-LglTransLinkedObjectsentity 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.
-
deleteLglTransLinkedObjects
@Nonnull public LegalTransactionServiceBatchChangeSet deleteLglTransLinkedObjects(@Nonnull LglTransLinkedObjects lglTransLinkedObjects) Description copied from interface:LegalTransactionServiceBatchChangeSetDeletes an existingLglTransLinkedObjectsentity in the S/4HANA system.- Specified by:
deleteLglTransLinkedObjectsin interfaceLegalTransactionServiceBatchChangeSet- Parameters:
lglTransLinkedObjects-LglTransLinkedObjectsentity 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.
-
createLglTransRelationship
@Nonnull public LegalTransactionServiceBatchChangeSet createLglTransRelationship(@Nonnull LglTransRelationship lglTransRelationship) Description copied from interface:LegalTransactionServiceBatchChangeSetCreate a newLglTransRelationshipentity and save it to the S/4HANA system.- Specified by:
createLglTransRelationshipin interfaceLegalTransactionServiceBatchChangeSet- Parameters:
lglTransRelationship-LglTransRelationshipentity 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.
-
updateLglTransRelationship
@Nonnull public LegalTransactionServiceBatchChangeSet updateLglTransRelationship(@Nonnull LglTransRelationship lglTransRelationship) Description copied from interface:LegalTransactionServiceBatchChangeSetUpdate an existingLglTransRelationshipentity and save it to the S/4HANA system.- Specified by:
updateLglTransRelationshipin interfaceLegalTransactionServiceBatchChangeSet- Parameters:
lglTransRelationship-LglTransRelationshipentity 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.
-
deleteLglTransRelationship
@Nonnull public LegalTransactionServiceBatchChangeSet deleteLglTransRelationship(@Nonnull LglTransRelationship lglTransRelationship) Description copied from interface:LegalTransactionServiceBatchChangeSetDeletes an existingLglTransRelationshipentity in the S/4HANA system.- Specified by:
deleteLglTransRelationshipin interfaceLegalTransactionServiceBatchChangeSet- Parameters:
lglTransRelationship-LglTransRelationshipentity 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.
-