Class DefaultCommercialProjectDetailService
- All Implemented Interfaces:
BatchService<CommercialProjectDetailServiceBatch>,CommercialProjectDetailService
The service provides header and detail-level information about customer and internal projects. It can be used as a data provider to integrate third-party tools or applications for business processes such as resource management, staffing, or time recording..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | _CPD_SC_EXTERNAL_SERVICES_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Commercial Project Integration(SAP_COM_0054) |
| Scope Items: | Internal Project Management - Project-Based Services(1A8), Customer Project Management - Project-Based Services(J11) |
| Authentication Methods: | x509 |
| Business Object: | Commercial Project |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.CommercialProjectDetailService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingCommercialProjectDetailService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multiplePlanDataentities.Deprecated.Fetch multipleProjectentities.Deprecated.Fetch multipleProjectRoleentities.Deprecated.Fetch multipleStaffingDataentities.Deprecated.Fetch multipleWorkItementities.Deprecated.Fetch multipleWorkpackageentities.Deprecated.Fetch multipleWorkPackageFunctionentities.getPlanDataByKey(String projectID, String resType, String workPackageID, String resourceId, String version, String employee, String confirmed, String workitemId, String delvryServOrg) Deprecated.Fetch a singlePlanDataentity using key fields.getProjectByKey(String projectID) Deprecated.Fetch a singleProjectentity using key fields.getProjectRoleByKey(String projectID, String projectRoleID) Deprecated.Fetch a singleProjectRoleentity using key fields.getStaffingDataByKey(String projectID, String workPackageID, String resType, String resourceId, String workitemId) Deprecated.Fetch a singleStaffingDataentity using key fields.getWorkItemByKey(String workitem, String workpackageID) Deprecated.Fetch a singleWorkItementity using key fields.getWorkpackageByKey(String workPackageID) Deprecated.Fetch a singleWorkpackageentity using key fields.getWorkPackageFunctionByKey(String projectID, String workPackageID, String workPackageFunctionId) Deprecated.Fetch a singleWorkPackageFunctionentity 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
-
DefaultCommercialProjectDetailService
public DefaultCommercialProjectDetailService()Deprecated.Creates a service usingCommercialProjectDetailService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:CommercialProjectDetailServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceCommercialProjectDetailService- 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<CommercialProjectDetailServiceBatch>
-
getAllProject
Deprecated.Description copied from interface:CommercialProjectDetailServiceFetch multipleProjectentities.- Specified by:
getAllProjectin interfaceCommercialProjectDetailService- Returns:
- A fluent helper to fetch multiple
Projectentities. 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.
-
getProjectByKey
Deprecated.Description copied from interface:CommercialProjectDetailServiceFetch a singleProjectentity using key fields.- Specified by:
getProjectByKeyin interfaceCommercialProjectDetailService- Parameters:
projectID- Project IDConstraints: Not nullable, Maximum length: 40
- Returns:
- A fluent helper to fetch a single
Projectentity 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.
-
getAllWorkpackage
Deprecated.Description copied from interface:CommercialProjectDetailServiceFetch multipleWorkpackageentities.- Specified by:
getAllWorkpackagein interfaceCommercialProjectDetailService- Returns:
- A fluent helper to fetch multiple
Workpackageentities. 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.
-
getWorkpackageByKey
Deprecated.Description copied from interface:CommercialProjectDetailServiceFetch a singleWorkpackageentity using key fields.- Specified by:
getWorkpackageByKeyin interfaceCommercialProjectDetailService- Parameters:
workPackageID- Work Package IDConstraints: Not nullable, Maximum length: 50
- Returns:
- A fluent helper to fetch a single
Workpackageentity 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.
-
getAllPlanData
Deprecated.Description copied from interface:CommercialProjectDetailServiceFetch multiplePlanDataentities.- Specified by:
getAllPlanDatain interfaceCommercialProjectDetailService- Returns:
- A fluent helper to fetch multiple
PlanDataentities. 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.
-
getPlanDataByKey
@Nonnull public PlanDataByKeyFluentHelper getPlanDataByKey(String projectID, String resType, String workPackageID, String resourceId, String version, String employee, String confirmed, String workitemId, String delvryServOrg) Deprecated.Description copied from interface:CommercialProjectDetailServiceFetch a singlePlanDataentity using key fields.- Specified by:
getPlanDataByKeyin interfaceCommercialProjectDetailService- Parameters:
projectID- Project IDConstraints: Not nullable, Maximum length: 40
resType- Resource Type IDConstraints: Not nullable, Maximum length: 4
workPackageID- Work Package IDConstraints: Not nullable, Maximum length: 50
resourceId- Resource IDConstraints: Not nullable, Maximum length: 40
version- Version IDConstraints: Not nullable, Maximum length: 28
employee- Employee IDConstraints: Not nullable, Maximum length: 8
confirmed- Resource is ConfirmedConstraints: Not nullable, Maximum length: 1
workitemId- Work Item IDConstraints: Not nullable, Maximum length: 10
delvryServOrg- Delivery Org. IDConstraints: Not nullable, Maximum length: 5
- Returns:
- A fluent helper to fetch a single
PlanDataentity 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.
-
getAllWorkItem
Deprecated.Description copied from interface:CommercialProjectDetailServiceFetch multipleWorkItementities.- Specified by:
getAllWorkItemin interfaceCommercialProjectDetailService- Returns:
- A fluent helper to fetch multiple
WorkItementities. 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.
-
getWorkItemByKey
Deprecated.Description copied from interface:CommercialProjectDetailServiceFetch a singleWorkItementity using key fields.- Specified by:
getWorkItemByKeyin interfaceCommercialProjectDetailService- Parameters:
workitem- Work Item IDConstraints: Not nullable, Maximum length: 10
workpackageID- Work Package IDConstraints: Not nullable, Maximum length: 50
- Returns:
- A fluent helper to fetch a single
WorkItementity 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.
-
getAllProjectRole
Deprecated.Description copied from interface:CommercialProjectDetailServiceFetch multipleProjectRoleentities.- Specified by:
getAllProjectRolein interfaceCommercialProjectDetailService- Returns:
- A fluent helper to fetch multiple
ProjectRoleentities. 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.
-
getProjectRoleByKey
@Nonnull public ProjectRoleByKeyFluentHelper getProjectRoleByKey(String projectID, String projectRoleID) Deprecated.Description copied from interface:CommercialProjectDetailServiceFetch a singleProjectRoleentity using key fields.- Specified by:
getProjectRoleByKeyin interfaceCommercialProjectDetailService- Parameters:
projectID- Project IDConstraints: Not nullable, Maximum length: 40
projectRoleID- Project Role IDConstraints: Not nullable, Maximum length: 15
- Returns:
- A fluent helper to fetch a single
ProjectRoleentity 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.
-
getAllStaffingData
Deprecated.Description copied from interface:CommercialProjectDetailServiceFetch multipleStaffingDataentities.- Specified by:
getAllStaffingDatain interfaceCommercialProjectDetailService- Returns:
- A fluent helper to fetch multiple
StaffingDataentities. 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.
-
getStaffingDataByKey
@Nonnull public StaffingDataByKeyFluentHelper getStaffingDataByKey(String projectID, String workPackageID, String resType, String resourceId, String workitemId) Deprecated.Description copied from interface:CommercialProjectDetailServiceFetch a singleStaffingDataentity using key fields.- Specified by:
getStaffingDataByKeyin interfaceCommercialProjectDetailService- Parameters:
projectID- Project IDConstraints: Not nullable, Maximum length: 40
workPackageID- Work Package IDConstraints: Not nullable, Maximum length: 50
resType- ResourceTypeIDConstraints: Not nullable, Maximum length: 4
resourceId- Resource IDConstraints: Not nullable, Maximum length: 40
workitemId- Work Item IDConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
StaffingDataentity 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.
-
getAllWorkPackageFunction
Deprecated.Description copied from interface:CommercialProjectDetailServiceFetch multipleWorkPackageFunctionentities.- Specified by:
getAllWorkPackageFunctionin interfaceCommercialProjectDetailService- Returns:
- A fluent helper to fetch multiple
WorkPackageFunctionentities. 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.
-
getWorkPackageFunctionByKey
@Nonnull public WorkPackageFunctionByKeyFluentHelper getWorkPackageFunctionByKey(String projectID, String workPackageID, String workPackageFunctionId) Deprecated.Description copied from interface:CommercialProjectDetailServiceFetch a singleWorkPackageFunctionentity using key fields.- Specified by:
getWorkPackageFunctionByKeyin interfaceCommercialProjectDetailService- Parameters:
projectID- Project IDConstraints: Not nullable, Maximum length: 40
workPackageID- Work Package IDConstraints: Not nullable, Maximum length: 50
workPackageFunctionId- Work Package Function IDConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
WorkPackageFunctionentity 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.
-