|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.property.complex.ComplexProperty
microsoft.exchange.webservices.data.property.complex.ComplexPropertyCollection<FolderPermission>
microsoft.exchange.webservices.data.property.complex.FolderPermissionCollection
public final class FolderPermissionCollection
Represents a collection of folder permissions.
| Constructor Summary | |
|---|---|
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. |
void |
loadFromXml(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. |
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes the elements to XML. |
| Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexPropertyCollection |
|---|
clearChangeLog, complexPropertyChanged, contains, getAddedItems, getCount, getItems, getModifiedItems, getPropertyAtIndex, getRemovedItems, indexOf, internalAdd, internalClear, internalRemove, internalRemoveAt, itemChanged, iterator, loadFromXml, removeFromChangeLog, shouldWriteToXml, updateFromXml, writeDeleteUpdateToXml, writeSetUpdateToXml, writeToXml |
| Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty |
|---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, func, getNamespace, internalValidate, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, writeAttributesToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FolderPermissionCollection(Folder owner)
owner - the owner| Method Detail |
|---|
protected String getCollectionItemXmlElementName(FolderPermission complexProperty)
getCollectionItemXmlElementName in class ComplexPropertyCollection<FolderPermission>complexProperty - the complex property
public void loadFromXml(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 interface ISelfValidatevalidate in class ComplexProperty
public void writeElementsToXml(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 | |||||||||