public abstract class ExchangeBasePermission extends Object
Provides abstract base class for permissions to folders on Exchange Server.
Modifier and Type | Field and Description |
---|---|
protected int |
permissionSet
Specifies a user permission level.
|
Modifier | Constructor and Description |
---|---|
protected |
ExchangeBasePermission(ExchangeFolderUserInfo userInfo)
Initializes a new instance of the
ExchangeBasePermission class |
Modifier and Type | Method and Description |
---|---|
boolean |
canCreateItems()
Gets or sets a value indicating whether a client can create items in a folder.
|
void |
canCreateItems(boolean value)
Gets or sets a value indicating whether a client can create items in a folder.
|
boolean |
canCreateSubFolders()
Gets or sets a value indicating whether the client can create subfolders.
|
void |
canCreateSubFolders(boolean value)
Gets or sets a value indicating whether the client can create subfolders.
|
int |
getDeleteItems()
Gets or sets a value indicating whether the client can delete items.
|
int |
getEditItems()
Gets or sets a value indicating whether a client can edit items.
|
ExchangeFolderUserInfo |
getUserInfo()
Gets or sets a user or a delegate user who has folder access permissions
|
boolean |
isFolderContact()
Gets or sets a value indicating whether a user is a contact for a folder.
|
boolean |
isFolderOwner()
Gets or sets a value indicating whether the user is the owner of a folder.
|
boolean |
isFolderVisible()
Gets or sets a value indicating whether a user can view a folder.
|
void |
setDeleteItems(int value)
Gets or sets a value indicating whether the client can delete items.
|
void |
setEditItems(int value)
Gets or sets a value indicating whether a client can edit items.
|
void |
setFolderContact(boolean value)
Gets or sets a value indicating whether a user is a contact for a folder.
|
void |
setFolderOwner(boolean value)
Gets or sets a value indicating whether the user is the owner of a folder.
|
void |
setFolderVisible(boolean value)
Gets or sets a value indicating whether a user can view a folder.
|
void |
setUserInfo(ExchangeFolderUserInfo value)
Gets or sets a user or a delegate user who has folder access permissions
|
protected int permissionSet
Specifies a user permission level. The responsibility of bits: 0 - IsFolderVisible 1 - ReadItems 2 - CanCreateItems 3, 4 - DeleteItems 5, 6 - EditItems 7 - CanCreateSubFolders 8 - IsFolderContact 9 - IsFolderOwner 10 - FreeBusyTimeOnly 11 - FreeBusyTimeAndSubjectAndLocation
protected ExchangeBasePermission(ExchangeFolderUserInfo userInfo)
Initializes a new instance of the ExchangeBasePermission
class
userInfo
- Specifies a user or a delegate user who has folder access permissionscom.aspose.ms.System.ArgumentNullException
- userInfo
is null
public final ExchangeFolderUserInfo getUserInfo()
Gets or sets a user or a delegate user who has folder access permissions
com.aspose.ms.System.ArgumentNullException
- value
is null
public final void setUserInfo(ExchangeFolderUserInfo value)
Gets or sets a user or a delegate user who has folder access permissions
com.aspose.ms.System.ArgumentNullException
- value
is null
public final boolean canCreateItems()
Gets or sets a value indicating whether a client can create items in a folder.
public final void canCreateItems(boolean value)
Gets or sets a value indicating whether a client can create items in a folder.
public final boolean canCreateSubFolders()
Gets or sets a value indicating whether the client can create subfolders.
public final void canCreateSubFolders(boolean value)
Gets or sets a value indicating whether the client can create subfolders.
public final boolean isFolderOwner()
Gets or sets a value indicating whether the user is the owner of a folder.
public final void setFolderOwner(boolean value)
Gets or sets a value indicating whether the user is the owner of a folder.
public final boolean isFolderVisible()
Gets or sets a value indicating whether a user can view a folder.
public final void setFolderVisible(boolean value)
Gets or sets a value indicating whether a user can view a folder.
public final boolean isFolderContact()
Gets or sets a value indicating whether a user is a contact for a folder.
public final void setFolderContact(boolean value)
Gets or sets a value indicating whether a user is a contact for a folder.
public final int getEditItems()
Gets or sets a value indicating whether a client can edit items.
public final void setEditItems(int value)
Gets or sets a value indicating whether a client can edit items.
public final int getDeleteItems()
Gets or sets a value indicating whether the client can delete items.
public final void setDeleteItems(int value)
Gets or sets a value indicating whether the client can delete items.