public class RenameAttachmentFluentHelper extends FluentHelperFunction<RenameAttachmentFluentHelper,AttachmentContent,AttachmentContent>
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(ErpEndpoint erpEndpoint)
Executes the underlying query using the stored values, plus any query modifiers that were previously called.
|
execute, execute
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: 3Original parameter name from the Odata EDM: DocumentInfoRecordDocType
fileName
- Constraints: Not nullable, Maximum length: 255Original parameter name from the Odata EDM: FileName
documentInfoRecordDocNumber
- Constraints: Nullable, Maximum length: 25Original parameter name from the Odata EDM: DocumentInfoRecordDocNumber
documentInfoRecordDocPart
- Constraints: Nullable, Maximum length: 3Original parameter name from the Odata EDM: DocumentInfoRecordDocPart
archiveDocumentID
- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: ArchiveDocumentID
linkedSAPObjectKey
- Constraints: Not nullable, Maximum length: 90Original parameter name from the Odata EDM: LinkedSAPObjectKey
businessObjectTypeName
- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: BusinessObjectTypeName
documentInfoRecordDocVersion
- Constraints: Nullable, Maximum length: 2Original parameter name from the Odata EDM: DocumentInfoRecordDocVersion
semanticObject
- Constraints: Nullable, Maximum length: 40Original parameter name from the Odata EDM: SemanticObject
logicalDocument
- Constraints: Not nullable, Maximum length: 32Original parameter name from the Odata EDM: LogicalDocument
public AttachmentContent execute(ErpEndpoint erpEndpoint) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
execute
in class FluentHelperBasic<RenameAttachmentFluentHelper,AttachmentContent,AttachmentContent>
erpEndpoint
- Supply the ERP system instance for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
Copyright © 2018 SAP SE. All rights reserved.