public class GetAttachmentCountFluentHelper extends FluentHelperFunction<GetAttachmentCountFluentHelper,AttachmentsCount,AttachmentsCount>
Constructor and Description |
---|
GetAttachmentCountFluentHelper(String businessObjectTypeName,
String linkedSAPObjectKey,
String semanticObject)
Creates a fluent helper object that will execute the GetAttachmentCount OData function import with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri) |
AttachmentsCount |
execute(ErpConfigContext configContext)
Executes the underlying query using the stored values, plus any query modifiers that were previously called.
|
protected Class<AttachmentsCount> |
getEntityClass() |
protected String |
getFunctionName() |
protected Map<String,Object> |
getParameters() |
protected String |
getPath() |
executeMultiple, executeSingle, withHttpHeader
execute, getThis, getVersionIdentifier
public GetAttachmentCountFluentHelper(String businessObjectTypeName, String linkedSAPObjectKey, String semanticObject)
execute
method on the fluent helper object.linkedSAPObjectKey
- LinkedSAPObjectKeyConstraints: Not nullable, Maximum length: 90
Original parameter name from the Odata EDM: LinkedSAPObjectKey
businessObjectTypeName
- BusinessObjectTypeNameConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: BusinessObjectTypeName
semanticObject
- SemanticObjectConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: SemanticObject
protected Class<AttachmentsCount> getEntityClass()
getEntityClass
in class FluentHelperBasic<GetAttachmentCountFluentHelper,AttachmentsCount,AttachmentsCount>
protected String getPath()
getPath
in class FluentHelperFunction<GetAttachmentCountFluentHelper,AttachmentsCount,AttachmentsCount>
protected String getFunctionName()
getFunctionName
in class FluentHelperFunction<GetAttachmentCountFluentHelper,AttachmentsCount,AttachmentsCount>
protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<GetAttachmentCountFluentHelper,AttachmentsCount,AttachmentsCount>
protected org.apache.http.client.methods.HttpUriRequest createRequest(URI uri)
createRequest
in class FluentHelperFunction<GetAttachmentCountFluentHelper,AttachmentsCount,AttachmentsCount>
public AttachmentsCount execute(ErpConfigContext configContext) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
execute
in class FluentHelperBasic<GetAttachmentCountFluentHelper,AttachmentsCount,AttachmentsCount>
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.