public class WorkPackageCreateFluentHelper extends FluentHelperCreate<WorkPackageCreateFluentHelper,WorkPackage>
WorkPackage
entity and save it to the S/4HANA system.
To perform execution, call the execute
method on the fluent helper object.
Constructor and Description |
---|
WorkPackageCreateFluentHelper(String servicePath,
WorkPackage entity)
Creates a fluent helper object that will create a
WorkPackage entity on the OData endpoint. |
Modifier and Type | Method and Description |
---|---|
protected WorkPackage |
getEntity()
Getter for the VDM representation of the entity to be created.
|
execute, getEntityClass, getQueryBuilder, toQuery, withErrorHandler
execute, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getServicePath, getThis, getVersionIdentifier, withCustomHttpHeader, withCustomHttpHeaders, withHttpHeader
public WorkPackageCreateFluentHelper(@Nonnull String servicePath, @Nonnull WorkPackage entity)
WorkPackage
entity on the OData endpoint. To perform execution, call the execute
method on the fluent helper object.servicePath
- The service path to direct the create requests to.entity
- The WorkPackage to create.@Nonnull protected WorkPackage getEntity()
FluentHelperCreate
getEntity
in class FluentHelperCreate<WorkPackageCreateFluentHelper,WorkPackage>
FluentHelperCreate.execute(ErpConfigContext)
method.Copyright © 2018 SAP SE. All rights reserved.