@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultLegalDocumentStatusService") public class DefaultLegalDocumentStatusService extends Object implements LegalDocumentStatusService
This synchronous inbound service is based on the OData protocol and helps you to read the possible values of legal document status through an API call. This describes the status of a legal document. For example, 'In Process','Accepted' and so on are the various statuses assigned to a legal document. This service contains legal document status and legal document status text nodes. Using this service, you can read the legal document status type maintained in the system. .
Reference: SAP API Business Hub
OData Service: | OP_API_LEGALDOCUMENTSTATUS_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Legal Document Status |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultLegalDocumentStatusService()
Creates a service using
LegalDocumentStatusService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultLegalDocumentStatusServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
LegalDocumentStatusFluentHelper |
getAllLegalDocumentStatus()
Fetch multiple
LegalDocumentStatus entities. |
LegalDocumentStatusTextFluentHelper |
getAllLegalDocumentStatusText()
Fetch multiple
LegalDocumentStatusText entities. |
LegalDocumentStatusByKeyFluentHelper |
getLegalDocumentStatusByKey(String internalDocumentStatus)
Fetch a single
LegalDocumentStatus entity using key fields. |
LegalDocumentStatusTextByKeyFluentHelper |
getLegalDocumentStatusTextByKey(String internalDocumentStatus,
String language)
Fetch a single
LegalDocumentStatusText entity using key fields. |
DefaultLegalDocumentStatusService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultLegalDocumentStatusService()
LegalDocumentStatusService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultLegalDocumentStatusService withServicePath(@Nonnull String servicePath)
LegalDocumentStatusService
withServicePath
in interface LegalDocumentStatusService
servicePath
- Service path that will override the default.@Nonnull public DefaultLegalDocumentStatusServiceBatch batch()
batch
in interface BatchService<LegalDocumentStatusServiceBatch>
@Nonnull public LegalDocumentStatusFluentHelper getAllLegalDocumentStatus()
LegalDocumentStatusService
LegalDocumentStatus
entities.getAllLegalDocumentStatus
in interface LegalDocumentStatusService
LegalDocumentStatus
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 LegalDocumentStatusByKeyFluentHelper getLegalDocumentStatusByKey(String internalDocumentStatus)
LegalDocumentStatusService
LegalDocumentStatus
entity using key fields.getLegalDocumentStatusByKey
in interface LegalDocumentStatusService
internalDocumentStatus
- Document Status
Constraints: Not nullable, Maximum length: 2
LegalDocumentStatus
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 LegalDocumentStatusTextFluentHelper getAllLegalDocumentStatusText()
LegalDocumentStatusService
LegalDocumentStatusText
entities.getAllLegalDocumentStatusText
in interface LegalDocumentStatusService
LegalDocumentStatusText
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 LegalDocumentStatusTextByKeyFluentHelper getLegalDocumentStatusTextByKey(String internalDocumentStatus, String language)
LegalDocumentStatusService
LegalDocumentStatusText
entity using key fields.getLegalDocumentStatusTextByKey
in interface LegalDocumentStatusService
internalDocumentStatus
- Document Status
Constraints: Not nullable, Maximum length: 2
language
- Language Key
Constraints: Not nullable, Maximum length: 2
LegalDocumentStatusText
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.Copyright © 2021 SAP SE. All rights reserved.