|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.ComplexProperty
microsoft.exchange.webservices.data.ComplexPropertyCollection<FolderId>
microsoft.exchange.webservices.data.FolderIdCollection
public final class FolderIdCollection
Represents a collection of folder Ids.
| Constructor Summary | |
|---|---|
protected |
FolderIdCollection()
Initializes a new instance of the |
| Method Summary | |
|---|---|
void |
add(FolderId folderId)
Adds a folder Id to the collection. |
FolderId |
add(WellKnownFolderName folderName)
Adds a well-known folder to the collection. |
void |
clear()
Clears the collection. |
protected FolderId |
createComplexProperty(String xmlElementName)
Creates the complex property. |
protected String |
getCollectionItemXmlElementName(FolderId complexProperty)
Gets the name of the collection item XML element. |
boolean |
remove(FolderId folderId)
Removes the specified folder Id from the collection. |
boolean |
remove(WellKnownFolderName folderName)
Removes the specified well-known folder from the collection. |
void |
removeAt(int index)
Removes the folder Id at the specified index. |
| Methods inherited from class microsoft.exchange.webservices.data.ComplexPropertyCollection |
|---|
clearChangeLog, complexPropertyChanged, contains, getAddedItems, getCount, getItems, getModifiedItems, getPropertyAtIndex, getRemovedItems, indexOf, internalAdd, internalClear, internalRemove, internalRemoveAt, itemChanged, iterator, loadFromXml, loadFromXml, removeFromChangeLog, shouldWriteToXml, writeDeleteUpdateToXml, writeElementsToXml, writeSetUpdateToXml, writeToXml |
| Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty |
|---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, getNamespace, internalValidate, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, validate, writeAttributesToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected FolderIdCollection()
| Method Detail |
|---|
protected FolderId createComplexProperty(String xmlElementName)
createComplexProperty in class ComplexPropertyCollection<FolderId>xmlElementName - Name of the XML element.
public void add(FolderId folderId)
throws Exception
folderId - The folder Id to add.
Exception - the exceptionprotected String getCollectionItemXmlElementName(FolderId complexProperty)
getCollectionItemXmlElementName in class ComplexPropertyCollection<FolderId>complexProperty - accepts FolderId
public FolderId add(WellKnownFolderName folderName)
folderName - the folder name
public void clear()
public void removeAt(int index)
index - The zero-based index of the folder Id to remove.
public boolean remove(FolderId folderId)
throws Exception
folderId - The folder Id to remove from the collection.
Exception - the exceptionpublic boolean remove(WellKnownFolderName folderName)
folderName - The well-knwon folder to remove from the collection.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||