added new notification Type fo distinguishing between creation and forward
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@68535 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a7dcae15ac
commit
c0c84cb321
|
@ -1266,6 +1266,9 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
|
|||
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("GENERIC") == 0) {
|
||||
return NotificationType.GENERIC;
|
||||
}
|
||||
|
|
|
@ -74,6 +74,11 @@ public enum NotificationType {
|
|||
* 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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue