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:
Massimiliano Assante 2013-01-28 01:01:02 +00:00
parent 705d2e9316
commit c4d4db0e77
1 changed files with 15 additions and 0 deletions

View File

@ -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;
} }