|
|||||||||
| 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<FolderPermission>
microsoft.exchange.webservices.data.FolderPermissionCollection
public final class FolderPermissionCollection
Represents a collection of folder permissions.
| Constructor Summary | |
|---|---|
protected |
FolderPermissionCollection(Folder owner)
* Initializes a new instance of the FolderPermissionCollection class. |
| Method Summary | |
|---|---|
void |
add(FolderPermission permission)
* Adds a permission to the collection. |
void |
addFolderRange(Iterator<FolderPermission> permissions)
* Adds the specified permissions to the collection. |
void |
clear()
Clears this collection. |
protected FolderPermission |
createComplexProperty(String xmlElementName)
* Creates the complex property. |
protected String |
getCollectionItemXmlElementName(FolderPermission complexProperty)
* Gets the name of the collection item XML element. |
Collection<String> |
getUnknownEntries()
* Gets a list of unknown user Ids in the collection. |
protected void |
loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
String localElementName)
* Loads from XML. |
boolean |
remove(FolderPermission permission)
* Removes a permission from the collection. |
void |
removeAt(int index)
* Removes a permission from the collection. |
void |
validate()
Validates this instance. |
protected void |
writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
* Writes the elements to XML. |
| 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, removeFromChangeLog, shouldWriteToXml, writeDeleteUpdateToXml, writeSetUpdateToXml, writeToXml |
| Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty |
|---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, getNamespace, internalValidate, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, writeAttributesToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected FolderPermissionCollection(Folder owner)
owner - the owner| Method Detail |
|---|
protected String getCollectionItemXmlElementName(FolderPermission complexProperty)
getCollectionItemXmlElementName in class ComplexPropertyCollection<FolderPermission>complexProperty - the complex property
protected void loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
String localElementName)
throws Exception
loadFromXml in class ComplexPropertyCollection<FolderPermission>reader - the readerlocalElementName - the local element name
Exception - the exceptionpublic void validate()
validate in class ComplexProperty
protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws Exception
writeElementsToXml in class ComplexPropertyCollection<FolderPermission>writer - the writer
Exception - the exceptionprotected FolderPermission createComplexProperty(String xmlElementName)
createComplexProperty in class ComplexPropertyCollection<FolderPermission>xmlElementName - the xml element name
public void add(FolderPermission permission)
permission - the permission
public void addFolderRange(Iterator<FolderPermission> permissions)
throws Exception
permissions - the permissions
Exception - the exceptionpublic void clear()
public boolean remove(FolderPermission permission)
permission - the permission
public void removeAt(int index)
index - the indexpublic Collection<String> getUnknownEntries()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||