public final class RulePredicates extends ComplexProperty
Modifier | Constructor and Description |
---|---|
protected |
RulePredicates()
Initializes a new instance of the RulePredicates class.
|
Modifier and Type | Method and Description |
---|---|
StringList |
getCategories()
Gets the categories that an incoming message
should be stamped with for the condition or exception to apply.
|
StringList |
getContainsBodyStrings()
Gets the strings that should appear in the body of
incoming messages for the condition or exception to apply.
|
StringList |
getContainsHeaderStrings()
Gets the strings that should appear in the
headers of incoming messages for the condition or
exception to apply.
|
StringList |
getContainsRecipientStrings()
Gets the strings that should appear in either the
To or Cc fields of incoming messages for the condition
or exception to apply.
|
StringList |
getContainsSenderStrings()
Gets the strings that should appear
in the From field of incoming messages
for the condition or exception to apply.
|
StringList |
getContainsSubjectOrBodyStrings()
Gets the strings that should appear in either
the body or the subject of incoming messages for the
condition or exception to apply.
|
StringList |
getContainsSubjectStrings()
Gets the strings that should appear in the subject
of incoming messages for the condition or exception
to apply.
|
FlaggedForAction |
getFlaggedForAction()
Gets or sets the flag for action value that should
appear on incoming messages for the condition or execption to apply.
|
EmailAddressCollection |
getFromAddresses()
Gets the e-mail addresses of the senders of incoming
messages for the condition or exception to apply.
|
StringList |
getFromConnectedAccounts()
Gets the e-mail account names from which incoming messages must have
been aggregated for the condition or exception to apply.
|
boolean |
getHasAttachments()
Gets or sets a value indicating whether incoming messages must have
attachments for the condition or exception to apply.
|
Importance |
getImportance()
Gets or sets the importance that should be stamped on incoming messages
for the condition or exception to apply.
|
boolean |
getIsApprovalRequest()
Gets or sets a value indicating whether incoming messages must be
approval request for the condition or exception to apply.
|
boolean |
getIsAutomaticForward()
Gets or sets a value indicating whether incoming messages must be
automatic forwards for the condition or exception to apply.
|
boolean |
getIsAutomaticReply()
Gets or sets a value indicating whether incoming messages must be
automatic replies for the condition or exception to apply.
|
boolean |
getIsEncrypted()
Gets or sets a value indicating whether incoming messages must be
S/MIME encrypted for the condition or exception to apply.
|
boolean |
getIsMeetingRequest()
Gets or sets a value indicating whether incoming messages must be
meeting request for the condition or exception to apply.
|
boolean |
getIsMeetingResponse()
Gets or sets a value indicating whether incoming messages must be
meeting response for the condition or exception to apply.
|
boolean |
getIsNonDeliveryReport()
Gets or sets a value indicating whether incoming messages must be
non-delivery reports (NDR) for the condition or exception to apply.
|
boolean |
getIsPermissionControlled()
Gets or sets a value indicating whether incoming messages must be
permission controlled (RMS protected) for the condition or exception
to apply.
|
boolean |
getIsReadReceipt()
Gets or sets a value indicating whether incoming messages must be
read receipts for the condition or exception to apply.
|
boolean |
getIsSigned()
Gets or sets a value indicating whether incoming messages must be
S/MIME signed for the condition or exception to apply.
|
boolean |
getIsVoicemail()
Gets or sets a value indicating whether incoming messages must be
voice mails for the condition or exception to apply.
|
StringList |
getItemClasses()
Gets the item classes that must be stamped on incoming messages for
the condition or exception to apply.
|
StringList |
getMessageClassifications()
Gets the message classifications that
must be stamped on incoming messages
for the condition or exception to apply.
|
boolean |
getNotSentToMe()
Gets or sets a value indicating whether the owner of the mailbox must
NOT be a To recipient of the incoming messages for the condition or
exception to apply.
|
Sensitivity |
getSensitivity()
Gets or sets the sensitivity that must be stamped on incoming messages
for the condition or exception to apply.
|
boolean |
getSentCcMe()
Gets or sets a value indicating whether the owner of the mailbox must be
a Cc recipient of incoming messages
for the condition or exception to apply.
|
boolean |
getSentOnlyToMe()
Gets or sets a value indicating whether the owner of the mailbox must be
the only To recipient of incoming
messages for the condition or exception
to apply.
|
EmailAddressCollection |
getSentToAddresses()
Gets the e-mail addresses incoming messages must have been sent to for
the condition or exception to apply.
|
boolean |
getSentToMe()
Gets or sets a value indicating whether the owner of the mailbox must be
a To recipient of incoming messages
for the condition or exception to apply.
|
boolean |
getSentToOrCcMe()
Gets or sets a value indicating whether the owner of the mailbox must be
either a To or Cc recipient of incoming messages for the condition or
exception to apply.
|
RulePredicateDateRange |
getWithinDateRange()
Gets the date range within which
incoming messages must have been received
for the condition or exception to apply.
|
RulePredicateSizeRange |
getWithinSizeRange()
Gets the minimum and maximum sizes incoming messages must have for the
condition or exception to apply.
|
protected void |
internalValidate()
Validates this instance.
|
void |
setFlaggedForAction(FlaggedForAction value) |
void |
setHasAttachments(boolean value) |
void |
setImportance(Importance value) |
void |
setIsApprovalRequest(boolean value) |
void |
setIsAutomaticForward(boolean value) |
void |
setIsAutomaticReply(boolean value) |
void |
setIsEncrypted(boolean value) |
void |
setIsMeetingRequest(boolean value) |
void |
setIsMeetingResponse(boolean value) |
void |
setIsNonDeliveryReport(boolean value) |
void |
setIsPermissionControlled(boolean value) |
void |
setIsReadReceipt(boolean value) |
void |
setIsSigned(boolean value) |
void |
setIsVoicemail(boolean value) |
void |
setNotSentToMe(boolean value) |
void |
setSensitivity(Sensitivity value) |
void |
setSentCcMe(boolean value) |
void |
setSentOnlyToMe(boolean value) |
void |
setSentToMe(boolean value) |
void |
setSentToOrCcMe(boolean value) |
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes elements to XML.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
protected RulePredicates()
public StringList getCategories()
public StringList getContainsBodyStrings()
public StringList getContainsHeaderStrings()
public StringList getContainsRecipientStrings()
public StringList getContainsSenderStrings()
public StringList getContainsSubjectOrBodyStrings()
public StringList getContainsSubjectStrings()
public FlaggedForAction getFlaggedForAction()
public void setFlaggedForAction(FlaggedForAction value)
public EmailAddressCollection getFromAddresses()
public boolean getHasAttachments()
public void setHasAttachments(boolean value)
public Importance getImportance()
public void setImportance(Importance value)
public boolean getIsApprovalRequest()
public void setIsApprovalRequest(boolean value)
public boolean getIsAutomaticForward()
public void setIsAutomaticForward(boolean value)
public boolean getIsAutomaticReply()
public void setIsAutomaticReply(boolean value)
public boolean getIsEncrypted()
public void setIsEncrypted(boolean value)
public boolean getIsMeetingRequest()
public void setIsMeetingRequest(boolean value)
public boolean getIsMeetingResponse()
public void setIsMeetingResponse(boolean value)
public boolean getIsNonDeliveryReport()
public void setIsNonDeliveryReport(boolean value)
public boolean getIsPermissionControlled()
public void setIsPermissionControlled(boolean value)
public boolean getIsSigned()
public void setIsSigned(boolean value)
public boolean getIsVoicemail()
public void setIsVoicemail(boolean value)
public boolean getIsReadReceipt()
public void setIsReadReceipt(boolean value)
public StringList getFromConnectedAccounts()
public StringList getItemClasses()
public StringList getMessageClassifications()
public boolean getNotSentToMe()
public void setNotSentToMe(boolean value)
public boolean getSentCcMe()
public void setSentCcMe(boolean value)
public boolean getSentOnlyToMe()
public void setSentOnlyToMe(boolean value)
public EmailAddressCollection getSentToAddresses()
public boolean getSentToMe()
public void setSentToMe(boolean value)
public boolean getSentToOrCcMe()
public void setSentToOrCcMe(boolean value)
public Sensitivity getSensitivity()
public void setSensitivity(Sensitivity value)
public RulePredicateDateRange getWithinDateRange()
public RulePredicateSizeRange getWithinSizeRange()
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class ComplexProperty
reader
- The readerException
public void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ComplexProperty
writer
- The writer.Exception
protected void internalValidate() throws Exception
internalValidate
in class ComplexProperty
Exception
- the exceptionCopyright © 2012–2015 Microsoft. All rights reserved.