Package | Description |
---|---|
com.sap.cloud.sdk.datamodel.odata.helper | |
com.sap.cloud.sdk.datamodel.odata.helper.batch |
Modifier and Type | Class and Description |
---|---|
class |
FluentHelperByKey<FluentHelperT,EntityT extends VdmEntity<?>,SelectableT>
Representation of an OData request to retrieve an entity by its key as a fluent interface for further configuring the
request and
executing it. |
class |
FluentHelperCreate<FluentHelperT,EntityT extends VdmEntity<?>>
Representation of an OData create request as a fluent interface for further configuring the request and
executing it. |
class |
FluentHelperDelete<FluentHelperT,EntityT extends VdmEntity<?>>
Representation of an OData delete request as a fluent interface for further configuring the request and
executing it. |
class |
FluentHelperRead<FluentHelperT,EntityT extends VdmEntity<?>,SelectableT>
Representation of an OData query as a fluent interface for further configuring the request and
executing it. |
class |
FluentHelperUpdate<FluentHelperT,EntityT extends VdmEntity<?>>
Representation of an OData update request as a fluent interface for further configuring the request and
executing it. |
class |
ModificationResponse<EntityT extends VdmEntity<?>>
Generic OData service response wrapper for data modification requests.
|
class |
VdmEntityUtil<EntityT extends VdmEntity<?>>
Utility class to manage OData entity deserialization.
|
Modifier and Type | Method and Description |
---|---|
<ParentEntityT extends VdmEntity<?>> |
FluentHelperCreate.asChildOf(ParentEntityT entity,
EntityLink<? extends EntityLink<?,ParentEntityT,EntityT>,ParentEntityT,EntityT> entityLink)
This function allows to create a new entity via an existing parent entity.
|
static <EntityT extends VdmEntity<?>> |
ModificationResponse.of(ODataRequestResultGeneric result,
EntityT originalRequestEntity,
HttpDestinationProperties destination) |
Modifier and Type | Method and Description |
---|---|
protected <EntityT extends VdmEntity<EntityT>> |
BatchChangeSetFluentHelperBasic.addRequestCreate(Function<EntityT,FluentHelperCreate<?,EntityT>> serviceMethod,
EntityT entity)
Add a create operation to the current changeset request.
|
protected <EntityT extends VdmEntity<EntityT>> |
BatchChangeSetFluentHelperBasic.addRequestDelete(Function<EntityT,FluentHelperDelete<?,EntityT>> serviceMethod,
EntityT entity)
Add a delete operation to the current changeset request.
|
protected <EntityT extends VdmEntity<EntityT>> |
BatchChangeSetFluentHelperBasic.addRequestUpdate(Function<EntityT,FluentHelperUpdate<?,EntityT>> serviceMethod,
EntityT entity)
Add an update operation to the current changeset request.
|
<EntityT extends VdmEntity<?>> |
DefaultBatchResponseResult.getReadResult(FluentHelperByKey<?,EntityT,?> helper) |
default <EntityT extends VdmEntity<?>> |
BatchResponse.getReadResult(FluentHelperByKey<?,EntityT,?> helper)
Convenience method to get the result for a read-by-key request on the OData batch response.
|
<EntityT extends VdmEntity<?>> |
DefaultBatchResponseResult.getReadResult(FluentHelperRead<?,EntityT,?> helper) |
default <EntityT extends VdmEntity<?>> |
BatchResponse.getReadResult(FluentHelperRead<?,EntityT,?> helper)
Convenience method to get the result for a read request on the OData batch response.
|
Modifier and Type | Method and Description |
---|---|
List<VdmEntity<?>> |
BatchResponseChangeSet.getCreatedEntities()
Get all newly created entities from this changeset.
|
Copyright © 2021 SAP SE. All rights reserved.