public enum WorkspaceEventType extends Enum<WorkspaceEventType>
| Enum Constant and Description |
|---|
FOLDER_ADDEDUSER
use to notify that new user(s) were added in on of his workspace shared folder
|
FOLDER_ADMIN_DOWNGRADE
use to notify a user that he got downgraded from being administrator of a shared folder
|
FOLDER_ADMIN_UPGRADE
use to notify a user that he got upgraded to administrator of a shared folder
|
FOLDER_REMOVEDUSER
use to notify user(s) that they were removed from a workspace shared folder
|
FOLDER_RENAME
use to notify a workspace folder renamed
|
FOLDER_SHARE
use to notify a user he got a workspace folder shared
|
FOLDER_UNSHARE
use to notify a workspace folder Unshared
|
ITEM_DELETE
use to notify a user she got a workspace item deleted from one of his workspace shared folder
|
ITEM_NEW
use to notify a user she got a workspace item new in some of her workspace shared folder
|
ITEM_UPDATE
use to notify a user he got a workspace item updated from one of his workspace shared folder
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends WorkspaceEvent> |
getNotificationClass() |
static WorkspaceEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkspaceEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkspaceEventType ITEM_NEW
public static final WorkspaceEventType ITEM_DELETE
public static final WorkspaceEventType ITEM_UPDATE
public static final WorkspaceEventType FOLDER_SHARE
public static final WorkspaceEventType FOLDER_UNSHARE
public static final WorkspaceEventType FOLDER_RENAME
public static final WorkspaceEventType FOLDER_ADMIN_UPGRADE
public static final WorkspaceEventType FOLDER_ADMIN_DOWNGRADE
public static final WorkspaceEventType FOLDER_ADDEDUSER
public static final WorkspaceEventType FOLDER_REMOVEDUSER
public static WorkspaceEventType[] values()
for (WorkspaceEventType c : WorkspaceEventType.values()) System.out.println(c);
public static WorkspaceEventType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Class<? extends WorkspaceEvent> getNotificationClass()
Copyright © 2022. All rights reserved.