Class DefaultStatutoryReportingCategoryDefinitionService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,StatutoryReportingCategoryDefinitionService
The service contains entities that represent the actions you can complete with this API. Each entity contained in this service is named after an action of Document and Reporting Compliance Category Definition. - Category Definition – Read categories for specified report category definition. - Phase Definition – Read phases for the specified report category definition. - Activity Definition – Read activities for the specified report category definition. .
Reference: SAP API Business Hub
Details:
| OData Service: | CE_STATRYRPTCATDEFINITION_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Finance - ACR Services for Partner Enablement Integration(SAP_COM_0775) |
| Scope Items: | Compliance Formats - Support Preparation(1J2) |
| Authentication Methods: | x509 |
| Service Group Name: | API_STATRYRPTCATDEFINITION |
| Business Object: | Statutory Reporting Category Definition |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.StatutoryReportingCategoryDefinitionService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionCreates a service usingStatutoryReportingCategoryDefinitionService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Creates a batch request builder object.Fetch the number of entries from theActivityDefentity collection matching the filter and search expressions.Fetch the number of entries from theCategoryDefentity collection matching the filter and search expressions.Fetch the number of entries from thePhaseDefentity collection matching the filter and search expressions.getActivityDefByKey(String statryRptCategory, String statryRptActivityId) Fetch a singleActivityDefentity using key fields.Fetch multipleActivityDefentities.Fetch multipleCategoryDefentities.Fetch multiplePhaseDefentities.getCategoryDefByKey(String statryRptCategory) Fetch a singleCategoryDefentity using key fields.getPhaseDefByKey(String statryRptCategory, String statryRptCatPhase, LocalDate statryRptCatPhaseValidFromDate) Fetch a singlePhaseDefentity using key fields.withServicePath(String servicePath) Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultStatutoryReportingCategoryDefinitionService
public DefaultStatutoryReportingCategoryDefinitionService()Creates a service usingStatutoryReportingCategoryDefinitionService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultStatutoryReportingCategoryDefinitionService withServicePath(@Nonnull String servicePath) Description copied from interface:StatutoryReportingCategoryDefinitionServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceStatutoryReportingCategoryDefinitionService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Description copied from interface:StatutoryReportingCategoryDefinitionServiceCreates a batch request builder object.- Specified by:
batchin interfaceStatutoryReportingCategoryDefinitionService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllActivityDef
Description copied from interface:StatutoryReportingCategoryDefinitionServiceFetch multipleActivityDefentities.- Specified by:
getAllActivityDefin interfaceStatutoryReportingCategoryDefinitionService- Returns:
- A request builder to fetch multiple
ActivityDefentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countActivityDef
Description copied from interface:StatutoryReportingCategoryDefinitionServiceFetch the number of entries from theActivityDefentity collection matching the filter and search expressions.- Specified by:
countActivityDefin interfaceStatutoryReportingCategoryDefinitionService- Returns:
- A request builder to fetch the count of
ActivityDefentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getActivityDefByKey
@Nonnull public GetByKeyRequestBuilder<ActivityDef> getActivityDefByKey(String statryRptCategory, String statryRptActivityId) Description copied from interface:StatutoryReportingCategoryDefinitionServiceFetch a singleActivityDefentity using key fields.- Specified by:
getActivityDefByKeyin interfaceStatutoryReportingCategoryDefinitionService- Parameters:
statryRptCategory- Report Category IDConstraints: Not nullable, Maximum length: 30
statryRptActivityId- Activity IDConstraints: Not nullable, Maximum length: 30
- Returns:
- A request builder to fetch a single
ActivityDefentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getAllCategoryDef
Description copied from interface:StatutoryReportingCategoryDefinitionServiceFetch multipleCategoryDefentities.- Specified by:
getAllCategoryDefin interfaceStatutoryReportingCategoryDefinitionService- Returns:
- A request builder to fetch multiple
CategoryDefentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countCategoryDef
Description copied from interface:StatutoryReportingCategoryDefinitionServiceFetch the number of entries from theCategoryDefentity collection matching the filter and search expressions.- Specified by:
countCategoryDefin interfaceStatutoryReportingCategoryDefinitionService- Returns:
- A request builder to fetch the count of
CategoryDefentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getCategoryDefByKey
Description copied from interface:StatutoryReportingCategoryDefinitionServiceFetch a singleCategoryDefentity using key fields.- Specified by:
getCategoryDefByKeyin interfaceStatutoryReportingCategoryDefinitionService- Parameters:
statryRptCategory- Report Category IDConstraints: Not nullable, Maximum length: 30
- Returns:
- A request builder to fetch a single
CategoryDefentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getAllPhaseDef
Description copied from interface:StatutoryReportingCategoryDefinitionServiceFetch multiplePhaseDefentities.- Specified by:
getAllPhaseDefin interfaceStatutoryReportingCategoryDefinitionService- Returns:
- A request builder to fetch multiple
PhaseDefentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countPhaseDef
Description copied from interface:StatutoryReportingCategoryDefinitionServiceFetch the number of entries from thePhaseDefentity collection matching the filter and search expressions.- Specified by:
countPhaseDefin interfaceStatutoryReportingCategoryDefinitionService- Returns:
- A request builder to fetch the count of
PhaseDefentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getPhaseDefByKey
@Nonnull public GetByKeyRequestBuilder<PhaseDef> getPhaseDefByKey(String statryRptCategory, String statryRptCatPhase, LocalDate statryRptCatPhaseValidFromDate) Description copied from interface:StatutoryReportingCategoryDefinitionServiceFetch a singlePhaseDefentity using key fields.- Specified by:
getPhaseDefByKeyin interfaceStatutoryReportingCategoryDefinitionService- Parameters:
statryRptCategory- Report Category IDConstraints: Not nullable, Maximum length: 30
statryRptCatPhase- Report Category PhaseConstraints: Not nullable, Maximum length: 5
statryRptCatPhaseValidFromDate- Valid From DateConstraints: Not nullable
- Returns:
- A request builder to fetch a single
PhaseDefentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-