Class ConversationAction
- java.lang.Object
-
- microsoft.exchange.webservices.data.misc.ConversationAction
-
public class ConversationAction extends Object
ConversationAction class that represents ConversationActionType in the request XML. This class really is meant for representing single ConversationAction that needs to be taken on a conversation.
-
-
Constructor Summary
Constructors Constructor Description ConversationAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConversationActionTypegetAction()Gets conversation actionprotected StringListgetCategories()Gets conversation categories for Always Categorize actionprotected FolderIdWrappergetContextFolderId()Gets folder id ContextFolderprotected ConversationIdgetConversationId()Gets conversation idprotected DategetConversationLastSyncTime()ConversationLastSyncTime is used in one time action to determine the item on which to take the action.protected DeleteModegetDeleteType()DeleteTypeprotected FolderIdWrappergetDestinationFolderId()Gets folder id for Move actionprotected booleangetEnableAlwaysDelete()Gets Enable Always Delete value for Always Delete actionprotected BooleangetIsRead()IsReadprotected booleangetProcessRightAway()Gets ProcessRightAwayprotected StringgetXmlElementName()Gets the name of the XML element.voidsetAction(ConversationActionType value)Sets conversation actionvoidsetCategories(StringList value)Sets conversation categories for Always Categorize actionsvoidsetContextFolderId(FolderIdWrapper value)Sets folder id ContextFoldervoidsetConversationId(ConversationId value)Sets conversation idvoidsetConversationLastSyncTime(Date value)ConversationLastSyncTime is used in one time action to determine the item on which to take the action.voidsetDeleteType(DeleteMode value)DeleteTypevoidsetDestinationFolderId(FolderIdWrapper value)Sets folder id for Move actionvoidsetEnableAlwaysDelete(boolean value)Sets Enable Always Delete value for Always Delete actionvoidsetIsRead(Boolean value)IsReadvoidsetProcessRightAway(boolean value)Sets ProcessRightAwayvoidvalidate()Validate request.voidwriteElementsToXml(EwsServiceXmlWriter writer)Writes XML elements.
-
-
-
Constructor Detail
-
ConversationAction
public ConversationAction()
-
-
Method Detail
-
getAction
protected ConversationActionType getAction()
Gets conversation action- Returns:
- action
-
setAction
public void setAction(ConversationActionType value)
Sets conversation action
-
getConversationId
protected ConversationId getConversationId()
Gets conversation id- Returns:
- conversationId
-
setConversationId
public void setConversationId(ConversationId value)
Sets conversation id
-
getProcessRightAway
protected boolean getProcessRightAway()
Gets ProcessRightAway- Returns:
- processRightAway
-
setProcessRightAway
public void setProcessRightAway(boolean value)
Sets ProcessRightAway
-
getCategories
protected StringList getCategories()
Gets conversation categories for Always Categorize action- Returns:
- categories
-
setCategories
public void setCategories(StringList value)
Sets conversation categories for Always Categorize actions
-
getEnableAlwaysDelete
protected boolean getEnableAlwaysDelete()
Gets Enable Always Delete value for Always Delete action- Returns:
- enableAlwaysDelete
-
setEnableAlwaysDelete
public void setEnableAlwaysDelete(boolean value)
Sets Enable Always Delete value for Always Delete action
-
getDeleteType
protected DeleteMode getDeleteType()
DeleteType- Returns:
- deleteType
-
setDeleteType
public void setDeleteType(DeleteMode value)
DeleteType
-
getConversationLastSyncTime
protected Date getConversationLastSyncTime()
ConversationLastSyncTime is used in one time action to determine the item on which to take the action.- Returns:
- conversationLastSyncTime
-
setConversationLastSyncTime
public void setConversationLastSyncTime(Date value)
ConversationLastSyncTime is used in one time action to determine the item on which to take the action.
-
getContextFolderId
protected FolderIdWrapper getContextFolderId()
Gets folder id ContextFolder- Returns:
- contextFolderId
-
setContextFolderId
public void setContextFolderId(FolderIdWrapper value)
Sets folder id ContextFolder
-
getDestinationFolderId
protected FolderIdWrapper getDestinationFolderId()
Gets folder id for Move action- Returns:
- moveFolderId
-
setDestinationFolderId
public void setDestinationFolderId(FolderIdWrapper value)
Sets folder id for Move action
-
getXmlElementName
protected String getXmlElementName()
Gets the name of the XML element.- Returns:
- XML element name.
-
writeElementsToXml
public void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
Writes XML elements.- Parameters:
writer- The writer.- Throws:
Exception
-
-