public class CancelFluentHelper extends FluentHelperFunction<CancelFluentHelper,LegalTransaction,LegalTransaction>
Constructor and Description |
---|
CancelFluentHelper(UUID legalTransactionUUID)
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) |
LegalTransaction |
execute(ErpConfigContext configContext)
Executes the underlying query using the stored values, plus any query modifiers that were previously called.
|
protected Class<LegalTransaction> |
getEntityClass() |
protected String |
getFunctionName() |
protected Map<String,Object> |
getParameters() |
protected String |
getPath() |
executeMultiple, executeSingle, withHttpHeader
execute, getThis, getVersionIdentifier
public CancelFluentHelper(UUID legalTransactionUUID)
execute
method on the fluent helper object.legalTransactionUUID
- Universal Unique IDConstraints: none
Original parameter name from the Odata EDM: LegalTransactionUUID
protected Class<LegalTransaction> getEntityClass()
getEntityClass
in class FluentHelperBasic<CancelFluentHelper,LegalTransaction,LegalTransaction>
protected String getPath()
getPath
in class FluentHelperFunction<CancelFluentHelper,LegalTransaction,LegalTransaction>
protected String getFunctionName()
getFunctionName
in class FluentHelperFunction<CancelFluentHelper,LegalTransaction,LegalTransaction>
protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<CancelFluentHelper,LegalTransaction,LegalTransaction>
protected org.apache.http.client.methods.HttpUriRequest createRequest(URI uri)
createRequest
in class FluentHelperFunction<CancelFluentHelper,LegalTransaction,LegalTransaction>
public LegalTransaction execute(ErpConfigContext configContext) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
execute
in class FluentHelperBasic<CancelFluentHelper,LegalTransaction,LegalTransaction>
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.