|
||||||||
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(java.lang.String xmlElementName)
Creates the complex property. |
protected java.lang.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, updateFromXml, writeDeleteUpdateToXml, writeElementsToXml, writeSetUpdateToXml, writeToXml |
Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty |
---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, func, getNamespace, internalValidate, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, 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(java.lang.String xmlElementName)
createComplexProperty
in class ComplexPropertyCollection<FolderId>
xmlElementName
- Name of the XML element.
public void add(FolderId folderId) throws java.lang.Exception
folderId
- The folder Id to add.
java.lang.Exception
- the exceptionprotected java.lang.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 java.lang.Exception
folderId
- The folder Id to remove from the collection.
java.lang.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 |