microsoft.exchange.webservices.data.misc
Class ConversationAction

java.lang.Object
  extended by 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
ConversationAction()
           
 
Method Summary
protected  ConversationActionType getAction()
          Gets conversation action
protected  StringList getCategories()
          Gets conversation categories for Always Categorize action
protected  FolderIdWrapper getContextFolderId()
          Gets folder id ContextFolder
protected  ConversationId getConversationId()
          Gets conversation id
protected  Date getConversationLastSyncTime()
          ConversationLastSyncTime is used in one time action to determine the item on which to take the action.
protected  DeleteMode getDeleteType()
          DeleteType
protected  FolderIdWrapper getDestinationFolderId()
          Gets folder id for Move action
protected  boolean getEnableAlwaysDelete()
          Gets Enable Always Delete value for Always Delete action
protected  Boolean getIsRead()
          IsRead
protected  boolean getProcessRightAway()
          Gets ProcessRightAway
protected  String getXmlElementName()
          Gets the name of the XML element.
 void setAction(ConversationActionType value)
          Sets conversation action
 void setCategories(StringList value)
          Sets conversation categories for Always Categorize actions
 void setContextFolderId(FolderIdWrapper value)
          Sets folder id ContextFolder
 void setConversationId(ConversationId value)
          Sets conversation id
 void setConversationLastSyncTime(Date value)
          ConversationLastSyncTime is used in one time action to determine the item on which to take the action.
 void setDeleteType(DeleteMode value)
          DeleteType
 void setDestinationFolderId(FolderIdWrapper value)
          Sets folder id for Move action
 void setEnableAlwaysDelete(boolean value)
          Sets Enable Always Delete value for Always Delete action
 void setIsRead(Boolean value)
          IsRead
 void setProcessRightAway(boolean value)
          Sets ProcessRightAway
 void validate()
          Validate request.
 void writeElementsToXml(EwsServiceXmlWriter writer)
          Writes XML elements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


getIsRead

protected Boolean getIsRead()
IsRead

Returns:
isRead

setIsRead

public void setIsRead(Boolean value)
IsRead


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.

validate

public void validate()
              throws Exception
Validate request.

Throws:
Exception

writeElementsToXml

public void writeElementsToXml(EwsServiceXmlWriter writer)
                        throws Exception
Writes XML elements.

Parameters:
writer - The writer.
Throws:
Exception


Copyright © 2012–2015 Microsoft. All rights reserved.