added the document workflow edit and view notifications
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@68415 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
705d2e9316
commit
c4d4db0e77
|
@ -1248,6 +1248,21 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
|
||||||
else if (type.compareTo("JOB_COMPLETED_OK") == 0) {
|
else if (type.compareTo("JOB_COMPLETED_OK") == 0) {
|
||||||
return NotificationType.JOB_COMPLETED_OK;
|
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_STEP_FORWARD_OWNER") == 0) {
|
||||||
|
return NotificationType.DOCUMENT_WORKFLOW_STEP_FORWARD_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("GENERIC") == 0) {
|
else if (type.compareTo("GENERIC") == 0) {
|
||||||
return NotificationType.GENERIC;
|
return NotificationType.GENERIC;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue