WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIMsgThread

IID:1a32967f-0b80-4b20-a046-716d0f3e69bf
Inherits From:nsISupports

Properties

PRUint32 flags

PRUint32 newestMsgDate

readonly PRUint32 numChildren

readonly PRUint32 numUnreadChildren

ACString subject

nsMsgKey threadKey


Methods

void addChild ( nsIMsgDBHdr child , nsIMsgDBHdr inReplyTo , PRBool threadInThread , nsIDBChangeAnnouncer announcer ) nsISimpleEnumerator enumerateMessages ( nsMsgKey parent ) nsIMsgDBHdr getChild ( nsMsgKey msgKey ) nsIMsgDBHdr getChildAt ( PRInt32 index ) nsIMsgDBHdr getChildHdrAt ( PRInt32 index ) nsMsgKey getChildKeyAt ( PRInt32 index ) nsIMsgDBHdr getFirstUnreadChild ( ) nsIMsgDBHdr getRootHdr ( out PRInt32 index ) void markChildRead ( PRBool bRead ) void removeChildAt ( PRInt32 index ) void removeChildHdr ( nsIMsgDBHdr child , nsIDBChangeAnnouncer announcer )

void addChild ( nsIMsgDBHdr child , nsIMsgDBHdr inReplyTo , PRBool threadInThread , nsIDBChangeAnnouncer announcer )

Arguments:
child
inReplyTo
threadInThread
announcer

nsISimpleEnumerator enumerateMessages ( nsMsgKey parent )

Arguments:
parent

nsIMsgDBHdr getChild ( nsMsgKey msgKey )

Arguments:
msgKey

nsIMsgDBHdr getChildAt ( PRInt32 index )

Arguments:
index

nsIMsgDBHdr getChildHdrAt ( PRInt32 index )

Arguments:
index

nsMsgKey getChildKeyAt ( PRInt32 index )

Arguments:
index

nsIMsgDBHdr getFirstUnreadChild ( )


nsIMsgDBHdr getRootHdr ( out PRInt32 index )

Arguments:
index

void markChildRead ( PRBool bRead )

Arguments:
bRead

void removeChildAt ( PRInt32 index )

Arguments:
index

void removeChildHdr ( nsIMsgDBHdr child , nsIDBChangeAnnouncer announcer )

Arguments:
child
announcer

References

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

nsIMsgDatabase.MarkThreadIgnored, nsIMsgDatabase.MarkThreadRead, nsIMsgDatabase.MarkThreadWatched, nsIMsgFolder.markThreadRead

This interface is returned from the following methods:

nsIMsgDatabase.GetThreadContainingMsgHdr

Reference documentation is generated from Mozilla's source.