public class DelegateUser
extends java.lang.Object
| Constructor and Description |
|---|
DelegateUser()
Initializes a new instance of the DelegateUser class.
|
DelegateUser(java.lang.String primarySmtpAddress)
Initializes a new instance of the DelegateUser class.
|
DelegateUser(UserId userId)
Initializes a new instance of the DelegateUser class.
|
| Modifier and Type | Method and Description |
|---|---|
DelegateFolderPermissionLevel |
getCalendarFolderPermissionLevel()
Gets the permissions for the default Calendar folder.
|
DelegateFolderPermissionLevel |
getContactsFolderPermissionLevel()
Gets the permissions for the default Contacts folder.
|
DelegateFolderPermissionLevel |
getInboxFolderPermissionLevel()
Gets the permissions for the default Inbox folder.
|
DelegateFolderPermissionLevel |
getJournalFolderPermissionLevel()
Gets the permissions for the default Journal folder.
|
DelegateFolderPermissionLevel |
getNotesFolderPermissionLevel()
Gets the permissions for the default Notes folder.
|
boolean |
getReceiveCopiesOfMeetingMessages()
Gets whether a delegate receives copies of meeting-related messages that are addressed to the principal.
|
DelegateFolderPermissionLevel |
getTasksFolderPermissionLevel()
Gets the permissions for the default Task folder.
|
UserId |
getUserId()
Gets the delegate.
|
boolean |
getViewPrivateItems()
Gets whether a delegate has permission to view private calendar items in the principal's mailbox.
|
void |
setCalendarFolderPermissionLevel(DelegateFolderPermissionLevel calendarFolderPermissionLevel)
Sets the permissions for the default Calendar folder.
|
void |
setContactsFolderPermissionLevel(DelegateFolderPermissionLevel contactsFolderPermissionLevel)
Sets the permissions for the default Contacts folder.
|
void |
setInboxFolderPermissionLevel(DelegateFolderPermissionLevel inboxFolderPermissionLevel)
Sets the permissions for the default Inbox folder.
|
void |
setJournalFolderPermissionLevel(DelegateFolderPermissionLevel journalFolderPermissionLevel)
Sets the permissions for the default Journal folder.
|
void |
setNotesFolderPermissionLevel(DelegateFolderPermissionLevel notesFolderPermissionLevel)
Sets the permissions for the default Notes folder.
|
void |
setReceiveCopiesOfMeetingMessages(boolean receiveCopiesOfMeetingMessages)
Sets whether a delegate receives copies of meeting-related messages that are addressed to the principal.
|
void |
setTasksFolderPermissionLevel(DelegateFolderPermissionLevel tasksFolderPermissionLevel)
Sets the permissions for the default Task folder.
|
void |
setUserId(UserId userId)
Sets the delegate.
|
void |
setViewPrivateItems(boolean viewPrivateItems)
Sets whether a delegate has permission to view private calendar items in the principal's mailbox.
|
public DelegateUser()
public DelegateUser(UserId userId)
userId - the user idpublic DelegateUser(java.lang.String primarySmtpAddress)
primarySmtpAddress - the primary smtp addresspublic UserId getUserId()
public void setUserId(UserId userId)
userId - the new user idpublic DelegateFolderPermissionLevel getCalendarFolderPermissionLevel()
public void setCalendarFolderPermissionLevel(DelegateFolderPermissionLevel calendarFolderPermissionLevel)
calendarFolderPermissionLevel - the new calendar folder permission levelpublic DelegateFolderPermissionLevel getTasksFolderPermissionLevel()
public void setTasksFolderPermissionLevel(DelegateFolderPermissionLevel tasksFolderPermissionLevel)
tasksFolderPermissionLevel - the new tasks folder permission levelpublic DelegateFolderPermissionLevel getInboxFolderPermissionLevel()
public void setInboxFolderPermissionLevel(DelegateFolderPermissionLevel inboxFolderPermissionLevel)
inboxFolderPermissionLevel - the new inbox folder permission levelpublic DelegateFolderPermissionLevel getContactsFolderPermissionLevel()
public void setContactsFolderPermissionLevel(DelegateFolderPermissionLevel contactsFolderPermissionLevel)
contactsFolderPermissionLevel - the new contacts folder permission levelpublic DelegateFolderPermissionLevel getNotesFolderPermissionLevel()
public void setNotesFolderPermissionLevel(DelegateFolderPermissionLevel notesFolderPermissionLevel)
notesFolderPermissionLevel - the new notes folder permission levelpublic DelegateFolderPermissionLevel getJournalFolderPermissionLevel()
public void setJournalFolderPermissionLevel(DelegateFolderPermissionLevel journalFolderPermissionLevel)
journalFolderPermissionLevel - the new journal folder permission levelpublic boolean getReceiveCopiesOfMeetingMessages()
public void setReceiveCopiesOfMeetingMessages(boolean receiveCopiesOfMeetingMessages)
receiveCopiesOfMeetingMessages - the new receive copies of meeting messagespublic boolean getViewPrivateItems()
public void setViewPrivateItems(boolean viewPrivateItems)
viewPrivateItems - the new view private items