@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultLegalTransactionService") public class DefaultLegalTransactionService extends Object implements LegalTransactionService
This synchronous inbound service is based on the OData protocol and helps you to create, read, and update legal transactions through an API call. Legal Transactions are business objects that are used to manage the lifecycle of legal content. The service contains legal transactions, categories, category groups, parent categories, dates, entities, external contacts, internal contacts, linked objects, and relationships nodes. The information sent in the request as a payload, is used when creating a legal transaction, including appropriate checks for restricted values and authorizations. Once the legal transaction has been created, the legal transaction ID is sent in the response with the data included in the legal transaction. If there are any issues when the legal transaction is created, the system displays error messages in the response. Note that we support only deep create for the legal transaction node..
Reference: SAP API Business Hub
OData Service: | OP_API_LEGAL_TRANSACTION_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Legal Transaction |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultLegalTransactionService()
Creates a service using
LegalTransactionService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultLegalTransactionService()
LegalTransactionService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultLegalTransactionService withServicePath(@Nonnull String servicePath)
LegalTransactionService
withServicePath
in interface LegalTransactionService
servicePath
- Service path that will override the default.@Nonnull public DefaultLegalTransactionServiceBatch batch()
batch
in interface BatchService<LegalTransactionServiceBatch>
@Nonnull public LegalTransactionFluentHelper getAllLegalTransaction()
LegalTransactionService
LegalTransaction
entities.getAllLegalTransaction
in interface LegalTransactionService
LegalTransaction
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LegalTransactionByKeyFluentHelper getLegalTransactionByKey(UUID legalTransactionUUID)
LegalTransactionService
LegalTransaction
entity using key fields.getLegalTransactionByKey
in interface LegalTransactionService
legalTransactionUUID
- Universal Unique Identifier
Constraints: Not nullable
LegalTransaction
entity using key fields. This fluent helper allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LegalTransactionCreateFluentHelper createLegalTransaction(@Nonnull LegalTransaction legalTransaction)
LegalTransactionService
LegalTransaction
entity and save it to the S/4HANA system.createLegalTransaction
in interface LegalTransactionService
legalTransaction
- LegalTransaction
entity object that will be created in the S/4HANA system.LegalTransaction
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LegalTransactionUpdateFluentHelper updateLegalTransaction(@Nonnull LegalTransaction legalTransaction)
LegalTransactionService
LegalTransaction
entity and save it to the S/4HANA system.updateLegalTransaction
in interface LegalTransactionService
legalTransaction
- LegalTransaction
entity object that will be updated in the S/4HANA system.LegalTransaction
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransCategoryFluentHelper getAllLglTransCategory()
LegalTransactionService
LglTransCategory
entities.getAllLglTransCategory
in interface LegalTransactionService
LglTransCategory
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransCategoryByKeyFluentHelper getLglTransCategoryByKey(UUID legalTransactionCategoryUUID)
LegalTransactionService
LglTransCategory
entity using key fields.getLglTransCategoryByKey
in interface LegalTransactionService
legalTransactionCategoryUUID
- Universal Unique Identifier
Constraints: Not nullable
LglTransCategory
entity using key fields. This fluent helper allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransCategoryGroupFluentHelper getAllLglTransCategoryGroup()
LegalTransactionService
LglTransCategoryGroup
entities.getAllLglTransCategoryGroup
in interface LegalTransactionService
LglTransCategoryGroup
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransCategoryGroupByKeyFluentHelper getLglTransCategoryGroupByKey(UUID legalTransactionCatGroupUUID)
LegalTransactionService
LglTransCategoryGroup
entity using key fields.getLglTransCategoryGroupByKey
in interface LegalTransactionService
legalTransactionCatGroupUUID
- Universal Unique Identifier
Constraints: Not nullable
LglTransCategoryGroup
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransDateFluentHelper getAllLglTransDate()
LegalTransactionService
LglTransDate
entities.getAllLglTransDate
in interface LegalTransactionService
LglTransDate
entities. This fluent helper allows methods which modify the underlying query to be called
before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransDateByKeyFluentHelper getLglTransDateByKey(UUID legalTransactionDateUUID)
LegalTransactionService
LglTransDate
entity using key fields.getLglTransDateByKey
in interface LegalTransactionService
legalTransactionDateUUID
- Universal Unique Identifier
Constraints: Not nullable
LglTransDate
entity using key fields. This fluent helper allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransDateCreateFluentHelper createLglTransDate(@Nonnull LglTransDate lglTransDate)
LegalTransactionService
LglTransDate
entity and save it to the S/4HANA system.createLglTransDate
in interface LegalTransactionService
lglTransDate
- LglTransDate
entity object that will be created in the S/4HANA system.LglTransDate
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransDateUpdateFluentHelper updateLglTransDate(@Nonnull LglTransDate lglTransDate)
LegalTransactionService
LglTransDate
entity and save it to the S/4HANA system.updateLglTransDate
in interface LegalTransactionService
lglTransDate
- LglTransDate
entity object that will be updated in the S/4HANA system.LglTransDate
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransDateDeleteFluentHelper deleteLglTransDate(@Nonnull LglTransDate lglTransDate)
LegalTransactionService
LglTransDate
entity in the S/4HANA system.deleteLglTransDate
in interface LegalTransactionService
lglTransDate
- LglTransDate
entity object that will be deleted in the S/4HANA system.LglTransDate
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransEntityFluentHelper getAllLglTransEntity()
LegalTransactionService
LglTransEntity
entities.getAllLglTransEntity
in interface LegalTransactionService
LglTransEntity
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransEntityByKeyFluentHelper getLglTransEntityByKey(UUID legalTransactionEntityUUID)
LegalTransactionService
LglTransEntity
entity using key fields.getLglTransEntityByKey
in interface LegalTransactionService
legalTransactionEntityUUID
- Universal Unique Identifier
Constraints: Not nullable
LglTransEntity
entity using key fields. This fluent helper allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransEntityCreateFluentHelper createLglTransEntity(@Nonnull LglTransEntity lglTransEntity)
LegalTransactionService
LglTransEntity
entity and save it to the S/4HANA system.createLglTransEntity
in interface LegalTransactionService
lglTransEntity
- LglTransEntity
entity object that will be created in the S/4HANA system.LglTransEntity
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransEntityUpdateFluentHelper updateLglTransEntity(@Nonnull LglTransEntity lglTransEntity)
LegalTransactionService
LglTransEntity
entity and save it to the S/4HANA system.updateLglTransEntity
in interface LegalTransactionService
lglTransEntity
- LglTransEntity
entity object that will be updated in the S/4HANA system.LglTransEntity
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransEntityDeleteFluentHelper deleteLglTransEntity(@Nonnull LglTransEntity lglTransEntity)
LegalTransactionService
LglTransEntity
entity in the S/4HANA system.deleteLglTransEntity
in interface LegalTransactionService
lglTransEntity
- LglTransEntity
entity object that will be deleted in the S/4HANA system.LglTransEntity
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransExternalContactFluentHelper getAllLglTransExternalContact()
LegalTransactionService
LglTransExternalContact
entities.getAllLglTransExternalContact
in interface LegalTransactionService
LglTransExternalContact
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransExternalContactByKeyFluentHelper getLglTransExternalContactByKey(UUID legalTransactionExtCntctUUID)
LegalTransactionService
LglTransExternalContact
entity using key fields.getLglTransExternalContactByKey
in interface LegalTransactionService
legalTransactionExtCntctUUID
- Universal Unique Identifier
Constraints: Not nullable
LglTransExternalContact
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransExternalContactCreateFluentHelper createLglTransExternalContact(@Nonnull LglTransExternalContact lglTransExternalContact)
LegalTransactionService
LglTransExternalContact
entity and save it to the S/4HANA system.createLglTransExternalContact
in interface LegalTransactionService
lglTransExternalContact
- LglTransExternalContact
entity object that will be created in the S/4HANA system.LglTransExternalContact
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransExternalContactUpdateFluentHelper updateLglTransExternalContact(@Nonnull LglTransExternalContact lglTransExternalContact)
LegalTransactionService
LglTransExternalContact
entity and save it to the S/4HANA system.updateLglTransExternalContact
in interface LegalTransactionService
lglTransExternalContact
- LglTransExternalContact
entity object that will be updated in the S/4HANA system.LglTransExternalContact
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransExternalContactDeleteFluentHelper deleteLglTransExternalContact(@Nonnull LglTransExternalContact lglTransExternalContact)
LegalTransactionService
LglTransExternalContact
entity in the S/4HANA system.deleteLglTransExternalContact
in interface LegalTransactionService
lglTransExternalContact
- LglTransExternalContact
entity object that will be deleted in the S/4HANA system.LglTransExternalContact
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransInternalContactFluentHelper getAllLglTransInternalContact()
LegalTransactionService
LglTransInternalContact
entities.getAllLglTransInternalContact
in interface LegalTransactionService
LglTransInternalContact
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransInternalContactByKeyFluentHelper getLglTransInternalContactByKey(UUID legalTransactionIntCntctUUID)
LegalTransactionService
LglTransInternalContact
entity using key fields.getLglTransInternalContactByKey
in interface LegalTransactionService
legalTransactionIntCntctUUID
- Universal Unique Identifier
Constraints: Not nullable
LglTransInternalContact
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransInternalContactCreateFluentHelper createLglTransInternalContact(@Nonnull LglTransInternalContact lglTransInternalContact)
LegalTransactionService
LglTransInternalContact
entity and save it to the S/4HANA system.createLglTransInternalContact
in interface LegalTransactionService
lglTransInternalContact
- LglTransInternalContact
entity object that will be created in the S/4HANA system.LglTransInternalContact
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransInternalContactUpdateFluentHelper updateLglTransInternalContact(@Nonnull LglTransInternalContact lglTransInternalContact)
LegalTransactionService
LglTransInternalContact
entity and save it to the S/4HANA system.updateLglTransInternalContact
in interface LegalTransactionService
lglTransInternalContact
- LglTransInternalContact
entity object that will be updated in the S/4HANA system.LglTransInternalContact
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransInternalContactDeleteFluentHelper deleteLglTransInternalContact(@Nonnull LglTransInternalContact lglTransInternalContact)
LegalTransactionService
LglTransInternalContact
entity in the S/4HANA system.deleteLglTransInternalContact
in interface LegalTransactionService
lglTransInternalContact
- LglTransInternalContact
entity object that will be deleted in the S/4HANA system.LglTransInternalContact
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransLinkedObjectsFluentHelper getAllLglTransLinkedObjects()
LegalTransactionService
LglTransLinkedObjects
entities.getAllLglTransLinkedObjects
in interface LegalTransactionService
LglTransLinkedObjects
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransLinkedObjectsByKeyFluentHelper getLglTransLinkedObjectsByKey(UUID legalTransactionLinkdObjUUID)
LegalTransactionService
LglTransLinkedObjects
entity using key fields.getLglTransLinkedObjectsByKey
in interface LegalTransactionService
legalTransactionLinkdObjUUID
- Universal Unique Identifier
Constraints: Not nullable
LglTransLinkedObjects
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransLinkedObjectsCreateFluentHelper createLglTransLinkedObjects(@Nonnull LglTransLinkedObjects lglTransLinkedObjects)
LegalTransactionService
LglTransLinkedObjects
entity and save it to the S/4HANA system.createLglTransLinkedObjects
in interface LegalTransactionService
lglTransLinkedObjects
- LglTransLinkedObjects
entity object that will be created in the S/4HANA system.LglTransLinkedObjects
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransLinkedObjectsUpdateFluentHelper updateLglTransLinkedObjects(@Nonnull LglTransLinkedObjects lglTransLinkedObjects)
LegalTransactionService
LglTransLinkedObjects
entity and save it to the S/4HANA system.updateLglTransLinkedObjects
in interface LegalTransactionService
lglTransLinkedObjects
- LglTransLinkedObjects
entity object that will be updated in the S/4HANA system.LglTransLinkedObjects
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransLinkedObjectsDeleteFluentHelper deleteLglTransLinkedObjects(@Nonnull LglTransLinkedObjects lglTransLinkedObjects)
LegalTransactionService
LglTransLinkedObjects
entity in the S/4HANA system.deleteLglTransLinkedObjects
in interface LegalTransactionService
lglTransLinkedObjects
- LglTransLinkedObjects
entity object that will be deleted in the S/4HANA system.LglTransLinkedObjects
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransParentCategoryFluentHelper getAllLglTransParentCategory()
LegalTransactionService
LglTransParentCategory
entities.getAllLglTransParentCategory
in interface LegalTransactionService
LglTransParentCategory
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransParentCategoryByKeyFluentHelper getLglTransParentCategoryByKey(UUID legalTransactionParCatUUID)
LegalTransactionService
LglTransParentCategory
entity using key fields.getLglTransParentCategoryByKey
in interface LegalTransactionService
legalTransactionParCatUUID
- Universal Unique Identifier
Constraints: Not nullable
LglTransParentCategory
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransRelationshipFluentHelper getAllLglTransRelationship()
LegalTransactionService
LglTransRelationship
entities.getAllLglTransRelationship
in interface LegalTransactionService
LglTransRelationship
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransRelationshipByKeyFluentHelper getLglTransRelationshipByKey(UUID legalTransactionRelshpUUID)
LegalTransactionService
LglTransRelationship
entity using key fields.getLglTransRelationshipByKey
in interface LegalTransactionService
legalTransactionRelshpUUID
- Universal Unique Identifier
Constraints: Not nullable
LglTransRelationship
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransRelationshipCreateFluentHelper createLglTransRelationship(@Nonnull LglTransRelationship lglTransRelationship)
LegalTransactionService
LglTransRelationship
entity and save it to the S/4HANA system.createLglTransRelationship
in interface LegalTransactionService
lglTransRelationship
- LglTransRelationship
entity object that will be created in the S/4HANA system.LglTransRelationship
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransRelationshipUpdateFluentHelper updateLglTransRelationship(@Nonnull LglTransRelationship lglTransRelationship)
LegalTransactionService
LglTransRelationship
entity and save it to the S/4HANA system.updateLglTransRelationship
in interface LegalTransactionService
lglTransRelationship
- LglTransRelationship
entity object that will be updated in the S/4HANA system.LglTransRelationship
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LglTransRelationshipDeleteFluentHelper deleteLglTransRelationship(@Nonnull LglTransRelationship lglTransRelationship)
LegalTransactionService
LglTransRelationship
entity in the S/4HANA system.deleteLglTransRelationship
in interface LegalTransactionService
lglTransRelationship
- LglTransRelationship
entity object that will be deleted in the S/4HANA system.LglTransRelationship
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CancelFluentHelper cancel(UUID legalTransactionUUID)
LegalTransactionService
Creates a fluent helper for the Cancel OData function import.
cancel
in interface LegalTransactionService
legalTransactionUUID
- Constraints: none
Original parameter name from the Odata EDM: LegalTransactionUUID
execute
method on the fluent helper object.@Nonnull public TerminateFluentHelper terminate(UUID legalTransactionUUID)
LegalTransactionService
Creates a fluent helper for the Terminate OData function import.
terminate
in interface LegalTransactionService
legalTransactionUUID
- Constraints: none
Original parameter name from the Odata EDM: LegalTransactionUUID
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.