@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultLegalCategorieService") public class DefaultLegalCategorieService extends Object implements LegalCategorieService
Category is one of the objects used to categorize Contexts, Legal Transactions, Templates and Text Blocks. This service contains legal categories and legal category text nodes. Using this service, you can read the legal categories created in the Categories application..
Reference: SAP API Business Hub
OData Service: | API_LEGAL_CATEGORY_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: | LegalCategory |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultLegalCategorieService()
Creates a service using
LegalCategorieService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultLegalCategorieServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
LegalCategoryFluentHelper |
getAllLegalCategory()
Fetch multiple
LegalCategory entities. |
LegalCategoryTextFluentHelper |
getAllLegalCategoryText()
Fetch multiple
LegalCategoryText entities. |
LegalCategoryByKeyFluentHelper |
getLegalCategoryByKey(String lglCntntMCategory)
Fetch a single
LegalCategory entity using key fields. |
LegalCategoryTextByKeyFluentHelper |
getLegalCategoryTextByKey(String lglCntntMCategory,
String language)
Fetch a single
LegalCategoryText entity using key fields. |
DefaultLegalCategorieService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultLegalCategorieService()
LegalCategorieService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultLegalCategorieService withServicePath(@Nonnull String servicePath)
LegalCategorieService
withServicePath
in interface LegalCategorieService
servicePath
- Service path that will override the default.@Nonnull public DefaultLegalCategorieServiceBatch batch()
batch
in interface BatchService<LegalCategorieServiceBatch>
@Nonnull public LegalCategoryFluentHelper getAllLegalCategory()
LegalCategorieService
LegalCategory
entities.getAllLegalCategory
in interface LegalCategorieService
LegalCategory
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 LegalCategoryByKeyFluentHelper getLegalCategoryByKey(String lglCntntMCategory)
LegalCategorieService
LegalCategory
entity using key fields.getLegalCategoryByKey
in interface LegalCategorieService
lglCntntMCategory
- Category ID
Constraints: Not nullable, Maximum length: 6
LegalCategory
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 LegalCategoryTextFluentHelper getAllLegalCategoryText()
LegalCategorieService
LegalCategoryText
entities.getAllLegalCategoryText
in interface LegalCategorieService
LegalCategoryText
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 LegalCategoryTextByKeyFluentHelper getLegalCategoryTextByKey(String lglCntntMCategory, String language)
LegalCategorieService
LegalCategoryText
entity using key fields.getLegalCategoryTextByKey
in interface LegalCategorieService
lglCntntMCategory
- Category ID
Constraints: Not nullable, Maximum length: 6
language
- The Language key field contains an alphanumeric code that identifies the language an entry is written
in.
Constraints: Not nullable, Maximum length: 2
LegalCategoryText
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.