
com.sap.cloud.sdk.s4hana.datamodel.odata.services.CommercialProjectService Maven / Gradle / Ivy
/*
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
*/
package com.sap.cloud.sdk.s4hana.datamodel.odata.services;
import javax.annotation.Nonnull;
import com.sap.cloud.sdk.s4hana.datamodel.odata.helper.batch.BatchService;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrd;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdCreateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItemByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItemFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItemWorkPckgByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItemWorkPckgFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItmBillgPlnItmByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItmBillgPlnItmFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Demand;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.DemandByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.DemandCreateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.DemandDeleteFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.DemandFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.DemandUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Project;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.ProjectByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.ProjectCreateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.ProjectFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.ProjectUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItem;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItemByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItemCreateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItemDeleteFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItemFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItemUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackage;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackageByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackageCreateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackageDeleteFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackageFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackageUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.batch.CommercialProjectServiceBatch;
/**
*
* This service enables you to create and update commercial projects in a SAP S/4HANA Cloud system. For example, you can
* use this service to create a customer or internal project based on an opportunity or a quotation in an external
* system.
*
*
*
* Reference: SAP
* API Business Hub
*
* Details:
*
*
* OData Service:
* _CPD_SC_PROJ_ENGMT_CREATE_UPD_SRV
*
*
* API Version:
* 1
*
*
* 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:
* Basic, x509
*
*
*
*/
public interface CommercialProjectService extends BatchService
{
/**
* If no other path was provided via the {@link #withServicePath(String)} method, this is the default service path
* used to access the endpoint.
*
*/
String DEFAULT_SERVICE_PATH = "/sap/opu/odata/cpd/SC_PROJ_ENGMT_CREATE_UPD_SRV";
/**
* Overrides the default service path and returns a new service instance with the specified service path. Also
* adjusts the respective entity URLs.
*
* @param servicePath
* Service path that will override the default.
* @return A new service instance with the specified service path.
*/
@Nonnull
CommercialProjectService withServicePath( @Nonnull final String servicePath );
/**
* Fetch multiple {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrd
* CustProjSlsOrd} entities.
*
* @return A fluent helper to fetch multiple
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrd
* CustProjSlsOrd} entities. This fluent helper allows methods which modify the underlying query to be
* called before executing the query itself. To perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
CustProjSlsOrdFluentHelper getAllCustProjSlsOrd();
/**
* Fetch a single {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrd
* CustProjSlsOrd} entity using key fields.
*
* @param customerProject
* Identifies a master project.
*
* Constraints: Not nullable, Maximum length: 40
*
* @return A fluent helper to fetch a single
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrd
* CustProjSlsOrd} 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
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdByKeyFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
CustProjSlsOrdByKeyFluentHelper getCustProjSlsOrdByKey( final String customerProject );
/**
* Create a new {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrd
* CustProjSlsOrd} entity and save it to the S/4HANA system.
*
* @param custProjSlsOrd
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrd
* CustProjSlsOrd} entity object that will be created in the S/4HANA system.
* @return A fluent helper to create a new
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrd
* CustProjSlsOrd} entity. To perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdCreateFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
CustProjSlsOrdCreateFluentHelper createCustProjSlsOrd( @Nonnull final CustProjSlsOrd custProjSlsOrd );
/**
* Fetch multiple {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItem
* CustProjSlsOrdItem} entities.
*
* @return A fluent helper to fetch multiple
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItem
* CustProjSlsOrdItem} entities. This fluent helper allows methods which modify the underlying query to be
* called before executing the query itself. To perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItemFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
CustProjSlsOrdItemFluentHelper getAllCustProjSlsOrdItem();
/**
* Fetch a single {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItem
* CustProjSlsOrdItem} entity using key fields.
*
* @param salesOrderItem
* Sales Order Item
*
* Constraints: Not nullable, Maximum length: 6
*
* @param customerProject
* Identifies a master project.
*
* Constraints: Not nullable, Maximum length: 40
*
* @return A fluent helper to fetch a single
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItem
* CustProjSlsOrdItem} 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
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItemByKeyFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
CustProjSlsOrdItemByKeyFluentHelper
getCustProjSlsOrdItemByKey( final String customerProject, final String salesOrderItem );
/**
* Fetch multiple
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItemWorkPckg
* CustProjSlsOrdItemWorkPckg} entities.
*
* @return A fluent helper to fetch multiple
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItemWorkPckg
* CustProjSlsOrdItemWorkPckg} entities. This fluent helper allows methods which modify the underlying query
* to be called before executing the query itself. To perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItemWorkPckgFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
CustProjSlsOrdItemWorkPckgFluentHelper getAllCustProjSlsOrdItemWorkPckg();
/**
* Fetch a single
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItemWorkPckg
* CustProjSlsOrdItemWorkPckg} entity using key fields.
*
* @param salesOrderItem
* Sales Order Item
*
* Constraints: Not nullable, Maximum length: 6
*
* @param customerProject
* Identifies a master project.
*
* Constraints: Not nullable, Maximum length: 40
*
* @param workPackage
* Plan Item
*
* Constraints: Not nullable, Maximum length: 50
*
* @return A fluent helper to fetch a single
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItemWorkPckg
* CustProjSlsOrdItemWorkPckg} 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
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItemWorkPckgByKeyFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
CustProjSlsOrdItemWorkPckgByKeyFluentHelper getCustProjSlsOrdItemWorkPckgByKey(
final String customerProject,
final String salesOrderItem,
final String workPackage );
/**
* Fetch multiple
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItmBillgPlnItm
* CustProjSlsOrdItmBillgPlnItm} entities.
*
* @return A fluent helper to fetch multiple
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItmBillgPlnItm
* CustProjSlsOrdItmBillgPlnItm} entities. This fluent helper allows methods which modify the underlying
* query to be called before executing the query itself. To perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItmBillgPlnItmFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
CustProjSlsOrdItmBillgPlnItmFluentHelper getAllCustProjSlsOrdItmBillgPlnItm();
/**
* Fetch a single
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItmBillgPlnItm
* CustProjSlsOrdItmBillgPlnItm} entity using key fields.
*
* @param salesOrderItem
* Sales Order Item
*
* Constraints: Not nullable, Maximum length: 6
*
* @param customerProject
* Identifies a master project.
*
* Constraints: Not nullable, Maximum length: 40
*
* @param billingPlanItem
* Item for billing plan/invoice plan/payment cards
*
* Constraints: Not nullable, Maximum length: 6
*
* @return A fluent helper to fetch a single
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItmBillgPlnItm
* CustProjSlsOrdItmBillgPlnItm} 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
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItmBillgPlnItmByKeyFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
CustProjSlsOrdItmBillgPlnItmByKeyFluentHelper getCustProjSlsOrdItmBillgPlnItmByKey(
final String customerProject,
final String salesOrderItem,
final String billingPlanItem );
/**
* Fetch multiple {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Project Project}
* entities.
*
* @return A fluent helper to fetch multiple
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Project 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
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.ProjectFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
ProjectFluentHelper getAllProject();
/**
* Fetch a single {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Project Project}
* entity using key fields.
*
* @param projectID
* Identifies a master project.
*
* Constraints: Not nullable, Maximum length: 40
*
* @return A fluent helper to fetch a single
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Project 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
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.ProjectByKeyFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
ProjectByKeyFluentHelper getProjectByKey( final String projectID );
/**
* Create a new {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Project Project} entity
* and save it to the S/4HANA system.
*
* @param project
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Project Project} entity
* object that will be created in the S/4HANA system.
* @return A fluent helper to create a new
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Project Project} entity. To
* perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.ProjectCreateFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
ProjectCreateFluentHelper createProject( @Nonnull final Project project );
/**
* Update an existing {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Project Project}
* entity and save it to the S/4HANA system.
*
* @param project
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Project Project} entity
* object that will be updated in the S/4HANA system.
* @return A fluent helper to update an existing
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Project Project} entity. To
* perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.ProjectUpdateFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
ProjectUpdateFluentHelper updateProject( @Nonnull final Project project );
/**
* Fetch multiple {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackage
* WorkPackage} entities.
*
* @return A fluent helper to fetch multiple
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackage 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
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackageFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
WorkPackageFluentHelper getAllWorkPackage();
/**
* Fetch a single {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackage
* WorkPackage} entity using key fields.
*
* @param workPackageID
* Plan Item
*
* Constraints: Not nullable, Maximum length: 50
*
* @param workPackageName
* Plan Item Description
*
* Constraints: Not nullable, Maximum length: 60
*
* @param projectID
* Identifies a master project.
*
* Constraints: Not nullable, Maximum length: 40
*
* @return A fluent helper to fetch a single
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackage 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
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackageByKeyFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
WorkPackageByKeyFluentHelper
getWorkPackageByKey( final String projectID, final String workPackageID, final String workPackageName );
/**
* Create a new {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackage
* WorkPackage} entity and save it to the S/4HANA system.
*
* @param workPackage
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackage WorkPackage}
* entity object that will be created in the S/4HANA system.
* @return A fluent helper to create a new
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackage WorkPackage}
* entity. To perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackageCreateFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
WorkPackageCreateFluentHelper createWorkPackage( @Nonnull final WorkPackage workPackage );
/**
* Update an existing {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackage
* WorkPackage} entity and save it to the S/4HANA system.
*
* @param workPackage
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackage WorkPackage}
* entity object that will be updated in the S/4HANA system.
* @return A fluent helper to update an existing
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackage WorkPackage}
* entity. To perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackageUpdateFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
WorkPackageUpdateFluentHelper updateWorkPackage( @Nonnull final WorkPackage workPackage );
/**
* Deletes an existing {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackage
* WorkPackage} entity in the S/4HANA system.
*
* @param workPackage
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackage WorkPackage}
* entity object that will be deleted in the S/4HANA system.
* @return A fluent helper to delete an existing
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackage WorkPackage}
* entity. To perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackageDeleteFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
WorkPackageDeleteFluentHelper deleteWorkPackage( @Nonnull final WorkPackage workPackage );
/**
* Fetch multiple {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItem WorkItem}
* entities.
*
* @return A fluent helper to fetch multiple
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItem 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
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItemFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
WorkItemFluentHelper getAllWorkItem();
/**
* Fetch a single {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItem WorkItem}
* entity using key fields.
*
* @param workPackageID
* Plan Item
*
* Constraints: Not nullable, Maximum length: 50
*
* @param workPackageName
* Plan Item Description
*
* Constraints: Not nullable, Maximum length: 60
*
* @param workitem
* Work Item ID
*
* Constraints: Not nullable, Maximum length: 10
*
* @param projectID
* Identifies a master project.
*
* Constraints: Not nullable, Maximum length: 40
*
* @return A fluent helper to fetch a single
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItem 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
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItemByKeyFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
WorkItemByKeyFluentHelper getWorkItemByKey(
final String projectID,
final String workitem,
final String workPackageID,
final String workPackageName );
/**
* Create a new {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItem WorkItem}
* entity and save it to the S/4HANA system.
*
* @param workItem
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItem WorkItem} entity
* object that will be created in the S/4HANA system.
* @return A fluent helper to create a new
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItem WorkItem} entity.
* To perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItemCreateFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
WorkItemCreateFluentHelper createWorkItem( @Nonnull final WorkItem workItem );
/**
* Update an existing {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItem
* WorkItem} entity and save it to the S/4HANA system.
*
* @param workItem
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItem WorkItem} entity
* object that will be updated in the S/4HANA system.
* @return A fluent helper to update an existing
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItem WorkItem} entity.
* To perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItemUpdateFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
WorkItemUpdateFluentHelper updateWorkItem( @Nonnull final WorkItem workItem );
/**
* Deletes an existing {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItem
* WorkItem} entity in the S/4HANA system.
*
* @param workItem
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItem WorkItem} entity
* object that will be deleted in the S/4HANA system.
* @return A fluent helper to delete an existing
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItem WorkItem} entity.
* To perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItemDeleteFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
WorkItemDeleteFluentHelper deleteWorkItem( @Nonnull final WorkItem workItem );
/**
* Fetch multiple {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Demand Demand}
* entities.
*
* @return A fluent helper to fetch multiple
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Demand Demand} entities.
* This fluent helper allows methods which modify the underlying query to be called before executing the
* query itself. To perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.DemandFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
DemandFluentHelper getAllDemand();
/**
* Fetch a single {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Demand Demand} entity
* using key fields.
*
* @param delvryServOrg
* This field links master project data with the company code and plant.
*
* Constraints: Not nullable, Maximum length: 5
*
* @param resourceId
* Used to uniquely identify a resource.
*
* Constraints: Not nullable, Maximum length: 40
*
* @param workPackageID
* Plan Item
*
* Constraints: Not nullable, Maximum length: 50
*
* @param workPackageName
* Plan Item Description
*
* Constraints: Not nullable, Maximum length: 60
*
* @param resType
* Used to uniquely identify the resource type.
*
* Constraints: Not nullable, Maximum length: 4
*
* @param workitem
* Work Item ID
*
* Constraints: Not nullable, Maximum length: 10
*
* @param projectID
* Identifies a master project.
*
* Constraints: Not nullable, Maximum length: 40
*
* @return A fluent helper to fetch a single
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Demand Demand} 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
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.DemandByKeyFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
DemandByKeyFluentHelper getDemandByKey(
final String projectID,
final String workPackageID,
final String workPackageName,
final String resType,
final String resourceId,
final String workitem,
final String delvryServOrg );
/**
* Create a new {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Demand Demand} entity
* and save it to the S/4HANA system.
*
* @param demand
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Demand Demand} entity
* object that will be created in the S/4HANA system.
* @return A fluent helper to create a new
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Demand Demand} entity. To
* perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.DemandCreateFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
DemandCreateFluentHelper createDemand( @Nonnull final Demand demand );
/**
* Update an existing {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Demand Demand}
* entity and save it to the S/4HANA system.
*
* @param demand
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Demand Demand} entity
* object that will be updated in the S/4HANA system.
* @return A fluent helper to update an existing
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Demand Demand} entity. To
* perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.DemandUpdateFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
DemandUpdateFluentHelper updateDemand( @Nonnull final Demand demand );
/**
* Deletes an existing {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Demand Demand}
* entity in the S/4HANA system.
*
* @param demand
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Demand Demand} entity
* object that will be deleted in the S/4HANA system.
* @return A fluent helper to delete an existing
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Demand Demand} entity. To
* perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.DemandDeleteFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
DemandDeleteFluentHelper deleteDemand( @Nonnull final Demand demand );
}