public class WorkPackageUpdateFluentHelper extends FluentHelperUpdate<WorkPackageUpdateFluentHelper,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 |
---|
WorkPackageUpdateFluentHelper(String servicePath,
WorkPackage entity)
Creates a fluent helper object that will update a
WorkPackage entity on
the OData endpoint. |
Modifier and Type | Method and Description |
---|---|
protected WorkPackage |
getEntity()
The entity object to be updated by calling the
FluentHelperUpdate.execute(ErpConfigContext) method. |
execute, getEntityClass, getQueryBuilder, ignoreVersionIdentifier, ignoringVersionIdentifier, includingFields, toQuery, withErrorHandler
asResilientCommand, asResilientCommand, execute, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getServicePath, getThis, getVersionIdentifier, withCustomHttpHeader, withCustomHttpHeaders
public WorkPackageUpdateFluentHelper(@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 update requests to.entity
- The WorkPackage to take the updated values from.@Nonnull protected WorkPackage getEntity()
FluentHelperUpdate
FluentHelperUpdate.execute(ErpConfigContext)
method.getEntity
in class FluentHelperUpdate<WorkPackageUpdateFluentHelper,WorkPackage>
Copyright © 2018 SAP SE. All rights reserved.