Package org.gcube.portal.databook.shared
Enum Class NotificationType
- All Implemented Interfaces:
Serializable,Comparable<NotificationType>,Constable
- Author:
- Massimiliano Assante ISTI-CNR TODO: Buggy if NotificationType for WP_* are refactored see DBCassandraAstyanaxImpl#getUserNotificationPreferences(String userid) introduced due to urgent matters
-
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 a user that someone in his VRE created a new Event in the Calendaruse to notify a user that someone in his VRE deleted an Event in the Calendaruse to notify a user that someone in his VRE updated an Event in the Calendarcatalogue, use to notify someone removed an itemcatalogue, use to notify someone published an itemcatalogue, use to notify someone rejected a submitted itemcatalogue, use to notify someone submits an item for considerationcatalogue, use to notify someone updated an itemuse to notify a user that commented on a feed (Not his) that someone commented tooDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.generic notificationuse to notify a user he got a job completed not okuse to notify a user he got a job completed okuse to notify a user he got one of his feed likeduse to notify a user that he got mentioned in one postuse to notify a user he got a messageuse to notify a user he got one of his feed commenteduse to notify every user of a VRE/Group that the post was madeuse to notify a user he got a connections requestuse to notify a user he got a TDM Rule shareduse to notify a user he got a Tabular Resource shareduse to notify a user he got a TDM Templated shareduse to notify a user that he got downgraded from administrator of a shared folderuse to notify a user that he got upgraded to administrator of a shared folderuse to notify a user that a new user was added in on of his workspace shared folderuse to notify a user that an existing user was removed from one of his workspace shared folderuse to notify a user he got a workspace folder renameduse to notify a user he got a workspace folder shareduse to notify a user that a user in the share unshareduse to notify a user he got a workspace item deleted from one of his workspace shared folderuse to notify a user he got a workspace item new in some of his workspace shared folderuse to notify a user he got a workspace item renamed from one of his workspace shared folderuse to notify a user he got a workspace item updated from one of his workspace shared folder -
Method Summary
Modifier and TypeMethodDescriptionstatic NotificationTypeReturns the enum constant of this class with the specified name.static NotificationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TDM_TAB_RESOURCE_SHARE
use to notify a user he got a Tabular Resource shared -
TDM_RULE_SHARE
use to notify a user he got a TDM Rule shared -
TDM_TEMPLATE_SHARE
use to notify a user he got a TDM Templated shared -
WP_FOLDER_SHARE
use to notify a user he got a workspace folder shared -
WP_FOLDER_UNSHARE
use to notify a user that a user in the share unshared -
WP_ADMIN_UPGRADE
use to notify a user that he got upgraded to administrator of a shared folder -
WP_ADMIN_DOWNGRADE
use to notify a user that he got downgraded from administrator of a shared folder -
WP_FOLDER_ADDEDUSER
use to notify a user that a new user was added in on of his workspace shared folder -
WP_FOLDER_REMOVEDUSER
use to notify a user that an existing user was removed from one of his workspace shared folder -
WP_FOLDER_RENAMED
use to notify a user he got a workspace folder renamed -
WP_ITEM_DELETE
use to notify a user he got a workspace item deleted from one of his workspace shared folder -
WP_ITEM_UPDATED
use to notify a user he got a workspace item updated from one of his workspace shared folder -
WP_ITEM_RENAMED
use to notify a user he got a workspace item renamed from one of his workspace shared folder -
WP_ITEM_NEW
use to notify a user he got a workspace item new in some of his workspace shared folder -
OWN_COMMENT
use to notify a user he got one of his feed commented -
COMMENT
use to notify a user that commented on a feed (Not his) that someone commented too -
MENTION
use to notify a user that he got mentioned in one post -
LIKE
use to notify a user he got one of his feed liked -
MESSAGE
use to notify a user he got a message -
POST_ALERT
use to notify every user of a VRE/Group that the post was made -
CALENDAR_ADDED_EVENT
use to notify a user that someone in his VRE created a new Event in the Calendar -
CALENDAR_UPDATED_EVENT
use to notify a user that someone in his VRE updated an Event in the Calendar -
CALENDAR_DELETED_EVENT
use to notify a user that someone in his VRE deleted an Event in the Calendar -
REQUEST_CONNECTION
use to notify a user he got a connections request -
JOB_COMPLETED_OK
use to notify a user he got a job completed ok -
JOB_COMPLETED_NOK
use to notify a user he got a job completed not ok -
DOCUMENT_WORKFLOW_EDIT
Deprecated.use to notify a document workflow owner that someone has edited a document involved in a worflow he created -
DOCUMENT_WORKFLOW_VIEW
Deprecated.use to notify a document workflow owner that someone has viewed a document involved in a worflow he created -
DOCUMENT_WORKFLOW_STEP_REQUEST_TASK
Deprecated.use to notify a document workflow user (user that in the same document workflow) that forwarded to a step where he is requested to do a task -
DOCUMENT_WORKFLOW_FIRST_STEP_REQUEST_INVOLVMENT
Deprecated.use to notify a document workflow user that he was involved into a new Document Workflow and he is requested to do a task -
DOCUMENT_WORKFLOW_USER_FORWARD_TO_OWNER
Deprecated.use to notify a document workflow owner that a user performed a forward action to another step a document worflow he created -
DOCUMENT_WORKFLOW_FORWARD_STEP_COMPLETED_OWNER
Deprecated.use to notify a document workflow owner that someone forwarded and the workflow moved to another step a document worflow he created -
DOCUMENT_WORKFLOW_STEP_FORWARD_PEER
Deprecated.use to notify a document workflow peer (user that in the same step has your same role) that someone performed a forward action to another step in a document worflow he is involved into -
CAT_ITEM_SUBMITTED
catalogue, use to notify someone submits an item for consideration -
CAT_ITEM_REJECTED
catalogue, use to notify someone rejected a submitted item -
CAT_ITEM_PUBLISHED
catalogue, use to notify someone published an item -
CAT_ITEM_UPDATED
catalogue, use to notify someone updated an item -
CAT_ITEM_DELETE
catalogue, use to notify someone removed an item -
GENERIC
generic notification
-
-
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
-