import "sbILocalDatabaseSimpleMediaList.idl";
Public Member Functions | |
unsigned long | getIndexByOrdinal (in AString aOrdinal) |
Get the index of an item in this list by its ordinal. | |
void | invalidate () |
Tell the list that its underlying datasource has changed. | |
void | notifyListenersItemUpdated (in sbIMediaItem aItem, in unsigned long aIndex, in sbIPropertyArray aProperties) |
Notify this simple media list's listeners that an item has been updated. | |
void | notifyListenersBeforeItemRemoved (in sbIMediaList aList, in sbIMediaItem aItem, in unsigned long aIndex) |
Notify this simple media list's listeners that an item is about to be removed. | |
void | notifyListenersAfterItemRemoved (in sbIMediaList aList, in sbIMediaItem aItem, in unsigned long aIndex) |
Notify this simple media list's listeners that an item has been removed. | |
void | notifyListenersListCleared (in sbIMediaList aList) |
Notify the simple media list's listeners that it has been cleared. | |
void | notifyListenersBatchBegin (in sbIMediaList aList) |
Notify the simple media list's listeners that a batch has begun. | |
void | notifyListenersBatchEnd (in sbIMediaList aList) |
Notify the simple media list's listeners that a batch has ended. | |
void | notifyContentChanged () |
Notify the simple media list that its content was changed via an operation that bypassed listeners (ie, direct write to db). | |
Public Attributes | |
attribute sbILocalDatabaseMediaListCopyListener | copyListener |
Methods and attributes that are specific to the simple media list are implemented here.
Definition at line 61 of file sbILocalDatabaseSimpleMediaList.idl.
unsigned long sbILocalDatabaseSimpleMediaList::getIndexByOrdinal | ( | in AString | aOrdinal | ) |
Get the index of an item in this list by its ordinal.
aOrdinal | The ordinal to look up the index by |