@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultLegalDocumentAccessLevelService") public class DefaultLegalDocumentAccessLevelService extends Object implements LegalDocumentAccessLevelService
This synchronous inbound service is based on the OData protocol and can be consumed in integration scenarios or other user interfaces. Access level is an attribute used for authorization checks in Enterprise Contract Management. This service contains access level and access level text nodes. Using this service, you can read the access levels maintained in its configuration..
Reference: SAP API Business Hub
OData Service: | A_LGLCNTNTMACCESSLVL_CDS |
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, OAuth2 |
Business Object: | LegalAccessLevel |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultLegalDocumentAccessLevelService()
Creates a service using
LegalDocumentAccessLevelService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultLegalDocumentAccessLevelServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
LglCntntMAccessLvlFluentHelper |
getAllLglCntntMAccessLvl()
Fetch multiple
LglCntntMAccessLvl entities. |
LglCntntMAccessLvlTextFluentHelper |
getAllLglCntntMAccessLvlText()
Fetch multiple
LglCntntMAccessLvlText entities. |
LglCntntMAccessLvlByKeyFluentHelper |
getLglCntntMAccessLvlByKey(String lglCntntMAccessLvl)
Fetch a single
LglCntntMAccessLvl entity using key fields. |
LglCntntMAccessLvlTextByKeyFluentHelper |
getLglCntntMAccessLvlTextByKey(String lglCntntMAccessLvl,
String language)
Fetch a single
LglCntntMAccessLvlText entity using key fields. |
DefaultLegalDocumentAccessLevelService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultLegalDocumentAccessLevelService()
LegalDocumentAccessLevelService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultLegalDocumentAccessLevelService withServicePath(@Nonnull String servicePath)
LegalDocumentAccessLevelService
withServicePath
in interface LegalDocumentAccessLevelService
servicePath
- Service path that will override the default.@Nonnull public DefaultLegalDocumentAccessLevelServiceBatch batch()
batch
in interface BatchService<LegalDocumentAccessLevelServiceBatch>
@Nonnull public LglCntntMAccessLvlFluentHelper getAllLglCntntMAccessLvl()
LegalDocumentAccessLevelService
LglCntntMAccessLvl
entities.getAllLglCntntMAccessLvl
in interface LegalDocumentAccessLevelService
LglCntntMAccessLvl
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 LglCntntMAccessLvlByKeyFluentHelper getLglCntntMAccessLvlByKey(String lglCntntMAccessLvl)
LegalDocumentAccessLevelService
LglCntntMAccessLvl
entity using key fields.getLglCntntMAccessLvlByKey
in interface LegalDocumentAccessLevelService
lglCntntMAccessLvl
- Access Level
Constraints: Not nullable, Maximum length: 4
LglCntntMAccessLvl
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 LglCntntMAccessLvlTextFluentHelper getAllLglCntntMAccessLvlText()
LegalDocumentAccessLevelService
LglCntntMAccessLvlText
entities.getAllLglCntntMAccessLvlText
in interface LegalDocumentAccessLevelService
LglCntntMAccessLvlText
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 LglCntntMAccessLvlTextByKeyFluentHelper getLglCntntMAccessLvlTextByKey(String lglCntntMAccessLvl, String language)
LegalDocumentAccessLevelService
LglCntntMAccessLvlText
entity using key fields.getLglCntntMAccessLvlTextByKey
in interface LegalDocumentAccessLevelService
lglCntntMAccessLvl
- Access Level
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
LglCntntMAccessLvlText
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.