public class CalculateAvailabilityTimeseriesFluentHelper extends FluentHelperFunction<CalculateAvailabilityTimeseriesFluentHelper,AvailabilityRecord,List<AvailabilityRecord>>
Constructor and Description |
---|
CalculateAvailabilityTimeseriesFluentHelper(String aTPCheckingRule,
String material,
String supplyingPlant)
Creates a fluent helper object that will execute the CalculateAvailabilityTimeseries OData function import with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri) |
List<AvailabilityRecord> |
execute(ErpConfigContext configContext)
Executes the underlying query using the stored values, plus any query modifiers that were previously called.
|
protected Class<AvailabilityRecord> |
getEntityClass() |
protected String |
getFunctionName() |
protected Map<String,Object> |
getParameters() |
protected String |
getPath() |
executeMultiple, executeSingle, withHttpHeader
execute, getThis, getVersionIdentifier
public CalculateAvailabilityTimeseriesFluentHelper(String aTPCheckingRule, String material, String supplyingPlant)
execute
method on the fluent helper object.material
- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: Material
aTPCheckingRule
- Constraints: Not nullable, Maximum length: 2Original parameter name from the Odata EDM: ATPCheckingRule
supplyingPlant
- Constraints: Not nullable, Maximum length: 4Original parameter name from the Odata EDM: SupplyingPlant
protected Class<AvailabilityRecord> getEntityClass()
getEntityClass
in class FluentHelperBasic<CalculateAvailabilityTimeseriesFluentHelper,AvailabilityRecord,List<AvailabilityRecord>>
protected String getPath()
getPath
in class FluentHelperFunction<CalculateAvailabilityTimeseriesFluentHelper,AvailabilityRecord,List<AvailabilityRecord>>
protected String getFunctionName()
getFunctionName
in class FluentHelperFunction<CalculateAvailabilityTimeseriesFluentHelper,AvailabilityRecord,List<AvailabilityRecord>>
protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<CalculateAvailabilityTimeseriesFluentHelper,AvailabilityRecord,List<AvailabilityRecord>>
protected org.apache.http.client.methods.HttpUriRequest createRequest(URI uri)
createRequest
in class FluentHelperFunction<CalculateAvailabilityTimeseriesFluentHelper,AvailabilityRecord,List<AvailabilityRecord>>
public List<AvailabilityRecord> execute(ErpConfigContext configContext) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
execute
in class FluentHelperBasic<CalculateAvailabilityTimeseriesFluentHelper,AvailabilityRecord,List<AvailabilityRecord>>
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.