removed support for Document Workflow, upgrade astyanax dependency to 2.0.2
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@131773 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
42e9bbdabb
commit
3b12142c43
|
@ -2419,27 +2419,6 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
|
|||
else if (type.compareTo("JOB_COMPLETED_OK") == 0) {
|
||||
return NotificationType.JOB_COMPLETED_OK;
|
||||
}
|
||||
else if (type.compareTo("DOCUMENT_WORKFLOW_EDIT") == 0) {
|
||||
return NotificationType.DOCUMENT_WORKFLOW_EDIT;
|
||||
}
|
||||
else if (type.compareTo("DOCUMENT_WORKFLOW_VIEW") == 0) {
|
||||
return NotificationType.DOCUMENT_WORKFLOW_VIEW;
|
||||
}
|
||||
else if (type.compareTo("DOCUMENT_WORKFLOW_FORWARD_STEP_COMPLETED_OWNER") == 0) {
|
||||
return NotificationType.DOCUMENT_WORKFLOW_FORWARD_STEP_COMPLETED_OWNER;
|
||||
}
|
||||
else if (type.compareTo("DOCUMENT_WORKFLOW_STEP_FORWARD_PEER") == 0) {
|
||||
return NotificationType.DOCUMENT_WORKFLOW_STEP_FORWARD_PEER;
|
||||
}
|
||||
else if (type.compareTo("DOCUMENT_WORKFLOW_STEP_REQUEST_TASK") == 0) {
|
||||
return NotificationType.DOCUMENT_WORKFLOW_STEP_REQUEST_TASK;
|
||||
}
|
||||
else if (type.compareTo("DOCUMENT_WORKFLOW_USER_FORWARD_TO_OWNER") == 0) {
|
||||
return NotificationType.DOCUMENT_WORKFLOW_USER_FORWARD_TO_OWNER;
|
||||
}
|
||||
else if (type.compareTo("DOCUMENT_WORKFLOW_FIRST_STEP_REQUEST_INVOLVMENT") == 0) {
|
||||
return NotificationType.DOCUMENT_WORKFLOW_FIRST_STEP_REQUEST_INVOLVMENT;
|
||||
}
|
||||
else if (type.compareTo("TDM_TAB_RESOURCE_SHARE") == 0) {
|
||||
return NotificationType.TDM_TAB_RESOURCE_SHARE;
|
||||
}
|
||||
|
|
|
@ -113,40 +113,6 @@ public enum NotificationType {
|
|||
* 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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue