public class GetAttachmentCountFluentHelper extends Object
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 |
---|---|
AttachmentsCount |
execute()
Returns the Count of Attachments
|
AttachmentsCount |
execute(ErpConfigContext erpConfigContext)
Returns the Count of Attachments
|
AttachmentsCount |
execute(ErpEndpoint erpEndpoint)
Returns the Count of Attachments
|
public GetAttachmentCountFluentHelper(String businessObjectTypeName, String linkedSAPObjectKey, String semanticObject)
execute
method on the fluent helper object.linkedSAPObjectKey
- Constraints: Not nullable, Maximum length: 90businessObjectTypeName
- Constraints: Not nullable, Maximum length: 40semanticObject
- Constraints: Nullable, Maximum length: 40public AttachmentsCount execute(ErpEndpoint erpEndpoint) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException, IOException
erpEndpoint
- Supply the ERP system instance for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
IOException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
public AttachmentsCount execute(ErpConfigContext erpConfigContext) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException, IOException
erpConfigContext
- Supply the ERP system context for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
IOException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
public AttachmentsCount execute() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException, IOException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
IOException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
Copyright © 2017 SAP SE. All rights reserved.