Class AbstractFolderIdWrapper
- java.lang.Object
-
- microsoft.exchange.webservices.data.misc.AbstractFolderIdWrapper
-
- Direct Known Subclasses:
FolderIdWrapper
public abstract class AbstractFolderIdWrapper extends Object
Represents the abstraction of a folder Id.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractFolderIdWrapper()Initializes a new instance of AbstractFolderIdWrapper.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description FoldergetFolder()Obtains the Folder object associated with the wrapper.protected voidvalidate(ExchangeVersion version)Validates folderId against specified version.protected abstract voidwriteToXml(EwsServiceXmlWriter writer)Writes the Id encapsulated in the wrapper to XML.
-
-
-
Constructor Detail
-
AbstractFolderIdWrapper
protected AbstractFolderIdWrapper()
Initializes a new instance of AbstractFolderIdWrapper.
-
-
Method Detail
-
getFolder
public Folder getFolder()
Obtains the Folder object associated with the wrapper.- Returns:
- The Folder object associated with the wrapper.
-
writeToXml
protected abstract void writeToXml(EwsServiceXmlWriter writer) throws Exception
Writes the Id encapsulated in the wrapper to XML.- Parameters:
writer- the writer- Throws:
Exception- the exception
-
validate
protected void validate(ExchangeVersion version) throws ServiceVersionException
Validates folderId against specified version.- Parameters:
version- the version- Throws:
ServiceVersionException- the service version exception
-
-