sbILocalDatabaseLibrary Interface Reference

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

import"sbILocalDatabaseLibrary.idl";

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

Public Member Functions

void addCopyListener (in sbILocalDatabaseLibraryCopyListener aCopyListener)
 Add a copy listener to this library. More...
 
void removeCopyListener (in sbILocalDatabaseLibraryCopyListener aCopyListener)
 Remove a copy listener from this library. More...
 
ACString getContractIdForGuid (in AString aGuid)
 
unsigned long getMediaItemIdForGuid (in AString aGuid)
 
void NotifyListenersItemUpdated (in sbIMediaItem aItem, in sbIPropertyArray aProperties)
 
void notifyCopyListenersItemCopied (in sbIMediaItem aSourceItem, in sbIMediaItem aDestinationItem)
 
sbIDatabaseQuery createQuery ()
 
void forceBeginUpdateBatch ()
 
void forceEndUpdateBatch ()
 

Public Attributes

readonly attribute AString databaseGuid
 
readonly attribute nsIURI databaseLocation
 Returns the folder in which the database is stored. More...
 
readonly attribute
sbILocalDatabasePropertyCache 
propertyCache
 
readonly attribute
sbLocalDatabaseLibrary 
nativeLibrary
 

Detailed Description

[USER CODE SHOULD NOT REFERENCE THIS CLASS]

Definition at line 56 of file sbILocalDatabaseLibrary.idl.

Member Function Documentation

void sbILocalDatabaseLibrary::addCopyListener ( in sbILocalDatabaseLibraryCopyListener  aCopyListener)

Add a copy listener to this library.

sbIDatabaseQuery sbILocalDatabaseLibrary::createQuery ( )
void sbILocalDatabaseLibrary::forceBeginUpdateBatch ( )

These aren't meant to be called directly. Use sbAutoBatchHelper to avoid the risk of leaving a batch in progress

void sbILocalDatabaseLibrary::forceEndUpdateBatch ( )
ACString sbILocalDatabaseLibrary::getContractIdForGuid ( in AString  aGuid)
unsigned long sbILocalDatabaseLibrary::getMediaItemIdForGuid ( in AString  aGuid)
void sbILocalDatabaseLibrary::notifyCopyListenersItemCopied ( in sbIMediaItem  aSourceItem,
in sbIMediaItem  aDestinationItem 
)
void sbILocalDatabaseLibrary::NotifyListenersItemUpdated ( in sbIMediaItem  aItem,
in sbIPropertyArray  aProperties 
)
void sbILocalDatabaseLibrary::removeCopyListener ( in sbILocalDatabaseLibraryCopyListener  aCopyListener)

Remove a copy listener from this library.

Member Data Documentation

readonly attribute AString sbILocalDatabaseLibrary::databaseGuid

Definition at line 58 of file sbILocalDatabaseLibrary.idl.

readonly attribute nsIURI sbILocalDatabaseLibrary::databaseLocation

Returns the folder in which the database is stored.

This can be null to indicate that the library lives in the default location

Definition at line 65 of file sbILocalDatabaseLibrary.idl.

readonly attribute sbLocalDatabaseLibrary sbILocalDatabaseLibrary::nativeLibrary

Oh My. We need this here to avoid a static cast in sbLocalDatabaseSimpleMediaListFactory where we need a sbLocalDatabaseLibrary class pointer to construct the simple media list. This is better than the static cast since it explicitly requires the implementing class to be able to return a sbLocalDatabaseLibrary pointer.

Definition at line 105 of file sbILocalDatabaseLibrary.idl.

readonly attribute sbILocalDatabasePropertyCache sbILocalDatabaseLibrary::propertyCache

Definition at line 67 of file sbILocalDatabaseLibrary.idl.


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