public class FolderIdWrapperList extends Object implements Iterable<AbstractFolderIdWrapper>
| Constructor and Description |
|---|
FolderIdWrapperList() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Folder folder)
Adds the specified folder.
|
void |
add(FolderId folderId)
Adds the specified folder id.
|
protected void |
addRangeFolder(Iterable<Folder> folders)
Adds the range.
|
void |
addRangeFolderId(Iterable<FolderId> folderIds)
Adds the range of folder ids.
|
int |
getCount()
Gets the id count.
|
AbstractFolderIdWrapper |
getFolderIdWrapperList(int i)
Gets the
|
Iterator<AbstractFolderIdWrapper> |
iterator() |
void |
validate(ExchangeVersion version)
Validates list of folderIds against a specified request version.
|
void |
writeToXml(EwsServiceXmlWriter writer,
XmlNamespace ewsNamesapce,
String xmlElementName)
Writes to XML.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic FolderIdWrapperList()
public void add(Folder folder) throws ServiceLocalException
folder - the folderServiceLocalException - the service local exceptionprotected void addRangeFolder(Iterable<Folder> folders) throws ServiceLocalException
folders - the folderServiceLocalException - the service local exceptionpublic void add(FolderId folderId)
folderId - the folder idpublic void addRangeFolderId(Iterable<FolderId> folderIds)
folderIds - the folder idspublic void writeToXml(EwsServiceXmlWriter writer, XmlNamespace ewsNamesapce, String xmlElementName) throws Exception
writer - the writerewsNamesapce - the ews namesapcexmlElementName - the xml element nameException - the exceptionpublic int getCount()
public AbstractFolderIdWrapper getFolderIdWrapperList(int i)
i - the ipublic void validate(ExchangeVersion version) throws ServiceVersionException
version - the versionServiceVersionException - the service version exceptionpublic Iterator<AbstractFolderIdWrapper> iterator()
iterator in interface Iterable<AbstractFolderIdWrapper>Copyright © 2012–2015 Microsoft. All rights reserved.