The Store service provides the following methods for retrieving records:
- retrieveFirstRecord. This method returns the first record, or null if
the table is empty.
- retrieveNextRecord. This method returns the next record from the current
cursor in the STORE table.
- retrieveFirstRecordForForwarding. This method returns the first record
in the STORE table and marks it as retrieved for forwarding (it sets the value
in the record mark column to retrievedForForwarding).
- retrieveNextRecordForForwarding. This method returns the next record from
the current cursor, and marks it as retrievedForForwarding.
- retrieveRecord. This method returns the first record that matches a search
criterion or the record identified by the record id passed as argument.
- retrieveRecordForForwarding. This method returns the first record that
matches the search criterion or the record identification passed as argument,
and marks it as retrievedForForwarding.
- retrieveRecordsForForwarding. This method returns the records that match
a specific search condition and marks them as retrievedForForwarding.