sbILocalDatabaseSimpleMediaList Interface Reference

[USER CODE SHOULD NOT REFERENCE THIS CLASS] More...

import"sbILocalDatabaseSimpleMediaList.idl";

Inheritance diagram for sbILocalDatabaseSimpleMediaList:
[legend]
Collaboration diagram for sbILocalDatabaseSimpleMediaList:
[legend]

Public Member Functions

unsigned long getIndexByOrdinal (in AString aOrdinal)
 Get the index of an item in this list by its ordinal. More...
 
void invalidate (in boolean aInvalidateLength)
 Tell the list that its underlying datasource has changed. More...
 
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. More...
 
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. More...
 
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. More...
 
void notifyListenersBeforeListCleared (in sbIMediaList aList, in boolean aExcludeLists)
 Notify the simple media list's listeners that it has about to be cleared. More...
 
void notifyListenersListCleared (in sbIMediaList aList, in boolean aExcludeLists)
 Notify the simple media list's listeners that it has been cleared. More...
 
void notifyListenersBatchBegin (in sbIMediaList aList)
 Notify the simple media list's listeners that a batch has begun. More...
 
void notifyListenersBatchEnd (in sbIMediaList aList)
 Notify the simple media list's listeners that a batch has ended. More...
 
void notifyContentChanged ()
 Notify the simple media list that its content was changed via an operation that bypassed listeners (ie, direct write to db) More...
 

Public Attributes

attribute
sbILocalDatabaseMediaListCopyListener 
copyListener
 

Detailed Description

[USER CODE SHOULD NOT REFERENCE THIS CLASS]

Methods and attributes that are specific to the simple media list are implemented here.

See Also
sbIMediaList

Definition at line 61 of file sbILocalDatabaseSimpleMediaList.idl.

Member Function Documentation

unsigned long sbILocalDatabaseSimpleMediaList::getIndexByOrdinal ( in AString  aOrdinal)

Get the index of an item in this list by its ordinal.

Parameters
aOrdinalThe ordinal to look up the index by
Returns
The index of the item with the given ordinal
void sbILocalDatabaseSimpleMediaList::invalidate ( in boolean  aInvalidateLength)

Tell the list that its underlying datasource has changed.

Parameters
aInvalidateLength- Also invalidates the cached length of the array. If you don't know what this means set it to true :)
void sbILocalDatabaseSimpleMediaList::notifyContentChanged ( )

Notify the simple media list that its content was changed via an operation that bypassed listeners (ie, direct write to db)

void sbILocalDatabaseSimpleMediaList::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 sbILocalDatabaseSimpleMediaList::notifyListenersBatchBegin ( in sbIMediaList  aList)

Notify the simple media list's listeners that a batch has begun.

void sbILocalDatabaseSimpleMediaList::notifyListenersBatchEnd ( in sbIMediaList  aList)

Notify the simple media list's listeners that a batch has ended.

void sbILocalDatabaseSimpleMediaList::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 sbILocalDatabaseSimpleMediaList::notifyListenersBeforeListCleared ( in sbIMediaList  aList,
in boolean  aExcludeLists 
)

Notify the simple media list's listeners that it has about to be cleared.

void sbILocalDatabaseSimpleMediaList::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 sbILocalDatabaseSimpleMediaList::notifyListenersListCleared ( in sbIMediaList  aList,
in boolean  aExcludeLists 
)

Notify the simple media list's listeners that it has been cleared.

Member Data Documentation

attribute sbILocalDatabaseMediaListCopyListener sbILocalDatabaseSimpleMediaList::copyListener

Definition at line 63 of file sbILocalDatabaseSimpleMediaList.idl.


The documentation for this interface was generated from the following file: