@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultLegalDocumentContentTypeService") public class DefaultLegalDocumentContentTypeService extends Object implements LegalDocumentContentTypeService
This synchronous inbound service is based on the OData protocol and helps you to read the content types through an API call. Content types describe the purpose of the document, for example 'Amendment' or 'Master Agreement'. This service contains legal document content type and content type text nodes. Using this service, you can read the content type maintained in the configuration..
Reference: SAP API Business Hub
OData Service: | API_LEGAL_CONTENT_TYPE_SRV |
API Version: | 1 |
Communication Scenario: | Enterprise Contract Management and Assembly Integration (SAP_COM_0437) |
Scope Items: | Integration to SAP S/4HANA Cloud for Enterprise Contract Assembly (2OQ) |
Authentication Methods: | Basic, x509 |
Business Object: | LegalContentType |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultLegalDocumentContentTypeService()
Creates a service using
LegalDocumentContentTypeService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultLegalDocumentContentTypeService()
LegalDocumentContentTypeService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultLegalDocumentContentTypeService withServicePath(@Nonnull String servicePath)
LegalDocumentContentTypeService
withServicePath
in interface LegalDocumentContentTypeService
servicePath
- Service path that will override the default.@Nonnull public DefaultLegalDocumentContentTypeServiceBatch batch()
batch
in interface BatchService<LegalDocumentContentTypeServiceBatch>
@Nonnull public LglCntntMDocContentTypeFluentHelper getAllLglCntntMDocContentType()
LegalDocumentContentTypeService
LglCntntMDocContentType
entities.getAllLglCntntMDocContentType
in interface LegalDocumentContentTypeService
LglCntntMDocContentType
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 LglCntntMDocContentTypeByKeyFluentHelper getLglCntntMDocContentTypeByKey(String lglCntntMDocContentType)
LegalDocumentContentTypeService
LglCntntMDocContentType
entity using key fields.getLglCntntMDocContentTypeByKey
in interface LegalDocumentContentTypeService
lglCntntMDocContentType
- Document Content Type
Constraints: Not nullable, Maximum length: 4
LglCntntMDocContentType
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 LglCntntMDocContentTypeTextFluentHelper getAllLglCntntMDocContentTypeText()
LegalDocumentContentTypeService
LglCntntMDocContentTypeText
entities.getAllLglCntntMDocContentTypeText
in interface LegalDocumentContentTypeService
LglCntntMDocContentTypeText
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 LglCntntMDocContentTypeTextByKeyFluentHelper getLglCntntMDocContentTypeTextByKey(String lglCntntMDocContentType, String language)
LegalDocumentContentTypeService
LglCntntMDocContentTypeText
entity using key fields.getLglCntntMDocContentTypeTextByKey
in interface LegalDocumentContentTypeService
lglCntntMDocContentType
- Document Content Type
Constraints: Not nullable, Maximum length: 4
language
- The Language key field contains an alphanumeric code that identifies the language an entry is written
in.
Constraints: Not nullable, Maximum length: 2
LglCntntMDocContentTypeText
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.