Developer

Read Operations

Perform Read operations on an ODataEntity or an ODataEntitySet from OData or JSON service connections.

Procedure

An ODataEntity or an ODataEntitySet can be read with the following operations:
//Aynchronous methods:
// Reading entity set (feed)
	public ODataRequestExecution scheduleReadEntitySet(String resourcePath, ODataRequestListener listener, Map<String, String> options) throws ODataException;

// Reading one entity 
	public ODataRequestExecution scheduleReadEntity(String resourcePath, ODataRequestListener listener, Map<String, String> options) throws ODataException;

// Reading one entity 
	public ODataRequestExecution scheduleReadEntity(ODataEntity entity, ODataRequestListener listener, Map<String, String> options) throws ODataException;

// Synchronous methods:
// Reading entity set (feed)
	public ODataResponseSingle executeReadEntitySet(String resourcePath, Map<String, String> options) throws ODataException;

// Reading one entity 
	public ODataResponseSingle executeReadEntity(String resourcePath, Map<String, String> options) throws ODataException;

// Reading one entity 
	public ODataResponseSingle executeReadEntity(ODataEntity entity, Map<String, String> options) throws ODataException;