Class DefaultCommercialProjectDetailService

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCommercialProjectDetailService
All Implemented Interfaces:
BatchService<CommercialProjectDetailServiceBatch>, CommercialProjectDetailService

@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCommercialProjectDetailService") @Deprecated public class DefaultCommercialProjectDetailService extends Object implements CommercialProjectDetailService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

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..

Business Documentation

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
  • Constructor Details

  • Method Details

    • withServicePath

      @Nonnull public DefaultCommercialProjectDetailService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Description copied from interface: CommercialProjectDetailService
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Specified by:
      withServicePath in interface CommercialProjectDetailService
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • batch

      Deprecated.
      Specified by:
      batch in interface BatchService<CommercialProjectDetailServiceBatch>
    • getAllProject

      @Nonnull public ProjectFluentHelper getAllProject()
      Deprecated.
      Description copied from interface: CommercialProjectDetailService
      Fetch multiple Project entities.
      Specified by:
      getAllProject in interface CommercialProjectDetailService
      Returns:
      A fluent helper to fetch multiple Project 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.
    • getProjectByKey

      @Nonnull public ProjectByKeyFluentHelper getProjectByKey(String projectID)
      Deprecated.
      Description copied from interface: CommercialProjectDetailService
      Fetch a single Project entity using key fields.
      Specified by:
      getProjectByKey in interface CommercialProjectDetailService
      Parameters:
      projectID - Project ID

      Constraints: Not nullable, Maximum length: 40

      Returns:
      A fluent helper to fetch a single Project 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.
    • getAllWorkpackage

      @Nonnull public WorkpackageFluentHelper getAllWorkpackage()
      Deprecated.
      Description copied from interface: CommercialProjectDetailService
      Fetch multiple Workpackage entities.
      Specified by:
      getAllWorkpackage in interface CommercialProjectDetailService
      Returns:
      A fluent helper to fetch multiple Workpackage 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.
    • getWorkpackageByKey

      @Nonnull public WorkpackageByKeyFluentHelper getWorkpackageByKey(String workPackageID)
      Deprecated.
      Description copied from interface: CommercialProjectDetailService
      Fetch a single Workpackage entity using key fields.
      Specified by:
      getWorkpackageByKey in interface CommercialProjectDetailService
      Parameters:
      workPackageID - Work Package ID

      Constraints: Not nullable, Maximum length: 50

      Returns:
      A fluent helper to fetch a single Workpackage 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.
    • getAllPlanData

      @Nonnull public PlanDataFluentHelper getAllPlanData()
      Deprecated.
      Description copied from interface: CommercialProjectDetailService
      Fetch multiple PlanData entities.
      Specified by:
      getAllPlanData in interface CommercialProjectDetailService
      Returns:
      A fluent helper to fetch multiple PlanData 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.
    • 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: CommercialProjectDetailService
      Fetch a single PlanData entity using key fields.
      Specified by:
      getPlanDataByKey in interface CommercialProjectDetailService
      Parameters:
      projectID - Project ID

      Constraints: Not nullable, Maximum length: 40

      resType - Resource Type ID

      Constraints: Not nullable, Maximum length: 4

      workPackageID - Work Package ID

      Constraints: Not nullable, Maximum length: 50

      resourceId - Resource ID

      Constraints: Not nullable, Maximum length: 40

      version - Version ID

      Constraints: Not nullable, Maximum length: 28

      employee - Employee ID

      Constraints: Not nullable, Maximum length: 8

      confirmed - Resource is Confirmed

      Constraints: Not nullable, Maximum length: 1

      workitemId - Work Item ID

      Constraints: Not nullable, Maximum length: 10

      delvryServOrg - Delivery Org. ID

      Constraints: Not nullable, Maximum length: 5

      Returns:
      A fluent helper to fetch a single PlanData 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.
    • getAllWorkItem

      @Nonnull public WorkItemFluentHelper getAllWorkItem()
      Deprecated.
      Description copied from interface: CommercialProjectDetailService
      Fetch multiple WorkItem entities.
      Specified by:
      getAllWorkItem in interface CommercialProjectDetailService
      Returns:
      A fluent helper to fetch multiple WorkItem 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.
    • getWorkItemByKey

      @Nonnull public WorkItemByKeyFluentHelper getWorkItemByKey(String workitem, String workpackageID)
      Deprecated.
      Description copied from interface: CommercialProjectDetailService
      Fetch a single WorkItem entity using key fields.
      Specified by:
      getWorkItemByKey in interface CommercialProjectDetailService
      Parameters:
      workitem - Work Item ID

      Constraints: Not nullable, Maximum length: 10

      workpackageID - Work Package ID

      Constraints: Not nullable, Maximum length: 50

      Returns:
      A fluent helper to fetch a single WorkItem 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.
    • getAllProjectRole

      @Nonnull public ProjectRoleFluentHelper getAllProjectRole()
      Deprecated.
      Description copied from interface: CommercialProjectDetailService
      Fetch multiple ProjectRole entities.
      Specified by:
      getAllProjectRole in interface CommercialProjectDetailService
      Returns:
      A fluent helper to fetch multiple ProjectRole 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.
    • getProjectRoleByKey

      @Nonnull public ProjectRoleByKeyFluentHelper getProjectRoleByKey(String projectID, String projectRoleID)
      Deprecated.
      Description copied from interface: CommercialProjectDetailService
      Fetch a single ProjectRole entity using key fields.
      Specified by:
      getProjectRoleByKey in interface CommercialProjectDetailService
      Parameters:
      projectID - Project ID

      Constraints: Not nullable, Maximum length: 40

      projectRoleID - Project Role ID

      Constraints: Not nullable, Maximum length: 15

      Returns:
      A fluent helper to fetch a single ProjectRole 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.
    • getAllStaffingData

      @Nonnull public StaffingDataFluentHelper getAllStaffingData()
      Deprecated.
      Description copied from interface: CommercialProjectDetailService
      Fetch multiple StaffingData entities.
      Specified by:
      getAllStaffingData in interface CommercialProjectDetailService
      Returns:
      A fluent helper to fetch multiple StaffingData 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.
    • getStaffingDataByKey

      @Nonnull public StaffingDataByKeyFluentHelper getStaffingDataByKey(String projectID, String workPackageID, String resType, String resourceId, String workitemId)
      Deprecated.
      Description copied from interface: CommercialProjectDetailService
      Fetch a single StaffingData entity using key fields.
      Specified by:
      getStaffingDataByKey in interface CommercialProjectDetailService
      Parameters:
      projectID - Project ID

      Constraints: Not nullable, Maximum length: 40

      workPackageID - Work Package ID

      Constraints: Not nullable, Maximum length: 50

      resType - ResourceTypeID

      Constraints: Not nullable, Maximum length: 4

      resourceId - Resource ID

      Constraints: Not nullable, Maximum length: 40

      workitemId - Work Item ID

      Constraints: Not nullable, Maximum length: 10

      Returns:
      A fluent helper to fetch a single StaffingData 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.
    • getAllWorkPackageFunction

      @Nonnull public WorkPackageFunctionFluentHelper getAllWorkPackageFunction()
      Deprecated.
      Description copied from interface: CommercialProjectDetailService
      Fetch multiple WorkPackageFunction entities.
      Specified by:
      getAllWorkPackageFunction in interface CommercialProjectDetailService
      Returns:
      A fluent helper to fetch multiple WorkPackageFunction 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.
    • getWorkPackageFunctionByKey

      @Nonnull public WorkPackageFunctionByKeyFluentHelper getWorkPackageFunctionByKey(String projectID, String workPackageID, String workPackageFunctionId)
      Deprecated.
      Description copied from interface: CommercialProjectDetailService
      Fetch a single WorkPackageFunction entity using key fields.
      Specified by:
      getWorkPackageFunctionByKey in interface CommercialProjectDetailService
      Parameters:
      projectID - Project ID

      Constraints: Not nullable, Maximum length: 40

      workPackageID - Work Package ID

      Constraints: Not nullable, Maximum length: 50

      workPackageFunctionId - Work Package Function ID

      Constraints: Not nullable, Maximum length: 4

      Returns:
      A fluent helper to fetch a single WorkPackageFunction 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.