|
||||||||
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(java.util.Iterator<FolderPermission> permissions)
* Adds the specified permissions to the collection. |
void |
clear()
Clears this collection. |
protected FolderPermission |
createComplexProperty(java.lang.String xmlElementName)
* Creates the complex property. |
protected java.lang.String |
getCollectionItemXmlElementName(FolderPermission complexProperty)
* Gets the name of the collection item XML element. |
java.util.Collection<java.lang.String> |
getUnknownEntries()
* Gets a list of unknown user Ids in the collection. |
protected void |
loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
java.lang.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, updateFromXml, writeDeleteUpdateToXml, 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, 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 ownerMethod Detail |
---|
protected java.lang.String getCollectionItemXmlElementName(FolderPermission complexProperty)
getCollectionItemXmlElementName
in class ComplexPropertyCollection<FolderPermission>
complexProperty
- the complex property
protected void loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader, java.lang.String localElementName) throws java.lang.Exception
loadFromXml
in class ComplexPropertyCollection<FolderPermission>
reader
- the readerlocalElementName
- the local element name
java.lang.Exception
- the exceptionpublic void validate()
validate
in class ComplexProperty
protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws java.lang.Exception
writeElementsToXml
in class ComplexPropertyCollection<FolderPermission>
writer
- the writer
java.lang.Exception
- the exceptionprotected FolderPermission createComplexProperty(java.lang.String xmlElementName)
createComplexProperty
in class ComplexPropertyCollection<FolderPermission>
xmlElementName
- the xml element name
public void add(FolderPermission permission)
permission
- the permissionpublic void addFolderRange(java.util.Iterator<FolderPermission> permissions) throws java.lang.Exception
permissions
- the permissions
java.lang.Exception
- the exceptionpublic void clear()
public boolean remove(FolderPermission permission)
permission
- the permission
public void removeAt(int index)
index
- the indexpublic java.util.Collection<java.lang.String> getUnknownEntries()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |