ExchangeBasePermission

Inheritance: java.lang.Object

public abstract class ExchangeBasePermission

Provides abstract base class for permissions to folders on Exchange Server.

Methods

Method Description
getUserInfo() Gets or sets a user or a delegate user who has folder access permissions
setUserInfo(ExchangeFolderUserInfo value) Gets or sets a user or a delegate user who has folder access permissions
canCreateItems() Gets or sets a value indicating whether a client can create items in a folder.
canCreateItems(boolean value) Gets or sets a value indicating whether a client can create items in a folder.
canCreateSubFolders() Gets or sets a value indicating whether the client can create subfolders.
canCreateSubFolders(boolean value) Gets or sets a value indicating whether the client can create subfolders.
isFolderOwner() Gets or sets a value indicating whether the user is the owner of a folder.
setFolderOwner(boolean value) Gets or sets a value indicating whether the user is the owner of a folder.
isFolderVisible() Gets or sets a value indicating whether a user can view a folder.
setFolderVisible(boolean value) Gets or sets a value indicating whether a user can view a folder.
isFolderContact() Gets or sets a value indicating whether a user is a contact for a folder.
setFolderContact(boolean value) Gets or sets a value indicating whether a user is a contact for a folder.
getEditItems() Gets or sets a value indicating whether a client can edit items.
setEditItems(int value) Gets or sets a value indicating whether a client can edit items.
getDeleteItems() Gets or sets a value indicating whether the client can delete items.
setDeleteItems(int value) Gets or sets a value indicating whether the client can delete items.

getUserInfo()

public final ExchangeFolderUserInfo getUserInfo()

Gets or sets a user or a delegate user who has folder access permissions

Returns: ExchangeFolderUserInfo

setUserInfo(ExchangeFolderUserInfo value)

public final void setUserInfo(ExchangeFolderUserInfo value)

Gets or sets a user or a delegate user who has folder access permissions

Parameters:

Parameter Type Description
value ExchangeFolderUserInfo

canCreateItems()

public final boolean canCreateItems()

Gets or sets a value indicating whether a client can create items in a folder.

Returns: boolean

canCreateItems(boolean value)

public final void canCreateItems(boolean value)

Gets or sets a value indicating whether a client can create items in a folder.

Parameters:

Parameter Type Description
value boolean

canCreateSubFolders()

public final boolean canCreateSubFolders()

Gets or sets a value indicating whether the client can create subfolders.

Returns: boolean

canCreateSubFolders(boolean value)

public final void canCreateSubFolders(boolean value)

Gets or sets a value indicating whether the client can create subfolders.

Parameters:

Parameter Type Description
value boolean

isFolderOwner()

public final boolean isFolderOwner()

Gets or sets a value indicating whether the user is the owner of a folder.

Returns: boolean

setFolderOwner(boolean value)

public final void setFolderOwner(boolean value)

Gets or sets a value indicating whether the user is the owner of a folder.

Parameters:

Parameter Type Description
value boolean

isFolderVisible()

public final boolean isFolderVisible()

Gets or sets a value indicating whether a user can view a folder.

Returns: boolean

setFolderVisible(boolean value)

public final void setFolderVisible(boolean value)

Gets or sets a value indicating whether a user can view a folder.

Parameters:

Parameter Type Description
value boolean

isFolderContact()

public final boolean isFolderContact()

Gets or sets a value indicating whether a user is a contact for a folder.

Returns: boolean

setFolderContact(boolean value)

public final void setFolderContact(boolean value)

Gets or sets a value indicating whether a user is a contact for a folder.

Parameters:

Parameter Type Description
value boolean

getEditItems()

public final int getEditItems()

Gets or sets a value indicating whether a client can edit items.

Returns: int

setEditItems(int value)

public final void setEditItems(int value)

Gets or sets a value indicating whether a client can edit items.

Parameters:

Parameter Type Description
value int

getDeleteItems()

public final int getDeleteItems()

Gets or sets a value indicating whether the client can delete items.

Returns: int

setDeleteItems(int value)

public final void setDeleteItems(int value)

Gets or sets a value indicating whether the client can delete items.

Parameters:

Parameter Type Description
value int