[USER CODE SHOULD NOT REFERENCE THIS CLASS]
More...
import"sbILocalDatabaseGUIDArray.idl";
[USER CODE SHOULD NOT REFERENCE THIS CLASS]
Definition at line 81 of file sbILocalDatabaseGUIDArray.idl.
void sbILocalDatabaseGUIDArray::addFilter |
( |
in AString |
aProperty, |
|
|
in nsIStringEnumerator |
aValues, |
|
|
in boolean |
aIsSearch |
|
) |
| |
void sbILocalDatabaseGUIDArray::addSort |
( |
in AString |
aProperty, |
|
|
in boolean |
aAscending |
|
) |
| |
void sbILocalDatabaseGUIDArray::clearFilters |
( |
| ) |
|
void sbILocalDatabaseGUIDArray::clearSorts |
( |
| ) |
|
boolean sbILocalDatabaseGUIDArray::containsGuid |
( |
in AString |
aGuid | ) |
|
Return true if the array contains the given GUID. May be forced to fetch and cache all items.
unsigned long sbILocalDatabaseGUIDArray::getFirstIndexByGuid |
( |
in AString |
aGuid | ) |
|
unsigned long sbILocalDatabaseGUIDArray::getFirstIndexByPrefix |
( |
in AString |
aPrefix | ) |
|
AString sbILocalDatabaseGUIDArray::getGuidByIndex |
( |
in unsigned long |
aIndex | ) |
|
Return the guid at the given index.
- Parameters
-
aIndex | The index of the array |
- Returns
- The guid
- Exceptions
-
NS_ERROR_INVALID_ARG | If the index is out of bounds |
unsigned long sbILocalDatabaseGUIDArray::getIndexByViewItemUID |
( |
in AString |
aViewItemUID | ) |
|
unsigned long sbILocalDatabaseGUIDArray::getMediaItemIdByIndex |
( |
in unsigned long |
aIndex | ) |
|
Return the media item id at the given index.
- Parameters
-
aIndex | The index of the array |
- Returns
- The media item id
- Exceptions
-
NS_ERROR_INVALID_ARG | If the index is out of bounds |
AString sbILocalDatabaseGUIDArray::getOrdinalByIndex |
( |
in unsigned long |
aIndex | ) |
|
Return the ordinal at the given index.
- Parameters
-
aIndex | The index of the array |
- Returns
- The ordinal
- Exceptions
-
NS_ERROR_INVALID_ARG | If the index is out of bounds |
unsigned long long sbILocalDatabaseGUIDArray::getRowidByIndex |
( |
in unsigned long |
aIndex | ) |
|
Return the rowid at the given index.
- Parameters
-
aIndex | The index of the array |
- Returns
- The guid
- Exceptions
-
NS_ERROR_INVALID_ARG | If the index is out of bounds |
AString sbILocalDatabaseGUIDArray::getSortPropertyValueByIndex |
( |
in unsigned long |
aIndex | ) |
|
Return the sortable property value at the given index.
- Parameters
-
aIndex | The index of the array |
- Returns
- The sortable property value
- Exceptions
-
NS_ERROR_INVALID_ARG | If the index is out of bounds |
AString sbILocalDatabaseGUIDArray::getViewItemUIDByIndex |
( |
in unsigned long |
aIndex | ) |
|
Return the viewItemUID for the item at the given index.
- Parameters
-
aIndex | The index of the mediaitem in the array |
- Returns
- The viewItemUID (rowid-mediaItemid)
- Exceptions
-
NS_ERROR_INVALID_ARG | If the index is out of bounds |
void sbILocalDatabaseGUIDArray::invalidate |
( |
in boolean |
aInvalidateLength | ) |
|
Invalidate the contents of the array.
- Parameters
-
aInvalidateLength | - Also invalidates the cached length of the array. |
boolean sbILocalDatabaseGUIDArray::isIndexCached |
( |
in unsigned long |
aIndex | ) |
|
void sbILocalDatabaseGUIDArray::mayInvalidate |
( |
[array, size_is(aCount)] in unsigned long |
aDirtyPropertyIDs, |
|
|
in unsigned long |
aCount |
|
) |
| |
Checks to see if the guid array needs to be invalidated and invalidates if needed.
- Parameters
-
aDirtyPropertyIDs | The list of dirty property ids. This array must best sorted from least to greatest property ID so that it can be binary searched. |
void sbILocalDatabaseGUIDArray::removeByIndex |
( |
in unsigned long |
aIndex | ) |
|
void sbILocalDatabaseGUIDArray::suppressInvalidation |
( |
in boolean |
aSuppress | ) |
|
Counter based invalidation suppression.
- Note
- Don't call this method!
attribute AString sbILocalDatabaseGUIDArray::baseConstraintColumn |
attribute unsigned long sbILocalDatabaseGUIDArray::baseConstraintValue |
attribute AString sbILocalDatabaseGUIDArray::baseTable |
attribute AString sbILocalDatabaseGUIDArray::databaseGUID |
attribute nsIURI sbILocalDatabaseGUIDArray::databaseLocation |
attribute boolean sbILocalDatabaseGUIDArray::distinctWithSortableValues |
If the guid array is distinct, this value will cause the guid array to be filled with the sortable values instead of human redeable values.
Definition at line 104 of file sbILocalDatabaseGUIDArray.idl.
attribute unsigned long sbILocalDatabaseGUIDArray::fetchSize |
attribute boolean sbILocalDatabaseGUIDArray::isDistinct |
readonly attribute boolean sbILocalDatabaseGUIDArray::isValid |
readonly attribute unsigned long sbILocalDatabaseGUIDArray::length |
The documentation for this interface was generated from the following file: