Class RulePredicates

    • Constructor Detail

      • RulePredicates

        protected RulePredicates()
        Initializes a new instance of the RulePredicates class.
    • Method Detail

      • getCategories

        public StringList getCategories()
        Gets the categories that an incoming message should be stamped with for the condition or exception to apply. To disable this predicate, empty the list.
      • getContainsBodyStrings

        public StringList getContainsBodyStrings()
        Gets the strings that should appear in the body of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
      • getContainsHeaderStrings

        public StringList getContainsHeaderStrings()
        Gets the strings that should appear in the headers of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
      • getContainsRecipientStrings

        public 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. To disable this predicate, empty the list.
      • getContainsSenderStrings

        public StringList getContainsSenderStrings()
        Gets the strings that should appear in the From field of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
      • getContainsSubjectOrBodyStrings

        public 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. To disable this predicate, empty the list.
      • getContainsSubjectStrings

        public StringList getContainsSubjectStrings()
        Gets the strings that should appear in the subject of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
      • getFlaggedForAction

        public FlaggedForAction getFlaggedForAction()
        Gets or sets the flag for action value that should appear on incoming messages for the condition or execption to apply. To disable this predicate, set it to null.
      • getFromAddresses

        public EmailAddressCollection getFromAddresses()
        Gets the e-mail addresses of the senders of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
      • getHasAttachments

        public boolean getHasAttachments()
        Gets or sets a value indicating whether incoming messages must have attachments for the condition or exception to apply.
      • getImportance

        public Importance getImportance()
        Gets or sets the importance that should be stamped on incoming messages for the condition or exception to apply. To disable this predicate, set it to null.
      • getIsApprovalRequest

        public boolean getIsApprovalRequest()
        Gets or sets a value indicating whether incoming messages must be approval request for the condition or exception to apply.
      • getIsAutomaticForward

        public boolean getIsAutomaticForward()
        Gets or sets a value indicating whether incoming messages must be automatic forwards for the condition or exception to apply.
      • getIsAutomaticReply

        public boolean getIsAutomaticReply()
        Gets or sets a value indicating whether incoming messages must be automatic replies for the condition or exception to apply.
      • getIsEncrypted

        public boolean getIsEncrypted()
        Gets or sets a value indicating whether incoming messages must be S/MIME encrypted for the condition or exception to apply.
      • getIsMeetingRequest

        public boolean getIsMeetingRequest()
        Gets or sets a value indicating whether incoming messages must be meeting request for the condition or exception to apply.
      • getIsMeetingResponse

        public boolean getIsMeetingResponse()
        Gets or sets a value indicating whether incoming messages must be meeting response for the condition or exception to apply.
      • getIsNonDeliveryReport

        public boolean getIsNonDeliveryReport()
        Gets or sets a value indicating whether incoming messages must be non-delivery reports (NDR) for the condition or exception to apply.
      • getIsPermissionControlled

        public boolean getIsPermissionControlled()
        Gets or sets a value indicating whether incoming messages must be permission controlled (RMS protected) for the condition or exception to apply.
      • getIsSigned

        public boolean getIsSigned()
        Gets or sets a value indicating whether incoming messages must be S/MIME signed for the condition or exception to apply.
      • setIsSigned

        public void setIsSigned​(boolean value)
      • getIsVoicemail

        public boolean getIsVoicemail()
        Gets or sets a value indicating whether incoming messages must be voice mails for the condition or exception to apply.
      • getIsReadReceipt

        public boolean getIsReadReceipt()
        Gets or sets a value indicating whether incoming messages must be read receipts for the condition or exception to apply.
      • getFromConnectedAccounts

        public StringList getFromConnectedAccounts()
        Gets the e-mail account names from which incoming messages must have been aggregated for the condition or exception to apply. To disable this predicate, empty the list.
      • getItemClasses

        public StringList getItemClasses()
        Gets the item classes that must be stamped on incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
      • getMessageClassifications

        public StringList getMessageClassifications()
        Gets the message classifications that must be stamped on incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
      • getNotSentToMe

        public 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.
      • getSentCcMe

        public 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.
      • setSentCcMe

        public void setSentCcMe​(boolean value)
      • getSentOnlyToMe

        public 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.
      • getSentToAddresses

        public EmailAddressCollection getSentToAddresses()
        Gets the e-mail addresses incoming messages must have been sent to for the condition or exception to apply. To disable this predicate, empty the list.
      • getSentToMe

        public 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.
      • setSentToMe

        public void setSentToMe​(boolean value)
      • getSentToOrCcMe

        public 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.
      • getSensitivity

        public Sensitivity getSensitivity()
        Gets or sets the sensitivity that must be stamped on incoming messages for the condition or exception to apply. To disable this predicate, set it to null.
      • getWithinDateRange

        public RulePredicateDateRange getWithinDateRange()
        Gets the date range within which incoming messages must have been received for the condition or exception to apply. To disable this predicate, set both its Start and End property to null.
      • getWithinSizeRange

        public RulePredicateSizeRange getWithinSizeRange()
        Gets the minimum and maximum sizes incoming messages must have for the condition or exception to apply. To disable this predicate, set both its MinimumSize and MaximumSize property to null.