social-networking-library/src/main/java/org/gcube/portal/databook/shared/NotificationType.java

101 lines
2.7 KiB
Java

package org.gcube.portal.databook.shared;
/**
* @author Massimiliano Assante ISTI-CNR
*
* @version 1.0 July 6th 2012
*/
public enum NotificationType {
/**
* use to notify a user he got a workspace folder shared
*/
WP_FOLDER_SHARE,
/**
* use to notify a user that a new user was added in on of his workspace shared folder
*/
WP_FOLDER_ADDEDUSER,
/**
* use to notify a user that an existing user was removed from one of his workspace shared folder
*/
WP_FOLDER_REMOVEDUSER,
/**
* use to notify a user he got a workspace item deleted from one of his workspace shared folder
*/
WP_ITEM_DELETE,
/**
* use to notify a user he got a workspace item updated from one of his workspace shared folder
*/
WP_ITEM_UPDATED,
/**
* use to notify a user he got a workspace item new in some of his workspace shared folder
*/
WP_ITEM_NEW,
/**
* use to notify a user he got one of his feed commented
*/
OWN_COMMENT,
/**
* use to notify a user that commented on a feed (Not his) that someone commented too
*/
COMMENT,
/**
* use to notify a user he got one of his feed liked
*/
LIKE,
/**
* use to notify a user he got a message
*/
MESSAGE,
/**
* use to notify a user he got a connections request
*/
REQUEST_CONNECTION,
/**
* use to notify a user he got a job completed ok
*/
JOB_COMPLETED_OK,
/**
* use to notify a user he got a job completed not ok
*/
JOB_COMPLETED_NOK,
/**
* use to notify a document workflow owner that someone
* has edited a document involved in a worflow he created
*/
DOCUMENT_WORKFLOW_EDIT,
/**
* use to notify a document workflow owner that someone
* has viewed a document involved in a worflow he created
*/
DOCUMENT_WORKFLOW_VIEW,
/**
* 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_STEP_REQUEST_TASK,
/**
* 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_FIRST_STEP_REQUEST_INVOLVMENT,
/**
* use to notify a document workflow owner that a user performed a forward action to another step a document worflow he created
*/
DOCUMENT_WORKFLOW_USER_FORWARD_TO_OWNER,
/**
* use to notify a document workflow owner that someone
* forwarded and the workflow moved to another step a document worflow he created
*/
DOCUMENT_WORKFLOW_FORWARD_STEP_COMPLETED_OWNER,
/**
* 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
*/
DOCUMENT_WORKFLOW_STEP_FORWARD_PEER,
/**
* generic notification
*/
GENERIC;
}