microsoft.exchange.webservices.data.AbstractFolderIdWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of exchange-ws-api Show documentation
Show all versions of exchange-ws-api Show documentation
The source came from http://archive.msdn.microsoft.com/ewsjavaapi
Support for Maven has been added.
The newest version!
/**************************************************************************
* copyright file="AbstractFolderIdWrapper.java" company="Microsoft"
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Defines the AbstractFolderIdWrapper.java.
**************************************************************************/
package microsoft.exchange.webservices.data;
/**
* Represents the abstraction of a folder Id.
*/
abstract class AbstractFolderIdWrapper {
/**
* Obtains the Folder object associated with the wrapper.
*
* @return The Folder object associated with the wrapper.
*/
public Folder getFolder() {
return null;
}
/**
* Initializes a new instance of AbstractFolderIdWrapper.
*/
protected AbstractFolderIdWrapper() {
}
/**
* Writes the Id encapsulated in the wrapper to XML.
*
* @param writer
* the writer
* @throws Exception
* the exception
*/
protected abstract void writeToXml(EwsServiceXmlWriter writer)
throws Exception;
/**
* Validates folderId against specified version.
*
* @param version
* the version
* @throws ServiceVersionException
* the service version exception
*/
protected void validate(ExchangeVersion version)
throws ServiceVersionException {
}
}