Class Get_QItem_DocumentFluentHelper
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic<FluentHelperT,ObjectT,ResultT>
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperFunction<FluentHelperT,ObjectT,ResultT>
com.sap.cloud.sdk.datamodel.odata.helper.CollectionValuedFluentHelperFunction<Get_QItem_DocumentFluentHelper,PrintDocumentBlob,List<PrintDocumentBlob>>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.printqueueitem.Get_QItem_DocumentFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
public class Get_QItem_DocumentFluentHelper
extends CollectionValuedFluentHelperFunction<Get_QItem_DocumentFluentHelper,PrintDocumentBlob,List<PrintDocumentBlob>>
Fluent helper for the Get_QItem_Document OData function import.
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.client.methods.HttpUriRequestcreateRequest(URI uri) executeRequest(HttpDestinationProperties destination) Execute this function import.protected Class<PrintDocumentBlob>protected Stringprotected com.google.gson.JsonElementrefineJsonResponse(com.google.gson.JsonElement jsonElement) Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperFunction
executeMultiple, executeSingle, getCsrfTokenRetriever, toRequest, withCsrfToken, withoutCsrfTokenMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
getHeaders, getParametersForRequestOnly, getServicePath, getThis, withHeader, withHeaders, withQueryParameter
-
Constructor Details
-
Get_QItem_DocumentFluentHelper
public Get_QItem_DocumentFluentHelper(@Nonnull String servicePath, @Nonnull String item_id, @Nonnull Boolean main_doc, @Nonnull Boolean attachments, @Nonnull String qname) Creates a fluent helper object that will execute the Get_QItem_Document OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
attachments- Constraints: noneOriginal parameter name from the Odata EDM: attachments
item_id- Constraints: noneOriginal parameter name from the Odata EDM: item_id
main_doc- Constraints: noneOriginal parameter name from the Odata EDM: main_doc
servicePath- Service path to be used to call the functions against.qname- Constraints: noneOriginal parameter name from the Odata EDM: qname
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<Get_QItem_DocumentFluentHelper,PrintDocumentBlob, List<PrintDocumentBlob>>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<Get_QItem_DocumentFluentHelper,PrintDocumentBlob, List<PrintDocumentBlob>>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) - Overrides:
refineJsonResponsein classFluentHelperFunction<Get_QItem_DocumentFluentHelper,PrintDocumentBlob, List<PrintDocumentBlob>>
-
getParameters
- Specified by:
getParametersin classFluentHelperFunction<Get_QItem_DocumentFluentHelper,PrintDocumentBlob, List<PrintDocumentBlob>>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<Get_QItem_DocumentFluentHelper,PrintDocumentBlob, List<PrintDocumentBlob>>
-
executeRequest
@Nonnull public List<PrintDocumentBlob> executeRequest(@Nonnull HttpDestinationProperties destination) Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<Get_QItem_DocumentFluentHelper,PrintDocumentBlob, List<PrintDocumentBlob>>
-