32 #include "nsISupports.idl"
52 [scriptable,
uuid(3da5df89-9718-4c5e-9494-0d6116ab2bdd)]
100 [scriptable,
uuid(c271cafb-fc06-4e56-bd01-368458117618)]
111 [scriptable,
uuid(37793a91-e229-4642-9c16-290b84e24b87)]
125 [scriptable,
uuid(d9655856-f518-43f1-b096-25f52b0b629e)]
128 void init(in AString aProperty, in
boolean aIsAscending);
boolean equals(in sbILibraryConstraintGroup aOtherGroup)
sbILibraryConstraintBuilder includeList(in AString aProperty, in nsIStringEnumerator aValues)
Adds a property / value pair to the current group for each of the values supplied in the value list...
void init(in AString aProperty, in boolean aIsAscending)
readonly attribute unsigned long groupCount
boolean hasProperty(in AString aProperty)
sbILibraryConstraintBuilder include(in AString aProperty, in AString aValue)
Add a property / value pair to the current group.
sbILibraryConstraintBuilder parseFromString(in AString aSerializedConstraint)
Attempt to parse a serialized constraint description. This expects a string as serialized by sbILibra...
nsIStringEnumerator getValues(in AString aProperty)
boolean equals(in sbILibraryConstraint aOtherConstraint)
A sort that can be applied to a media list view.
sbILibraryConstraintBuilder intersect()
Completes the current group and starts a new one. Each group will be intersected in the result...
sbILibraryConstraintGroup getGroup(in unsigned long aIndex)
readonly attribute boolean isAscending
readonly attribute AString property
readonly attribute nsISimpleEnumerator groups
readonly attribute nsIStringEnumerator properties
sbILibraryConstraintBuilder includeConstraint(in sbILibraryConstraint aConstraint)
Add an existing constraint to the builder.