public final class DelegatePermissions extends ComplexProperty
Modifier | Constructor and Description |
---|---|
protected |
DelegatePermissions()
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
DelegateFolderPermissionLevel |
getCalendarFolderPermissionLevel()
Gets the delegate user's permission on the principal's calendar.
|
DelegateFolderPermissionLevel |
getContactsFolderPermissionLevel()
Gets the delegate user's permission on the principal's contacts
folder.
|
DelegateFolderPermissionLevel |
getInboxFolderPermissionLevel()
Gets the delegate user's permission on the principal's inbox.
|
DelegateFolderPermissionLevel |
getJournalFolderPermissionLevel()
Gets the delegate user's permission on the principal's journal
folder.
|
DelegateFolderPermissionLevel |
getNotesFolderPermissionLevel()
Gets the delegate user's permission on the principal's notes
folder.
|
DelegateFolderPermissionLevel |
getTasksFolderPermissionLevel()
Gets the delegate user's permission on the principal's tasks
folder.
|
protected void |
reset()
Reset.
|
void |
setCalendarFolderPermissionLevel(DelegateFolderPermissionLevel value)
sets the delegate user's permission on the principal's calendar.
|
void |
setContactsFolderPermissionLevel(DelegateFolderPermissionLevel value)
Sets the contacts folder permission level.
|
void |
setInboxFolderPermissionLevel(DelegateFolderPermissionLevel value)
Sets the inbox folder permission level.
|
void |
setJournalFolderPermissionLevel(DelegateFolderPermissionLevel value)
Sets the journal folder permission level.
|
void |
setNotesFolderPermissionLevel(DelegateFolderPermissionLevel value)
Sets the notes folder permission level.
|
void |
setTasksFolderPermissionLevel(DelegateFolderPermissionLevel value)
Sets the tasks folder permission level.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
protected void |
validateAddDelegate()
Validates this instance for AddDelegate.
|
protected void |
validateUpdateDelegate()
Validates this instance for UpdateDelegate.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes elements to XML.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
protected DelegatePermissions()
public DelegateFolderPermissionLevel getCalendarFolderPermissionLevel()
public void setCalendarFolderPermissionLevel(DelegateFolderPermissionLevel value)
value
- the new calendar folder permission levelpublic DelegateFolderPermissionLevel getTasksFolderPermissionLevel()
public void setTasksFolderPermissionLevel(DelegateFolderPermissionLevel value)
value
- the new tasks folder permission levelpublic DelegateFolderPermissionLevel getInboxFolderPermissionLevel()
public void setInboxFolderPermissionLevel(DelegateFolderPermissionLevel value)
value
- the new inbox folder permission levelpublic DelegateFolderPermissionLevel getContactsFolderPermissionLevel()
public void setContactsFolderPermissionLevel(DelegateFolderPermissionLevel value)
value
- the new contacts folder permission levelpublic DelegateFolderPermissionLevel getNotesFolderPermissionLevel()
public void setNotesFolderPermissionLevel(DelegateFolderPermissionLevel value)
value
- the new notes folder permission levelpublic DelegateFolderPermissionLevel getJournalFolderPermissionLevel()
public void setJournalFolderPermissionLevel(DelegateFolderPermissionLevel value)
value
- the new journal folder permission levelprotected void reset()
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class ComplexProperty
reader
- the readerException
- the exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ComplexProperty
writer
- the writerException
- the exceptionprotected void validateAddDelegate() throws ServiceValidationException
ServiceValidationException
protected void validateUpdateDelegate() throws ServiceValidationException
ServiceValidationException
Copyright © 2012–2015 Microsoft. All rights reserved.