|
abstract
BaseResponse
|
callFunction(EdmFunctionImport name, Map<String, OFunctionParameter> params, QueryInfo queryInfo)
Call a function (aka Service Operation)
|
|
abstract
void
|
close()
Releases any resources managed by this producer.
|
|
abstract
EntityResponse
|
createEntity(String entitySetName, OEntity entity)
Creates a new OData entity.
|
|
abstract
EntityResponse
|
createEntity(String entitySetName, OEntityKey entityKey, String navProp, OEntity entity)
Creates a new OData entity as a reference of an existing entity, implicitly linked to the existing entity by a navigation property.
|
|
abstract
void
|
createLink(OEntityId sourceEntity, String targetNavProp, OEntityId targetEntity)
Creates a link between two entities.
|
|
abstract
void
|
deleteEntity(String entitySetName, OEntityKey entityKey)
Deletes an existing entity.
|
|
abstract
void
|
deleteLink(OEntityId sourceEntity, String targetNavProp, OEntityKey targetEntityKey)
Deletes an existing link between two entities.
|
|
abstract
EntitiesResponse
|
getEntities(String entitySetName, QueryInfo queryInfo)
Gets all the entities for a given set matching the query information.
|
|
abstract
CountResponse
|
getEntitiesCount(String entitySetName, QueryInfo queryInfo)
Gets the count of all the entities for a given set matching the query information.
|
|
abstract
EntityResponse
|
getEntity(String entitySetName, OEntityKey entityKey, EntityQueryInfo queryInfo)
Obtains a single entity based on its type and key.
|
|
abstract
EntityIdResponse
|
getLinks(OEntityId sourceEntity, String targetNavProp)
Returns the value of an entity's navigation property as a collection of entity links (or a single link if the association cardinality is 1).
|
|
abstract
EdmDataServices
|
getMetadata()
Obtains the service metadata for this producer.
|
|
abstract
MetadataProducer
|
getMetadataProducer()
Obtains the ODataProducer implementation that serves the metadata as
OData EDM constructs.
|
|
abstract
BaseResponse
|
getNavProperty(String entitySetName, OEntityKey entityKey, String navProp, QueryInfo queryInfo)
Given a specific entity, follow one of its navigation properties, applying constraints as appropriate.
|
|
abstract
CountResponse
|
getNavPropertyCount(String entitySetName, OEntityKey entityKey, String navProp, QueryInfo queryInfo)
Given a specific entity, follow one of its navigation properties, applying constraints as appropriate.
|
|
abstract
void
|
mergeEntity(String entitySetName, OEntity entity)
Modifies an existing entity using merge semantics.
|
|
abstract
void
|
updateEntity(String entitySetName, OEntity entity)
Modifies an existing entity using update semantics.
|
|
abstract
void
|
updateLink(OEntityId sourceEntity, String targetNavProp, OEntityKey oldTargetEntityKey, OEntityId newTargetEntity)
Replaces an existing link between two entities.
|