public class SetDemandStatusToClosedFluentHelper extends SingleValuedFluentHelperFunction<SetDemandStatusToClosedFluentHelper,ProjectDemand,ProjectDemand>
csrfTokenRetriever, entityCollection
Constructor and Description |
---|
SetDemandStatusToClosedFluentHelper(String servicePath,
UUID projectDemandUUID)
Creates a fluent helper object that will execute the SetDemandStatusToClosed OData function import with
the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri) |
ProjectDemand |
executeRequest(HttpDestinationProperties destination)
Execute this function import.
|
protected Class<ProjectDemand> |
getEntityClass() |
protected String |
getFunctionName() |
protected Map<String,Object> |
getParameters() |
protected com.google.gson.JsonElement |
refineJsonResponse(com.google.gson.JsonElement jsonElement) |
executeMultiple, executeSingle, getCsrfTokenRetriever, toRequest, withCsrfToken, withoutCsrfToken
getHeaders, getParametersForRequestOnly, getServicePath, getThis, withHeader, withHeaders, withQueryParameter
public SetDemandStatusToClosedFluentHelper(@Nonnull String servicePath, @Nonnull UUID projectDemandUUID)
executeRequest
method on the
fluent helper object.servicePath
- Service path to be used to call the functions against.projectDemandUUID
- Demand UUID
Constraints: none
Original parameter name from the Odata EDM: ProjectDemandUUID
@Nonnull protected Class<ProjectDemand> getEntityClass()
getEntityClass
in class FluentHelperBasic<SetDemandStatusToClosedFluentHelper,ProjectDemand,ProjectDemand>
@Nonnull protected String getFunctionName()
getFunctionName
in class FluentHelperFunction<SetDemandStatusToClosedFluentHelper,ProjectDemand,ProjectDemand>
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement)
refineJsonResponse
in class FluentHelperFunction<SetDemandStatusToClosedFluentHelper,ProjectDemand,ProjectDemand>
@Nonnull protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<SetDemandStatusToClosedFluentHelper,ProjectDemand,ProjectDemand>
@Nonnull protected org.apache.http.client.methods.HttpUriRequest createRequest(@Nonnull URI uri)
createRequest
in class FluentHelperFunction<SetDemandStatusToClosedFluentHelper,ProjectDemand,ProjectDemand>
@Nullable public ProjectDemand executeRequest(@Nonnull HttpDestinationProperties destination)
executeRequest
in interface FluentHelperExecutable<Object>
executeRequest
in class FluentHelperBasic<SetDemandStatusToClosedFluentHelper,ProjectDemand,ProjectDemand>
Copyright © 2022 SAP SE. All rights reserved.