public class ConversationAction
extends java.lang.Object
| Constructor and Description |
|---|
ConversationAction()
Initializes a new instance of the ConversationAction class.
|
| Modifier and Type | Method and Description |
|---|---|
ConversationActionType |
getAction()
Gets the action to perform on the conversation specified by the ConversationId element.
|
java.util.List<java.lang.String> |
getCategories()
Gets a collection of strings that identify the categories to which items in a conversation belong.
|
FolderId |
getContextFolderId()
Gets the folder that is targeted for actions that use folders.
|
ItemId |
getConversationId()
Gets the identifier of the conversation that will have the action specified by the Action (ConversationActionTypeType) element applied to items in the conversation.
|
java.util.Date |
getConversationLastSyncTime()
Gets the date and time that a conversation was last synchronized.
|
DeleteType |
getDeleteType()
Gets how items in a conversation are deleted.
|
FolderId |
getDestinationFolderId()
Gets the destination folder for copy and move actions.
|
boolean |
getEnableAlwaysDelete()
Gets a flag that enables deletion for all new items in a conversation.
|
boolean |
getProcessRightAway()
Gets whether the response is sent as soon as the action starts processing on the server or whether the response is sent after the action has completed.
|
boolean |
isRead()
Gets whether a message has been read.
|
void |
setAction(ConversationActionType action)
Sets the action to perform on the conversation specified by the ConversationId element.
|
void |
setAsRead(boolean isRead)
Sets whether a message has been read.
|
void |
setContextFolderId(FolderId contextFolderId)
Sets the folder that is targeted for actions that use folders.
|
void |
setConversationId(ItemId conversationId)
Sets the identifier of the conversation that will have the action specified by the Action (ConversationActionTypeType) element applied to items in the conversation.
|
void |
setConversationLastSyncTime(java.util.Date conversationLastSyncTime)
Sets the date and time that a conversation was last synchronized.
|
void |
setDeleteType(DeleteType deleteType)
Sets how items in a conversation are deleted.
|
void |
setDestinationFolderId(FolderId destinationFolderId)
Sets the destination folder for copy and move actions.
|
void |
setEnableAlwaysDelete(boolean enableAlwaysDelete)
Sets a flag that enables deletion for all new items in a conversation.
|
void |
setProcessRightAway(boolean processRightAway)
Sets whether the response is sent as soon as the action starts processing on the server or whether the response is sent after the action has completed.
|
public ConversationAction()
public ConversationActionType getAction()
public void setAction(ConversationActionType action)
action - the new actionpublic ItemId getConversationId()
public void setConversationId(ItemId conversationId)
conversationId - the new conversation idpublic FolderId getContextFolderId()
public void setContextFolderId(FolderId contextFolderId)
contextFolderId - the new context folder idpublic java.util.Date getConversationLastSyncTime()
public void setConversationLastSyncTime(java.util.Date conversationLastSyncTime)
conversationLastSyncTime - the new conversation last sync timepublic boolean getProcessRightAway()
public void setProcessRightAway(boolean processRightAway)
processRightAway - the new process right awaypublic FolderId getDestinationFolderId()
public void setDestinationFolderId(FolderId destinationFolderId)
destinationFolderId - the new destination folder idpublic java.util.List<java.lang.String> getCategories()
public boolean getEnableAlwaysDelete()
public void setEnableAlwaysDelete(boolean enableAlwaysDelete)
enableAlwaysDelete - the new enable always deletepublic boolean isRead()
public void setAsRead(boolean isRead)
isRead - the new as readpublic DeleteType getDeleteType()
public void setDeleteType(DeleteType deleteType)
deleteType - the new delete type