Enum Class WorkspaceEventType
java.lang.Object
java.lang.Enum<WorkspaceEventType>
org.gcube.social_networking.socialnetworking.model.beans.workspace.WorkspaceEventType
- All Implemented Interfaces:
Serializable,Comparable<WorkspaceEventType>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionuse to notify that new user(s) were added in on of his workspace shared folderuse to notify a user that he got downgraded from being administrator of a shared folderuse to notify a user that he got upgraded to administrator of a shared folderuse to notify user(s) that they were removed from a workspace shared folderuse to notify a workspace folder renameduse to notify a user he got a workspace folder shareduse to notify a workspace folder Unshareduse to notify a user she got a workspace item deleted from one of his workspace shared folderuse to notify a user she got a workspace item new in some of her workspace shared folderuse to notify a user he got a workspace item updated from one of his workspace shared folder -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends WorkspaceEvent>static WorkspaceEventTypeReturns the enum constant of this class with the specified name.static WorkspaceEventType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ITEM_NEW
use to notify a user she got a workspace item new in some of her workspace shared folder -
ITEM_DELETE
use to notify a user she got a workspace item deleted from one of his workspace shared folder -
ITEM_UPDATE
use to notify a user he got a workspace item updated from one of his workspace shared folder -
FOLDER_SHARE
use to notify a user he got a workspace folder shared -
FOLDER_UNSHARE
use to notify a workspace folder Unshared -
FOLDER_RENAME
use to notify a workspace folder renamed -
FOLDER_ADMIN_UPGRADE
use to notify a user that he got upgraded to administrator of a shared folder -
FOLDER_ADMIN_DOWNGRADE
use to notify a user that he got downgraded from being administrator of a shared folder -
FOLDER_ADDEDUSER
use to notify that new user(s) were added in on of his workspace shared folder -
FOLDER_REMOVEDUSER
use to notify user(s) that they were removed from a workspace shared folder
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNotificationClass
-