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