32 #include "nsISupports.idl"
43 [scriptable,
uuid(60cc270d-58f9-4cc5-a68c-d16a0139a027)]
64 [scriptable,
uuid(80d33aac-dbb1-44eb-bda8-22c764ab16df)]
80 [scriptable,
uuid(e1b502cc-3e00-4873-bb9b-722cd8a13e99)]
114 void addSort(in AString aProperty,
115 in
boolean aAscending);
123 in
boolean aIsSearch);
182 void invalidate(in
boolean aInvalidateLength);
AString getOrdinalByIndex(in unsigned long aIndex)
Return the ordinal at the given index.
attribute boolean distinctWithSortableValues
If the guid array is distinct, this value will cause the guid array to be filled with the sortable va...
[USER CODE SHOULD NOT REFERENCE THIS CLASS]
void invalidate(in boolean aInvalidateLength)
Invalidate the contents of the array.
AString getSortPropertyValueByIndex(in unsigned long aIndex)
Return the sortable property value at the given index.
attribute sbILocalDatabaseGUIDArrayListener listener
boolean containsGuid(in AString aGuid)
Return true if the array contains the given GUID. May be forced to fetch and cache all items...
attribute unsigned long baseConstraintValue
void removeByIndex(in unsigned long aIndex)
[USER CODE SHOULD NOT REFERENCE THIS CLASS]
void onAfterInvalidate()
Called right after underlying GUID array is invalidated.
[USER CODE SHOULD NOT REFERENCE THIS CLASS]
attribute AString baseConstraintColumn
void removeCachedNonNullLength(in AString aKey)
unsigned long getCachedLength(in AString aKey)
void onBeforeInvalidate(in boolean aInvalidateLength)
Called before underlying GUID array is invalidated.
attribute AString databaseGUID
attribute sbILocalDatabaseGUIDArrayLengthCache lengthCache
attribute boolean isDistinct
AString getGuidByIndex(in unsigned long aIndex)
Return the guid at the given index.
unsigned long long getRowidByIndex(in unsigned long aIndex)
Return the rowid at the given index.
unsigned long getFirstIndexByPrefix(in AString aPrefix)
readonly attribute sbIPropertyArray currentSort
attribute sbILocalDatabasePropertyCache propertyCache
void suppressInvalidation(in boolean aSuppress)
Counter based invalidation suppression.
unsigned long getFirstIndexByGuid(in AString aGuid)
void addSort(in AString aProperty, in boolean aAscending)
readonly attribute unsigned long length
sbILocalDatabaseGUIDArray clone()
attribute nsIURI databaseLocation
void 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.
void addCachedNonNullLength(in AString aKey, in unsigned long aLength)
unsigned long getMediaItemIdByIndex(in unsigned long aIndex)
Return the media item id at the given index.
AString getViewItemUIDByIndex(in unsigned long aIndex)
Return the viewItemUID for the item at the given index.
boolean isIndexCached(in unsigned long aIndex)
void removeCachedLength(in AString aKey)
[USER CODE SHOULD NOT REFERENCE THIS CLASS]
unsigned long getCachedNonNullLength(in AString aKey)
void addFilter(in AString aProperty, in nsIStringEnumerator aValues, in boolean aIsSearch)
readonly attribute boolean isValid
void cloneInto(in sbILocalDatabaseGUIDArray aDest)
restoreHistoryPrecursor aCount
void addCachedLength(in AString aKey, in unsigned long aLength)
An interface to carry around arrays of nsIProperty instances. Users of this interface should only QI ...
unsigned long getIndexByViewItemUID(in AString aViewItemUID)
attribute unsigned long fetchSize
attribute AString baseTable