public class RenameAttachmentFluentHelper extends Object
Constructor and Description |
---|
RenameAttachmentFluentHelper(String documentInfoRecordDocType,
String documentInfoRecordDocVersion,
String logicalDocument,
String archiveDocumentID,
String businessObjectTypeName,
String linkedSAPObjectKey,
String semanticObject,
String fileName,
String documentInfoRecordDocNumber,
String documentInfoRecordDocPart)
Creates a fluent helper object that will execute the RenameAttachment OData function import with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
AttachmentContent |
execute()
Rename Attachment
|
AttachmentContent |
execute(ErpConfigContext erpConfigContext)
Rename Attachment
|
AttachmentContent |
execute(ErpEndpoint erpEndpoint)
Rename Attachment
|
public RenameAttachmentFluentHelper(String documentInfoRecordDocType, String documentInfoRecordDocVersion, String logicalDocument, String archiveDocumentID, String businessObjectTypeName, String linkedSAPObjectKey, String semanticObject, String fileName, String documentInfoRecordDocNumber, String documentInfoRecordDocPart)
execute
method on the fluent helper object.documentInfoRecordDocType
- Constraints: Nullable, Maximum length: 3fileName
- Constraints: Not nullable, Maximum length: 255documentInfoRecordDocNumber
- Constraints: Nullable, Maximum length: 25documentInfoRecordDocPart
- Constraints: Nullable, Maximum length: 3archiveDocumentID
- Constraints: Not nullable, Maximum length: 40linkedSAPObjectKey
- Constraints: Not nullable, Maximum length: 90businessObjectTypeName
- Constraints: Not nullable, Maximum length: 40documentInfoRecordDocVersion
- Constraints: Nullable, Maximum length: 2semanticObject
- Constraints: Nullable, Maximum length: 40logicalDocument
- Constraints: Not nullable, Maximum length: 32public AttachmentContent 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 AttachmentContent 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 AttachmentContent 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.