public class RuleActions
extends java.lang.Object
| Constructor and Description |
|---|
RuleActions()
Initializes a new instance of the RuleActions class.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getAssignCategories()
Gets the categories that are stamped on e-mail messages.
|
FolderId |
getCopyToFolder()
Gets the ID of the folder that e-mail items will be copied to.
|
boolean |
getDelete()
Gets whether messages are to be moved to the Deleted Items folder.
|
java.util.List<Mailbox> |
getForwardAsAttachmentToRecipients()
Gets the e-mail addresses to which messages are to be forwarded as attachments.
|
java.util.List<Mailbox> |
getForwardToRecipients()
Gets the e-mail addresses to which messages are to be forwarded.
|
boolean |
getMarkAsRead()
Gets whether messages are to be marked as read.
|
Importance |
getMarkImportance()
Gets the importance that is to be stamped on messages.
|
FolderId |
getMoveToFolder()
Gets the ID of the folder that e-mail items will be moved to.
|
boolean |
getPermanentDelete()
Gets whether messages are to be permanently deleted and not saved to the Deleted Items folder.
|
java.util.List<Mailbox> |
getRedirectToRecipients()
Gets the e-mail addresses to which messages are to be redirected.
|
java.util.List<Mailbox> |
getSendSMSAlertToRecipients()
Gets the mobile phone numbers to which a Short Message Service (SMS) alert is to be sent.
|
ItemId |
getServerReplyWithMessage()
Gets the ID of the template message that is to be sent as a reply to incoming messages.
|
boolean |
getStopProcessingRules()
Gets whether subsequent rules are to be evaluated.
|
void |
setCopyToFolder(FolderId copyToFolder)
Sets the ID of the folder that e-mail items will be copied to.
|
void |
setDelete(boolean delete)
Sets whether messages are to be moved to the Deleted Items folder.
|
void |
setMarkAsRead(boolean markAsRead)
Sets whether messages are to be marked as read.
|
void |
setMarkImportance(Importance markImportance)
Sets the importance that is to be stamped on messages.
|
void |
setMoveToFolder(FolderId moveToFolder)
Sets the ID of the folder that e-mail items will be moved to.
|
void |
setPermanentDelete(boolean permanentDelete)
Sets whether messages are to be permanently deleted and not saved to the Deleted Items folder.
|
void |
setServerReplyWithMessage(ItemId serverReplyWithMessage)
Sets the ID of the template message that is to be sent as a reply to incoming messages.
|
void |
setStopProcessingRules(boolean stopProcessingRules)
Sets whether subsequent rules are to be evaluated.
|
public RuleActions()
public java.util.List<java.lang.String> getAssignCategories()
public FolderId getCopyToFolder()
public void setCopyToFolder(FolderId copyToFolder)
copyToFolder - the new copy to folderpublic boolean getDelete()
public void setDelete(boolean delete)
delete - the new deletepublic java.util.List<Mailbox> getForwardAsAttachmentToRecipients()
public java.util.List<Mailbox> getForwardToRecipients()
public Importance getMarkImportance()
public void setMarkImportance(Importance markImportance)
markImportance - the new mark importancepublic boolean getMarkAsRead()
public void setMarkAsRead(boolean markAsRead)
markAsRead - the new mark as readpublic FolderId getMoveToFolder()
public void setMoveToFolder(FolderId moveToFolder)
moveToFolder - the new move to folderpublic boolean getPermanentDelete()
public void setPermanentDelete(boolean permanentDelete)
permanentDelete - the new permanent deletepublic java.util.List<Mailbox> getRedirectToRecipients()
public java.util.List<Mailbox> getSendSMSAlertToRecipients()
public ItemId getServerReplyWithMessage()
public void setServerReplyWithMessage(ItemId serverReplyWithMessage)
serverReplyWithMessage - the new server reply with messagepublic boolean getStopProcessingRules()
public void setStopProcessingRules(boolean stopProcessingRules)
stopProcessingRules - the new stop processing rules