Class DelegatePermissions
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.DelegatePermissions
-
- All Implemented Interfaces:
ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
public final class DelegatePermissions extends ComplexProperty
Represents the permissions of a delegate user.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDelegatePermissions()Initializes a new instance of the class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DelegateFolderPermissionLevelgetCalendarFolderPermissionLevel()Gets the delegate user's permission on the principal's calendar.DelegateFolderPermissionLevelgetContactsFolderPermissionLevel()Gets the delegate user's permission on the principal's contacts folder.DelegateFolderPermissionLevelgetInboxFolderPermissionLevel()Gets the delegate user's permission on the principal's inbox.DelegateFolderPermissionLevelgetJournalFolderPermissionLevel()Gets the delegate user's permission on the principal's journal folder.DelegateFolderPermissionLevelgetNotesFolderPermissionLevel()Gets the delegate user's permission on the principal's notes folder.DelegateFolderPermissionLevelgetTasksFolderPermissionLevel()Gets the delegate user's permission on the principal's tasks folder.protected voidreset()Reset.voidsetCalendarFolderPermissionLevel(DelegateFolderPermissionLevel value)sets the delegate user's permission on the principal's calendar.voidsetContactsFolderPermissionLevel(DelegateFolderPermissionLevel value)Sets the contacts folder permission level.voidsetInboxFolderPermissionLevel(DelegateFolderPermissionLevel value)Sets the inbox folder permission level.voidsetJournalFolderPermissionLevel(DelegateFolderPermissionLevel value)Sets the journal folder permission level.voidsetNotesFolderPermissionLevel(DelegateFolderPermissionLevel value)Sets the notes folder permission level.voidsetTasksFolderPermissionLevel(DelegateFolderPermissionLevel value)Sets the tasks folder permission level.booleantryReadElementFromXml(EwsServiceXmlReader reader)Tries to read element from XML.protected voidvalidateAddDelegate()Validates this instance for AddDelegate.protected voidvalidateUpdateDelegate()Validates this instance for UpdateDelegate.voidwriteElementsToXml(EwsServiceXmlWriter writer)Writes elements to XML.-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
-
-
-
-
Constructor Detail
-
DelegatePermissions
protected DelegatePermissions()
Initializes a new instance of the class.
-
-
Method Detail
-
getCalendarFolderPermissionLevel
public DelegateFolderPermissionLevel getCalendarFolderPermissionLevel()
Gets the delegate user's permission on the principal's calendar.- Returns:
- the calendar folder permission level
-
setCalendarFolderPermissionLevel
public void setCalendarFolderPermissionLevel(DelegateFolderPermissionLevel value)
sets the delegate user's permission on the principal's calendar.- Parameters:
value- the new calendar folder permission level
-
getTasksFolderPermissionLevel
public DelegateFolderPermissionLevel getTasksFolderPermissionLevel()
Gets the delegate user's permission on the principal's tasks folder.- Returns:
- the tasks folder permission level
-
setTasksFolderPermissionLevel
public void setTasksFolderPermissionLevel(DelegateFolderPermissionLevel value)
Sets the tasks folder permission level.- Parameters:
value- the new tasks folder permission level
-
getInboxFolderPermissionLevel
public DelegateFolderPermissionLevel getInboxFolderPermissionLevel()
Gets the delegate user's permission on the principal's inbox.- Returns:
- the inbox folder permission level
-
setInboxFolderPermissionLevel
public void setInboxFolderPermissionLevel(DelegateFolderPermissionLevel value)
Sets the inbox folder permission level.- Parameters:
value- the new inbox folder permission level
-
getContactsFolderPermissionLevel
public DelegateFolderPermissionLevel getContactsFolderPermissionLevel()
Gets the delegate user's permission on the principal's contacts folder.- Returns:
- the contacts folder permission level
-
setContactsFolderPermissionLevel
public void setContactsFolderPermissionLevel(DelegateFolderPermissionLevel value)
Sets the contacts folder permission level.- Parameters:
value- the new contacts folder permission level
-
getNotesFolderPermissionLevel
public DelegateFolderPermissionLevel getNotesFolderPermissionLevel()
Gets the delegate user's permission on the principal's notes folder.- Returns:
- the notes folder permission level
-
setNotesFolderPermissionLevel
public void setNotesFolderPermissionLevel(DelegateFolderPermissionLevel value)
Sets the notes folder permission level.- Parameters:
value- the new notes folder permission level
-
getJournalFolderPermissionLevel
public DelegateFolderPermissionLevel getJournalFolderPermissionLevel()
Gets the delegate user's permission on the principal's journal folder.- Returns:
- the journal folder permission level
-
setJournalFolderPermissionLevel
public void setJournalFolderPermissionLevel(DelegateFolderPermissionLevel value)
Sets the journal folder permission level.- Parameters:
value- the new journal folder permission level
-
reset
protected void reset()
Reset.
-
tryReadElementFromXml
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
Tries to read element from XML.- Overrides:
tryReadElementFromXmlin classComplexProperty- Parameters:
reader- the reader- Returns:
- Returns true if element was read.
- Throws:
Exception- the exception
-
writeElementsToXml
public void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
Writes elements to XML.- Overrides:
writeElementsToXmlin classComplexProperty- Parameters:
writer- the writer- Throws:
Exception- the exception
-
validateAddDelegate
protected void validateAddDelegate() throws ServiceValidationException
Validates this instance for AddDelegate.- Throws:
ServiceValidationException
-
validateUpdateDelegate
protected void validateUpdateDelegate() throws ServiceValidationException
Validates this instance for UpdateDelegate.- Throws:
ServiceValidationException
-
-