readEntriesLocal(String, String) method

Gets the Entries from the Local cache based on the EntityType and the EntryID.

Syntax

public List< IODataEntry > readEntriesLocal (
    String entityType,
    String entryID
) throws CacheException

Parameters

Exceptions

Remarks

The return type will be an array of Entries

Example 1


Try{

ILogger logger = new  Logger();
ICache cache =new Cache(getApplicationContext(),logger);
List<I ODataEntry> entries = cache.readEntriesLocal("SomeCollection", "EntryID"); // return all entries respective to  either of the parameters.

}
Catch(CacheException e){
}