public abstract class FluentHelperBasic<FluentHelperT,EntityT,ResultT> extends Object
Constructor and Description |
---|
FluentHelperBasic() |
Modifier and Type | Method and Description |
---|---|
ResultT |
execute()
Executes the underlying query using the stored values, plus any query modifiers that were previously called.
|
abstract ResultT |
execute(ErpConfigContext configContext)
Executes the underlying query using the stored values, plus any query modifiers that were previously called.
|
protected abstract Class<? extends EntityT> |
getEntityClass() |
protected FluentHelperT |
getThis() |
protected String |
getVersionIdentifier(com.sap.cloud.sdk.odatav2.connectivity.internal.ODataHttpResponseWrapper response) |
abstract FluentHelperT |
withHttpHeader(String key,
String value)
Adds a HTTP header parameter (key and value) to all underlying OData requests.
|
protected FluentHelperT getThis()
public abstract FluentHelperT withHttpHeader(String key, String value)
key
- Name of desired HTTP header parameter.value
- Value of desired HTTP header parameter.public abstract ResultT execute(ErpConfigContext configContext) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
configContext
- Supply the ERP system context for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
ErpConfigContext.ErpConfigContext()
public ResultT execute() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
ErpConfigContext.ErpConfigContext()
Copyright © 2018 SAP SE. All rights reserved.