nsIMsgSearchTerm

IID:cc7795ce-1dd1-11b2-9ad2-dfa3c0b6ee09
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

char* arbitraryHeader

nsMsgSearchAttribValue attrib

PRBool beginsGrouping

PRBool booleanAnd

PRBool endsGrouping

readonly PRBool matchAllBeforeDeciding

nsMsgSearchOpValue op

readonly ACString termAsString

nsIMsgSearchValue value


Methods

PRBool matchAge ( PRTime days ) [noscript] PRBool matchArbitraryHeader ( nsIMsgSearchScopeTerm scopeTerm , PRUint32 offset , PRUint32 length , char* charset , PRBool charsetOverride , nsIMsgDBHdr msg , nsIMsgDatabase db , char* headers , PRUint32 headerLength , PRBool forFilters ) PRBool matchBody ( nsIMsgSearchScopeTerm scopeTerm , PRUint32 offset , PRUint32 length , char* charset , nsIMsgDBHdr msg , nsIMsgDatabase db ) PRBool matchDate ( PRTime time ) PRBool matchJunkStatus ( char* junkScore ) PRBool matchLabel ( nsMsgLabelValue labelValue ) PRBool matchPriority ( nsMsgPriorityValue priority ) PRBool matchRfc2047String ( char* string , char* charset , PRBool charsetOverride ) PRBool matchRfc822String ( char* string , char* charset , PRBool charsetOverride ) PRBool matchSize ( PRUint32 size ) PRBool matchStatus ( PRUint32 status )

PRBool matchAge ( PRTime days )

Arguments:
days

PRBool matchArbitraryHeader ( nsIMsgSearchScopeTerm scopeTerm , PRUint32 offset , PRUint32 length , char* charset , PRBool charsetOverride , nsIMsgDBHdr msg , nsIMsgDatabase db , char* headers , PRUint32 headerLength , PRBool forFilters )

Arguments:
scopeTerm
offset
length
charset
charsetOverride
msg
db
headers
headerLength
forFilters

PRBool matchBody ( nsIMsgSearchScopeTerm scopeTerm , PRUint32 offset , PRUint32 length , char* charset , nsIMsgDBHdr msg , nsIMsgDatabase db )

Arguments:
scopeTerm
offset
length
charset
msg
db

PRBool matchDate ( PRTime time )

Arguments:
time

PRBool matchJunkStatus ( char* junkScore )

Arguments:
junkScore

PRBool matchLabel ( nsMsgLabelValue labelValue )

Arguments:
labelValue

PRBool matchPriority ( nsMsgPriorityValue priority )

Arguments:
priority

PRBool matchRfc2047String ( char* string , char* charset , PRBool charsetOverride )

Arguments:
string
charset
charsetOverride

PRBool matchRfc822String ( char* string , char* charset , PRBool charsetOverride )

Arguments:
string
charset
charsetOverride

PRBool matchSize ( PRUint32 size )

Arguments:
size

PRBool matchStatus ( PRUint32 status )

Arguments:
status

References

This interface is passed as an argument to the following methods:

nsIMsgFilter.appendTerm, nsIMsgMailView.appendTerm, nsIMsgSearchSession.appendTerm

This interface is returned from the following methods:

nsIMsgFilter.createTerm, nsIMsgMailView.createTerm, nsIMsgSearchSession.createTerm

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com