added new notification Types
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@68502 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c4d4db0e77
commit
a7dcae15ac
1089
.gwt/.gwt-log
1089
.gwt/.gwt-log
File diff suppressed because it is too large
Load Diff
|
@ -1254,8 +1254,8 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
|
||||||
else if (type.compareTo("DOCUMENT_WORKFLOW_VIEW") == 0) {
|
else if (type.compareTo("DOCUMENT_WORKFLOW_VIEW") == 0) {
|
||||||
return NotificationType.DOCUMENT_WORKFLOW_VIEW;
|
return NotificationType.DOCUMENT_WORKFLOW_VIEW;
|
||||||
}
|
}
|
||||||
else if (type.compareTo("DOCUMENT_WORKFLOW_STEP_FORWARD_OWNER") == 0) {
|
else if (type.compareTo("DOCUMENT_WORKFLOW_FORWARD_STEP_COMPLETED_OWNER") == 0) {
|
||||||
return NotificationType.DOCUMENT_WORKFLOW_STEP_FORWARD_OWNER;
|
return NotificationType.DOCUMENT_WORKFLOW_FORWARD_STEP_COMPLETED_OWNER;
|
||||||
}
|
}
|
||||||
else if (type.compareTo("DOCUMENT_WORKFLOW_STEP_FORWARD_PEER") == 0) {
|
else if (type.compareTo("DOCUMENT_WORKFLOW_STEP_FORWARD_PEER") == 0) {
|
||||||
return NotificationType.DOCUMENT_WORKFLOW_STEP_FORWARD_PEER;
|
return NotificationType.DOCUMENT_WORKFLOW_STEP_FORWARD_PEER;
|
||||||
|
@ -1263,6 +1263,9 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
|
||||||
else if (type.compareTo("DOCUMENT_WORKFLOW_STEP_REQUEST_TASK") == 0) {
|
else if (type.compareTo("DOCUMENT_WORKFLOW_STEP_REQUEST_TASK") == 0) {
|
||||||
return NotificationType.DOCUMENT_WORKFLOW_STEP_REQUEST_TASK;
|
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("GENERIC") == 0) {
|
else if (type.compareTo("GENERIC") == 0) {
|
||||||
return NotificationType.GENERIC;
|
return NotificationType.GENERIC;
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,21 +69,25 @@ public enum NotificationType {
|
||||||
* has viewed a document involved in a worflow he created
|
* has viewed a document involved in a worflow he created
|
||||||
*/
|
*/
|
||||||
DOCUMENT_WORKFLOW_VIEW,
|
DOCUMENT_WORKFLOW_VIEW,
|
||||||
/**
|
|
||||||
* use to notify a document workflow owner that someone
|
|
||||||
* has forwarded to another step a document worflow he created
|
|
||||||
*/
|
|
||||||
DOCUMENT_WORKFLOW_STEP_FORWARD_OWNER,
|
|
||||||
/**
|
|
||||||
* use to notify a document workflow peer (user that in the same step has your same role)
|
|
||||||
* that someone has forwarded to another step a document worflow he was involved into
|
|
||||||
*/
|
|
||||||
DOCUMENT_WORKFLOW_STEP_FORWARD_PEER,
|
|
||||||
/**
|
/**
|
||||||
* use to notify a document workflow user (user that in the same document workflow)
|
* 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
|
* that forwarded to a step where he is requested to do a task
|
||||||
*/
|
*/
|
||||||
DOCUMENT_WORKFLOW_STEP_REQUEST_TASK,
|
DOCUMENT_WORKFLOW_STEP_REQUEST_TASK,
|
||||||
|
/**
|
||||||
|
* 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
|
* generic notification
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue