@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.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: | OP_API_LEGAL_CONTENT_TYPE_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Legal Content Type |
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
- Language Key
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.