public class CancelFluentHelper extends FluentHelperFunction<CancelFluentHelper,ChangeStatusExportParameters,ChangeStatusExportParameters>
Constructor and Description |
---|
CancelFluentHelper(String requestForQuotation)
Creates a fluent helper object that will execute the Cancel OData function import with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri) |
ChangeStatusExportParameters |
execute(ErpConfigContext configContext)
Executes the underlying query using the stored values, plus any query modifiers that were previously called.
|
protected Class<ChangeStatusExportParameters> |
getEntityClass() |
protected String |
getFunctionName() |
protected Map<String,Object> |
getParameters() |
protected String |
getPath() |
executeMultiple, executeSingle, withHttpHeader
execute, getThis, getVersionIdentifier
public CancelFluentHelper(String requestForQuotation)
execute
method on the fluent helper object.requestForQuotation
- Request for QuotationConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: RequestForQuotation
protected Class<ChangeStatusExportParameters> getEntityClass()
getEntityClass
in class FluentHelperBasic<CancelFluentHelper,ChangeStatusExportParameters,ChangeStatusExportParameters>
protected String getPath()
getPath
in class FluentHelperFunction<CancelFluentHelper,ChangeStatusExportParameters,ChangeStatusExportParameters>
protected String getFunctionName()
getFunctionName
in class FluentHelperFunction<CancelFluentHelper,ChangeStatusExportParameters,ChangeStatusExportParameters>
protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<CancelFluentHelper,ChangeStatusExportParameters,ChangeStatusExportParameters>
protected org.apache.http.client.methods.HttpUriRequest createRequest(URI uri)
createRequest
in class FluentHelperFunction<CancelFluentHelper,ChangeStatusExportParameters,ChangeStatusExportParameters>
public ChangeStatusExportParameters execute(ErpConfigContext configContext) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
execute
in class FluentHelperBasic<CancelFluentHelper,ChangeStatusExportParameters,ChangeStatusExportParameters>
configContext
- Supply the ERP system context for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
ErpConfigContext.ErpConfigContext()
Copyright © 2018 SAP SE. All rights reserved.