Interface GrantHierarchyService
- All Superinterfaces:
BatchService<GrantHierarchyServiceBatch>
- All Known Implementing Classes:
DefaultGrantHierarchyService
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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.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.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
getAllGrantCoreHierarchy
Deprecated.Fetch multipleGrantCoreHierarchyentities.- 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 GrantCoreHierarchyByKeyFluentHelper getGrantCoreHierarchyByKey(String grantHierarchy, LocalDateTime validityEndDate) Deprecated.Fetch a singleGrantCoreHierarchyentity using key fields.- 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.Fetch multipleGrantCoreHierarchyNodeTextentities.- 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 GrantCoreHierarchyNodeTextByKeyFluentHelper getGrantCoreHierarchyNodeTextByKey(String grantHierarchy, String hierarchyNode, LocalDateTime validityEndDate, String language) Deprecated.Fetch a singleGrantCoreHierarchyNodeTextentity using key fields.- Parameters:
language- Language KeyConstraints: Not nullable, Maximum length: 2
grantHierarchy- Grant HierarchyConstraints: Not nullable, Maximum length: 42
validityEndDate- Validity End DateConstraints: Not nullable, Precision: 0
hierarchyNode- Hierarchy nodeConstraints: Not nullable, Maximum length: 50
- 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.Fetch multipleGrantCoreHierarchyTextentities.- 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 GrantCoreHierarchyTextByKeyFluentHelper getGrantCoreHierarchyTextByKey(String grantHierarchy, LocalDateTime validityEndDate, String language) Deprecated.Fetch a singleGrantCoreHierarchyTextentity using key fields.- Parameters:
language- Language KeyConstraints: Not nullable, Maximum length: 2
grantHierarchy- Grant HierarchyConstraints: Not nullable, Maximum length: 42
validityEndDate- Validity End DateConstraints: Not nullable, Precision: 0
- 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.Fetch multipleGrantCoreHierNodeentities.- 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 GrantCoreHierNodeByKeyFluentHelper getGrantCoreHierNodeByKey(String grantHierarchy, String hierarchyNode, LocalDateTime validityEndDate) Deprecated.Fetch a singleGrantCoreHierNodeentity using key fields.- Parameters:
grantHierarchy- Grant HierarchyConstraints: Not nullable, Maximum length: 42
validityEndDate- Validity End DateConstraints: Not nullable, Precision: 0
hierarchyNode- Hierarchy nodeConstraints: Not nullable, Maximum length: 50
- 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.
-