diff --git a/src/main/java/org/gcube/portal/databook/server/DBCassandraAstyanaxImpl.java b/src/main/java/org/gcube/portal/databook/server/DBCassandraAstyanaxImpl.java index 0219765..f863b56 100644 --- a/src/main/java/org/gcube/portal/databook/server/DBCassandraAstyanaxImpl.java +++ b/src/main/java/org/gcube/portal/databook/server/DBCassandraAstyanaxImpl.java @@ -1248,6 +1248,21 @@ 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_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) { return NotificationType.GENERIC; }