Class CreateUrlAsAttachmentFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionCreateUrlAsAttachmentFluentHelper(String servicePath, 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.CreateUrlAsAttachmentFluentHelper(String servicePath, String semanticObject, String linkedSAPObjectKey, String businessObjectTypeName, String url, String urlDescription, String mIMEType, String sAPObjectNodeType, String sAPObjectType, String harmonizedDocumentType) Creates a fluent helper object that will execute the CreateUrlAsAttachment OData function import with the provided parameters. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.client.methods.HttpUriRequestcreateRequest(URI uri) executeRequest(HttpDestinationProperties destination) Execute this function import.protected Class<AttachmentContent>protected Stringprotected com.google.gson.JsonElementrefineJsonResponse(com.google.gson.JsonElement jsonElement) Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperFunction
executeMultiple, executeSingle, getCsrfTokenRetriever, toRequest, withCsrfToken, withoutCsrfTokenMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
getHeaders, getParametersForRequestOnly, getServicePath, getThis, withHeader, withHeaders, withQueryParameter
-
Constructor Details
-
CreateUrlAsAttachmentFluentHelper
public CreateUrlAsAttachmentFluentHelper(@Nonnull String servicePath, @Nullable String semanticObject, @Nonnull String linkedSAPObjectKey, @Nullable String businessObjectTypeName, @Nonnull String url, @Nonnull String urlDescription, @Nonnull String mIMEType) Creates a fluent helper object that will execute the CreateUrlAsAttachment OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
servicePath- Service path to be used to call the functions against.linkedSAPObjectKey- LinkedSAPObjectKeyConstraints: Not nullable, Maximum length: 90
Original parameter name from the Odata EDM: LinkedSAPObjectKey
businessObjectTypeName- BusinessObjectTypeNameConstraints: 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: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: SemanticObject
url- UrlConstraints: Not nullable, Maximum length: 4096
Original parameter name from the Odata EDM: Url
mIMEType- MIMETypeConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: MIMEType
-
CreateUrlAsAttachmentFluentHelper
public CreateUrlAsAttachmentFluentHelper(@Nonnull String servicePath, @Nullable String semanticObject, @Nonnull String linkedSAPObjectKey, @Nullable String businessObjectTypeName, @Nonnull String url, @Nonnull String urlDescription, @Nonnull String mIMEType, @Nullable String sAPObjectNodeType, @Nullable String sAPObjectType, @Nullable String harmonizedDocumentType) Creates a fluent helper object that will execute the CreateUrlAsAttachment OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
servicePath- Service path to be used to call the functions against.linkedSAPObjectKey- LinkedSAPObjectKeyConstraints: Not nullable, Maximum length: 90
Original parameter name from the Odata EDM: LinkedSAPObjectKey
businessObjectTypeName- BusinessObjectTypeNameConstraints: 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: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: SemanticObject
sAPObjectType- SAPObjectTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: SAPObjectType
harmonizedDocumentType- HarmonizedDocumentTypeConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: HarmonizedDocumentType
sAPObjectNodeType- SAPObjectNodeTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: SAPObjectNodeType
url- UrlConstraints: Not nullable, Maximum length: 4096
Original parameter name from the Odata EDM: Url
mIMEType- MIMETypeConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: MIMEType
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<CreateUrlAsAttachmentFluentHelper,AttachmentContent, AttachmentContent>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<CreateUrlAsAttachmentFluentHelper,AttachmentContent, AttachmentContent>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) -
getParameters
- Specified by:
getParametersin classFluentHelperFunction<CreateUrlAsAttachmentFluentHelper,AttachmentContent, AttachmentContent>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<CreateUrlAsAttachmentFluentHelper,AttachmentContent, AttachmentContent>
-
executeRequest
Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<CreateUrlAsAttachmentFluentHelper,AttachmentContent, AttachmentContent>
-