microsoft.exchange.webservices.data
Class FolderChange

java.lang.Object
  extended by microsoft.exchange.webservices.data.Change
      extended by microsoft.exchange.webservices.data.FolderChange

public final class FolderChange
extends Change

Represents a change on a folder as returned by a synchronization operation.


Constructor Summary
protected FolderChange()
          Initializes a new instance of FolderChange.
 
Method Summary
protected  ServiceId createId()
          Creates a FolderId instance.
 Folder getFolder()
          * Gets the folder the change applies to.
 FolderId getFolderId()
          * Gets the folder the change applies to.
 
Methods inherited from class microsoft.exchange.webservices.data.Change
getChangeType, getId, getServiceObject, setChangeType, setId, setServiceObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FolderChange

protected FolderChange()
Initializes a new instance of FolderChange.

Method Detail

createId

protected ServiceId createId()
Creates a FolderId instance.

Specified by:
createId in class Change
Returns:
A FolderId.

getFolder

public Folder getFolder()
* Gets the folder the change applies to. Folder is null when ChangeType is equal to ChangeType.Delete. In that case, use the FolderId property to retrieve the Id of the folder that was deleted.

Returns:
the folder

getFolderId

public FolderId getFolderId()
                     throws ServiceLocalException
* Gets the folder the change applies to. Folder is null when ChangeType is equal to ChangeType.Delete. In that case, use the FolderId property to retrieve the Id of the folder that was deleted.

Returns:
the folder id
Throws:
ServiceLocalException - the service local exception