| org.odata4j.consumer.ODataConsumer |
Known Indirect Subclasses
|
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ODataConsumer.Dump | Sends http request and/or response information to standard out. | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| dump | Sends http request and/or response information to standard out. | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Call a server-side function (also known as a service operation).
| |||||||||||
Creates a request to perform batch operations
| |||||||||||
Creates a new entity in the given entity-set.
| |||||||||||
Creates a new related entity link between two entities.
| |||||||||||
Deletes an existing entity.
| |||||||||||
Deletes an existing entity.
| |||||||||||
Deletes an existing entity.
| |||||||||||
Deletes related entity links between two entities by navigation property.
| |||||||||||
Gets entities from the given entity-set.
| |||||||||||
Gets entities from the given entity-set.
| |||||||||||
Gets entities referred to by the given related-entities link.
| |||||||||||
Gets the entity by entity-set name and entity-key value.
| |||||||||||
Gets the latest version of an entity using the given entity as a template.
| |||||||||||
Gets the entity referred to by the given related entity link.
| |||||||||||
Gets the entity by entity-set name and entity-key.
| |||||||||||
Gets the entity by entity-set name and entity-key.
| |||||||||||
Gets the entity by entity-set name and entity-key value.
| |||||||||||
Lists all top-level entity-sets for the OData service.
| |||||||||||
Gets related entity links for a given source entity by navigation property.
| |||||||||||
Gets the OData service metadata.
| |||||||||||
Gets the OData service uri.
| |||||||||||
Modifies an existing entity using merge semantics.
| |||||||||||
Modifies an existing entity using merge semantics.
| |||||||||||
Modifies an existing entity using merge semantics.
| |||||||||||
Modifies an existing entity using update semantics.
| |||||||||||
Updates related entity links between two entities by navigation property.
| |||||||||||
Sends http request and/or response information to standard out. Useful for debugging.
Call a server-side function (also known as a service operation).
The functioncall-request builder returned can be used to add parameters. Call execute() to issue request.
| functionName | The function name |
|---|
Creates a request to perform batch operations
| url |
|---|
Creates a new entity in the given entity-set.
The create-request builder returned can be used to construct the new entity. Call OCreateRequest#execute() to issue request.
| entitySetName | The name of the entity-set |
|---|
Creates a new related entity link between two entities.
Call execute() on the returned request builder to issue request.
| sourceEntity | The entity to start from |
|---|---|
| targetNavProp | The relationship navigation property |
| targetEntity | The entity to use as the target of the relationship |
Deletes an existing entity.
The entity-request builder returned can be used for further navigation. Call execute() to issue request.
| entitySetName | The entity identity entity-set name |
|---|---|
| keyValue | The entity identity key value |
| keyIsGuid | True if the key is a guid |
Deletes an existing entity.
The entity-request builder returned can be used for further navigation. Call execute() to issue request.
| entity | The entity identity |
|---|
Deletes an existing entity.
The entity-request builder returned can be used for further navigation. Call execute() to issue request.
| entitySetName | The entity identity entity-set name |
|---|---|
| key | The entity identity key |
Deletes related entity links between two entities by navigation property.
Call execute() on the returned request builder to issue request.
| sourceEntity | The entity to start from |
|---|---|
| targetNavProp | The relationship navigation property |
| targetKeyValues | The target entity-key, applicable if the navigation property represents a collection |
Gets entities from the given entity-set. The entities will be represented as the given java-type.
The query-request builder returned can be used for further server-side filtering. Call execute() or simply iterate to issue request.
| entityType | The entity representation as a java type |
|---|---|
| entitySetHref | The entity-set href |
Gets entities from the given entity-set.
The query-request builder returned can be used for further server-side filtering. Call execute() or simply iterate to issue request.
| entitySetHref | The entity-set href |
|---|
Gets entities referred to by the given related-entities link.
The query-request builder returned can be used for further server-side filtering. Call execute() or simply iterate to issue request.
| link | The link |
|---|
Gets the entity by entity-set name and entity-key value.
The entity-request builder returned can be used for further navigation. Call execute() to issue request.
| entitySetName | The name of the entity-set |
|---|---|
| keyValue | The entity-key value |
Gets the latest version of an entity using the given entity as a template.
The entity-request builder returned can be used for further navigation. Call execute() to issue request.
| entity | An existing entity to use as a template, using its entity-set and entity-key |
|---|
Gets the entity referred to by the given related entity link.
The entity-request builder returned can be used for further navigation. Call execute() to issue request.
| link | The link |
|---|
Gets the entity by entity-set name and entity-key.
The entity-request builder returned can be used for further navigation. Call execute() to issue request.
| entitySetName | The name of the entity-set |
|---|---|
| key | The entity-key |
Gets the entity by entity-set name and entity-key. The entity will be represented as the given java-type.
The entity-request builder returned can be used for further navigation. Call execute() to issue request.
| entityType | The entity representation as a java type |
|---|---|
| entitySetName | The name of the entity-set |
| key | The entity-key |
Gets the entity by entity-set name and entity-key value. The entity will be represented as the given java-type.
The entity-request builder returned can be used for further navigation. Call execute() to issue request.
| entityType | The entity representation as a java type |
|---|---|
| entitySetName | The name of the entity-set |
| keyValue | The entity-key value |
Lists all top-level entity-sets for the OData service.
Gets related entity links for a given source entity by navigation property.
The entityid-request builder returned can be used for further server-side filtering. Call execute() to issue request.
| sourceEntity | The entity to start from |
|---|---|
| targetNavProp | The relationship navigation property |
Gets the OData service metadata.
Gets the OData service uri.
e.g. http://services.odata.org/Northwind/Northwind.svc/
Modifies an existing entity using merge semantics.
The modification-request builder returned can be used to modify the new entity. Call OModifyRequest#execute() to issue request.
| entitySetName | The entity identity entity-set name |
|---|---|
| keyValue | The entity identity key value |
| keyIsGuid | True if the key is a guid |
Modifies an existing entity using merge semantics.
The modification-request builder returned can be used to modify the new entity. Call OModifyRequest#execute() to issue request.
| entity | The entity identity |
|---|
Modifies an existing entity using merge semantics.
The modification-request builder returned can be used to modify the new entity. Call OModifyRequest#execute() to issue request.
| entitySetName | The entity identity entity-set name |
|---|---|
| key | The entity identity key |
Modifies an existing entity using update semantics.
The modification-request builder returned can be used to redefine the new entity. Call OModifyRequest#execute() to issue request.
| entity | The entity identity |
|---|
Updates related entity links between two entities by navigation property.
Call execute() on the returned request builder to issue request.
| sourceEntity | The entity to start from |
|---|---|
| newTargetEntity | The entity to use as the new target of the relationship |
| targetNavProp | The relationship navigation property |
| oldTargetKeyValues | The target entity-key, applicable if the navigation property represents a collection |