25 #include "nsISupports.idl"
38 [scriptable,
uuid(736df4ca-1dd2-11b2-adeb-b4366f783780)]
112 attribute AString
id;
230 [scriptable,
uuid(2c5553c0-8f2e-11dd-ad8b-0800200c9a66)]
259 [scriptable,
uuid(66d736f5-057e-4537-98f9-df2e1b560a13)]
313 [scriptable,
uuid(b8d0b930-8aab-4afa-969
d-3a5dca7ea536)]
328 [scriptable,
uuid(4e09ff7d-732c-4d5f-9d61-2ff0c626c40a)]
397 [scriptable,
uuid(c353b0a3-f715-4001-ae1b-f39f3a0591fa)]
438 [scriptable,
uuid(154e77d3-6750-4f4c-a070-473bb7645381)]
452 [scriptable,
uuid(f16351be-db4c-400a-8ee0-b135113f02dd)]
464 [scriptable,
uuid(ecd56b59-906a-44c9-ac24-3345f1b70b10)]
const unsigned long RADIX_10
Signed decimal representation (eg. 14 decimal)
readonly attribute AString OPERATOR_GREATER
readonly attribute AString OPERATOR_NOTONDATE
readonly attribute AString OPERATOR_CONTAINS
The property information specific to date/time fields.
readonly attribute sbIPropertyUnitConverter unitConverter
A unit converter to convert to and from the units in which the property can be expressed.
readonly attribute AString OPERATOR_ENDSWITH
attribute long long maxDateTime
A maximum datetime value to enforce when validating. If you do not wish to use this, set it to 0.
attribute nsISimpleEnumerator operators
True if this property has a selection list.
attribute long long minDateTime
A minimum datetime value to enforce when validating. If you do not wish to use this, set it to 0.
attribute boolean enforceLowercase
Must be lowercase (only valid for languages where this applies)
attribute AString constrainScheme
Constrain URI to a specific scheme as per RFC 2396. Some quick examples: file, http, ftp.
The property information specific to URL/URI fields.
readonly attribute AString OPERATOR_BEFOREORONDATE
attribute unsigned long minLength
Minimum length of string.
readonly attribute AString OPERATOR_NOTINTHELAST
const unsigned long SORT_NULL_LAST
Null values always last.
attribute AString modePropertyName
Minimum value allowed.
const long TIMETYPE_TIME
HH:mm:ss.ms, in localized format. Limited to 24 hour days.
attribute boolean usedInIdentity
This attribute indicates that changing this property may change the computed hash for the item...
const long TIMETYPE_DATETIME
Long date format, 2007-03-28 12:33:01 , no milliseconds.
The property information specific to date/time fields.
readonly attribute AString OPERATOR_BETWEEN
The property information specific to numeric fields.
attribute AString localizationKey
Key used to find related localization strings.
const long TIMETYPE_DATE
2007-03-28 , in localized format
const unsigned long RADIX_8
Unsigned octal representation (eg. 16, or 14 decimal).
readonly attribute AString OPERATOR_AFTERDATE
attribute long long maxDuration
A maximum duration value to enforce when validating. If you do not wish to use this, set it to 0.
attribute unsigned long maxLength
Maximum length of string.
readonly attribute AString OPERATOR_GREATEREQUAL
attribute boolean userViewable
A user may view this property. This does not impede reading the value, it's merely meant as a guideli...
const unsigned long RADIX_16
Unsigned hex representation (eg. 0x0E, or 14 decimal)
readonly attribute AString OPERATOR_BETWEENDATES
readonly attribute AString OPERATOR_NOTCONTAINS
attribute AString type
The type property.
readonly attribute AString OPERATOR_ONDATE
readonly attribute AString OPERATOR_EQUALS
An interface to represent an operator that may act upon a property.
attribute long timeType
You must initialize this attribute before using this object. If you do not, all methods on this objec...
AString makeSearchable(in AString aValue)
Formats the value to enable proper search.
readonly attribute AString OPERATOR_NOTEQUALS
attribute sbIPropertyArray secondarySort
When sorting by this property, additionally sort by the following properties.
const unsigned long SORT_NULL_SMALL
Causes null values to be infinitely small. This is the default.
The property information specific to text fields.
An interface used to describe a metadata property for use by the UI and other sbILibrary interfaces (...
const long TIMETYPE_UNINITIALIZED
readonly attribute AString OPERATOR_BEGINSWITH
attribute unsigned long nullSort
Set where NULL values get sorted to.
readonly attribute AString OPERATOR_LESS
sbIPropertyOperator getOperator(in AString aOperator)
Get the sbIPropertyOperator for the given operator string.
AString makeSortable(in AString aValue)
Transforms the string into its sortable collation data equivalent.
An interface used to recognize a dummy metadata property.
attribute boolean durationWithMilliseconds
Cause the formatting to display milliseconds.
readonly attribute AString OPERATOR_ISFALSE
attribute long long minValue
Minimum value allowed.
attribute boolean remoteReadable
A web site may read the value of this property.
readonly attribute AString OPERATOR_ISSET
readonly attribute AString OPERATOR_LESSEQUAL
Property unit converter interface This is an interface songbird property converter, used to convert a property value between its various units representations.
attribute AString displayName
Localized display name of this property.
attribute boolean userEditable
A user may edit this property. This does not impede editing the value, it's merely meant as a guideli...
attribute long long maxValue
Minimum value allowed.
AString sanitize(in AString aValue)
Sanitize a value so that it passes validation.
The property information specific to boolean properties.
attribute AString id
Unique ID for this property.
attribute boolean remoteWritable
A web site may write the value of this property.
attribute long long minDuration
A minimum duration value to enforce when validating. If you do not wish to use this, set it to 0.
readonly attribute AString OPERATOR_ISNOTSET
readonly attribute AString OPERATOR_INTHELAST
const unsigned long FLOAT
Signed floating point representation (eg. 14.89)
attribute unsigned long radix
Radix (must be RADIX_8, RADIX_10, RADIX_16 or FLOAT).
readonly attribute AString OPERATOR_NOTBEGINSWITH
const unsigned long SORT_NULL_FIRST
Null values always first.
const unsigned long SORT_NULL_BIG
Causes null values to be infinitely large.
attribute double minFloatValue
Minimum floating point value allowed if number property is a float.
AString format(in AString aValue)
Formats the value for display.
An interface to carry around arrays of nsIProperty instances. Users of this interface should only QI ...
The property information specific to progressmeters.
const long TIMETYPE_TIMESTAMP
Timestamp format, respects unix time, microsecond format.
readonly attribute AString OPERATOR_ISTRUE
readonly attribute AString OPERATOR_NOTENDSWITH
attribute boolean noCompressWhitespace
The property value should not be formatted.
attribute double maxFloatValue
Maximum float point value allowed if a number property is a float.
readonly attribute AString OPERATOR_AFTERORONDATE
boolean validate(in AString aValue)
Validates the string for this property type.
attribute boolean durationInverse
Causes the formatting to display from -xx:xx:xx to 0 instead of 0 to xx:xx:xx.
readonly attribute AString OPERATOR_BEFOREDATE