Class FolderChange
- java.lang.Object
-
- microsoft.exchange.webservices.data.sync.Change
-
- microsoft.exchange.webservices.data.sync.FolderChange
-
public final class FolderChange extends Change
Represents a change on a folder as returned by a synchronization operation.
-
-
Constructor Summary
Constructors Constructor Description FolderChange()Initializes a new instance of FolderChange.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceIdcreateId()Creates a FolderId instance.FoldergetFolder()Gets the folder the change applies to.FolderIdgetFolderId()Gets the folder the change applies to.-
Methods inherited from class microsoft.exchange.webservices.data.sync.Change
getChangeType, getId, getServiceObject, setChangeType, setId, setServiceObject
-
-
-
-
Constructor Detail
-
FolderChange
public FolderChange()
Initializes a new instance of FolderChange.
-
-
Method Detail
-
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
-
-