Class DefaultGrantHierarchyService
- All Implemented Interfaces:
BatchService<GrantHierarchyServiceBatch>,GrantHierarchyService
This service enables you to read the grant hierarchy master data from SAP S/4HANA Cloud system. This service is based on the OData protocol and can be consumed in SAP Fiori apps and other user interfaces. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_GRANTCOREHIERARCHY |
| API Version: | 1.0.1 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Public Sector API Integration(SAP_COM_0761) |
| Scope Items: | Government Budget Planning(6UC) |
| Authentication Methods: | x509 |
| Business Object: | Grant |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.GrantHierarchyService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingGrantHierarchyService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleGrantCoreHierarchyentities.Deprecated.Fetch multipleGrantCoreHierarchyNodeTextentities.Deprecated.Fetch multipleGrantCoreHierarchyTextentities.Deprecated.Fetch multipleGrantCoreHierNodeentities.getGrantCoreHierarchyByKey(String grantHierarchy, LocalDateTime validityEndDate) Deprecated.Fetch a singleGrantCoreHierarchyentity using key fields.getGrantCoreHierarchyNodeTextByKey(String grantHierarchy, String hierarchyNode, LocalDateTime validityEndDate, String language) Deprecated.Fetch a singleGrantCoreHierarchyNodeTextentity using key fields.getGrantCoreHierarchyTextByKey(String grantHierarchy, LocalDateTime validityEndDate, String language) Deprecated.Fetch a singleGrantCoreHierarchyTextentity using key fields.getGrantCoreHierNodeByKey(String grantHierarchy, String hierarchyNode, LocalDateTime validityEndDate) Deprecated.Fetch a singleGrantCoreHierNodeentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultGrantHierarchyService
public DefaultGrantHierarchyService()Deprecated.Creates a service usingGrantHierarchyService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:GrantHierarchyServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceGrantHierarchyService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<GrantHierarchyServiceBatch>
-
getAllGrantCoreHierarchy
Deprecated.Description copied from interface:GrantHierarchyServiceFetch multipleGrantCoreHierarchyentities.- Specified by:
getAllGrantCoreHierarchyin interfaceGrantHierarchyService- Returns:
- A fluent helper to fetch multiple
GrantCoreHierarchyentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getGrantCoreHierarchyByKey
@Nonnull public GrantCoreHierarchyByKeyFluentHelper getGrantCoreHierarchyByKey(String grantHierarchy, LocalDateTime validityEndDate) Deprecated.Description copied from interface:GrantHierarchyServiceFetch a singleGrantCoreHierarchyentity using key fields.- Specified by:
getGrantCoreHierarchyByKeyin interfaceGrantHierarchyService- Parameters:
grantHierarchy- Grant HierarchyConstraints: Not nullable, Maximum length: 42
validityEndDate- Validity End DateConstraints: Not nullable, Precision: 0
- Returns:
- A fluent helper to fetch a single
GrantCoreHierarchyentity 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 theexecutemethod on the fluent helper object.
-
getAllGrantCoreHierarchyNodeText
Deprecated.Description copied from interface:GrantHierarchyServiceFetch multipleGrantCoreHierarchyNodeTextentities.- Specified by:
getAllGrantCoreHierarchyNodeTextin interfaceGrantHierarchyService- Returns:
- A fluent helper to fetch multiple
GrantCoreHierarchyNodeTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getGrantCoreHierarchyNodeTextByKey
@Nonnull public GrantCoreHierarchyNodeTextByKeyFluentHelper getGrantCoreHierarchyNodeTextByKey(String grantHierarchy, String hierarchyNode, LocalDateTime validityEndDate, String language) Deprecated.Description copied from interface:GrantHierarchyServiceFetch a singleGrantCoreHierarchyNodeTextentity using key fields.- Specified by:
getGrantCoreHierarchyNodeTextByKeyin interfaceGrantHierarchyService- Parameters:
grantHierarchy- Grant HierarchyConstraints: Not nullable, Maximum length: 42
hierarchyNode- Hierarchy nodeConstraints: Not nullable, Maximum length: 50
validityEndDate- Validity End DateConstraints: Not nullable, Precision: 0
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
GrantCoreHierarchyNodeTextentity 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 theexecutemethod on the fluent helper object.
-
getAllGrantCoreHierarchyText
Deprecated.Description copied from interface:GrantHierarchyServiceFetch multipleGrantCoreHierarchyTextentities.- Specified by:
getAllGrantCoreHierarchyTextin interfaceGrantHierarchyService- Returns:
- A fluent helper to fetch multiple
GrantCoreHierarchyTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getGrantCoreHierarchyTextByKey
@Nonnull public GrantCoreHierarchyTextByKeyFluentHelper getGrantCoreHierarchyTextByKey(String grantHierarchy, LocalDateTime validityEndDate, String language) Deprecated.Description copied from interface:GrantHierarchyServiceFetch a singleGrantCoreHierarchyTextentity using key fields.- Specified by:
getGrantCoreHierarchyTextByKeyin interfaceGrantHierarchyService- Parameters:
grantHierarchy- Grant HierarchyConstraints: Not nullable, Maximum length: 42
validityEndDate- Validity End DateConstraints: Not nullable, Precision: 0
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
GrantCoreHierarchyTextentity 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 theexecutemethod on the fluent helper object.
-
getAllGrantCoreHierNode
Deprecated.Description copied from interface:GrantHierarchyServiceFetch multipleGrantCoreHierNodeentities.- Specified by:
getAllGrantCoreHierNodein interfaceGrantHierarchyService- Returns:
- A fluent helper to fetch multiple
GrantCoreHierNodeentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getGrantCoreHierNodeByKey
@Nonnull public GrantCoreHierNodeByKeyFluentHelper getGrantCoreHierNodeByKey(String grantHierarchy, String hierarchyNode, LocalDateTime validityEndDate) Deprecated.Description copied from interface:GrantHierarchyServiceFetch a singleGrantCoreHierNodeentity using key fields.- Specified by:
getGrantCoreHierNodeByKeyin interfaceGrantHierarchyService- Parameters:
grantHierarchy- Grant HierarchyConstraints: Not nullable, Maximum length: 42
hierarchyNode- Hierarchy nodeConstraints: Not nullable, Maximum length: 50
validityEndDate- Validity End DateConstraints: Not nullable, Precision: 0
- Returns:
- A fluent helper to fetch a single
GrantCoreHierNodeentity 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 theexecutemethod on the fluent helper object.
-