public class AttachmentCreateFluentHelper extends FluentHelperCreate<AttachmentCreateFluentHelper,Attachment>
Attachment
entity and save it to the S/4HANA system.
To perform execution, call the execute
method on the fluent helper object.
Constructor and Description |
---|
AttachmentCreateFluentHelper(String servicePath,
Attachment entity)
Creates a fluent helper object that will create a
Attachment entity on the
OData endpoint. |
Modifier and Type | Method and Description |
---|---|
protected Attachment |
getEntity()
Getter for the VDM representation of the entity to be created.
|
asChildOf, execute, getEntityClass, getQueryBuilder, toQuery, withErrorHandler
cachingMetadata, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getParametersForRequestOnly, getServicePath, getThis, getVersionIdentifier, isCachingMetadata, withHeader, withHeaders, withoutCachingMetadata, withQueryParameter
public AttachmentCreateFluentHelper(@Nonnull String servicePath, @Nonnull Attachment entity)
Attachment
entity on the
OData endpoint. To perform execution, call the execute
method on the fluent helper object.servicePath
- The service path to direct the create requests to.entity
- The Attachment to create.@Nonnull protected Attachment getEntity()
FluentHelperCreate
getEntity
in class FluentHelperCreate<AttachmentCreateFluentHelper,Attachment>
FluentHelperCreate.execute(HttpDestinationProperties)
method.Copyright © 2020 SAP SE. All rights reserved.