Defined in comm-central/ mailnews/ base/ search/ public/ nsIMsgFilter.idl
Attributes
type
attribute nsMsgRuleActionType type;
priority
// target priority.. throws an exception if the action is not priority attribute nsMsgPriorityValue priority;
targetFolderUri
// target folder.. throws an exception if the action is not move to folder attribute ACString targetFolderUri;
label
// target label. throws an exception if the action is not label attribute nsMsgLabelValue label;
junkScore
attribute long junkScore;
strValue
attribute AUTF8String strValue;
customId
// action id if type is Custom attribute ACString customId;
customAction
// custom action associated with customId // (which must be set prior to reading this attribute) readonly attribute nsIMsgFilterCustomAction customAction;
Methods
AddTerm()
void nsIMsgFilter::AddTerm
(
in nsMsgSearchAttribValue attrib,
in nsMsgSearchOpValue op,
in nsIMsgSearchValue value,
in boolean BooleanAND,
in ACString arbitraryHeader
)
GetTerm()
void nsIMsgFilter::GetTerm (
in long termIndex,
in nsMsgSearchAttribValue attrib,
in nsMsgSearchOpValue op,
in nsIMsgSearchValue value,
out boolean BooleanAND,
out ACString arbitraryHeader
)
appendTerm()
void nsIMsgFilter::appendTerm (in nsIMsgSearchTerm term)
createTerm()
nsIMsgSearchTerm nsIMsgFilter::createTerm ( )
MatchHdr()
void nsIMsgFilter::MatchHdr
(
in nsIMsgDBHdr msgHdr,
in nsIMsgFolder folder,
in nsIMsgDatabase db,
in string headers,
in unsigned long headerSize,
out boolean result
)
logRuleHit()
void nsIMsgFilter::logRuleHit
(
in nsIMsgRuleAction aFilterAction,
in nsIMsgDBHdr aHeader
)
createAction()
nsIMsgRuleAction nsIMsgFilter::createAction ( )
getActionAt()
nsIMsgRuleAction nsIMsgFilter::getActionAt (in long aIndex)
appendAction()
void nsIMsgFilter::appendAction (in nsIMsgRuleAction action )
clearActionList()
void nsIMsgFilter::clearActionList()
getSortedActionList()
void nsIMsgFilter::getSortedActionList (in nsISupportsArray actionList)
