Class WorkPackageCreateFluentHelper
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic<FluentHelperT,EntityT,ModificationResponse<EntityT>>
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperModification<FluentHelperT,EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperCreate<WorkPackageCreateFluentHelper,WorkPackage>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackageCreateFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
public class WorkPackageCreateFluentHelper
extends FluentHelperCreate<WorkPackageCreateFluentHelper,WorkPackage>
Fluent helper to create a new
WorkPackage entity and save
it to the S/4HANA system.
To perform execution, call the executeRequest method on the fluent helper object.
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionWorkPackageCreateFluentHelper(String servicePath, WorkPackage entity, String entityCollection) Creates a fluent helper object that will create aWorkPackageentity on the OData endpoint. -
Method Summary
Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperCreate
asChildOf, executeRequest, getEntityClass, toRequestMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperModification
withoutCsrfTokenMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
getCsrfTokenRetriever, getHeaders, getParametersForRequestOnly, getServicePath, getThis, withHeader, withHeaders, withQueryParameter
-
Constructor Details
-
WorkPackageCreateFluentHelper
public WorkPackageCreateFluentHelper(@Nonnull String servicePath, @Nonnull WorkPackage entity, @Nonnull String entityCollection) Creates a fluent helper object that will create aWorkPackageentity on the OData endpoint. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
entityCollection- Entity Collection to direct the create requests to.servicePath- The service path to direct the create requests to.entity- The WorkPackage to create.
-
-
Method Details
-
getEntity
- Specified by:
getEntityin classFluentHelperCreate<WorkPackageCreateFluentHelper,WorkPackage>
-