public interface RecordListener
RecordStore.addRecordListener(javax.microedition.rms.RecordListener)
Modifier and Type | Method and Description |
---|---|
void |
recordAdded(RecordStore recordStore,
int recordId)
Called after a record has been added to a record store.
|
void |
recordChanged(RecordStore recordStore,
int recordId)
Called after a record in a record store has been changed.
|
void |
recordDeleted(RecordStore recordStore,
int recordId)
Called after a record has been deleted from a record store.
|
void recordAdded(RecordStore recordStore, int recordId)
recordStore
- the RecordStore
in which the record is storedrecordId
- the recordId
of the record that has been addedvoid recordChanged(RecordStore recordStore, int recordId)
recordStore
- the RecordStore
in which the record is storedrecordId
- the recordId
of the record that has been changedvoid recordDeleted(RecordStore recordStore, int recordId)
InvalidRecordIDException
will be thrown.recordStore
- the RecordStore
in which the record was storedrecordId
- the recordId
of the record that has been deletedCopyright (c) 2014, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.