added 2 new notifications support in cassandra: renamed folder and renamed item
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@71831 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
3285746e98
commit
c3fdefeeb6
1089
.gwt/.gwt-log
1089
.gwt/.gwt-log
File diff suppressed because it is too large
Load Diff
|
@ -1358,6 +1358,9 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
|
|||
if (type.compareTo("WP_FOLDER_SHARE") == 0) {
|
||||
return NotificationType.WP_FOLDER_SHARE;
|
||||
}
|
||||
else if (type.compareTo("WP_FOLDER_RENAMED") == 0) {
|
||||
return NotificationType.WP_FOLDER_RENAMED;
|
||||
}
|
||||
else if (type.compareTo("WP_FOLDER_ADDEDUSER") == 0) {
|
||||
return NotificationType.WP_FOLDER_ADDEDUSER;
|
||||
}
|
||||
|
@ -1373,6 +1376,9 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
|
|||
else if (type.compareTo("WP_ITEM_NEW") == 0) {
|
||||
return NotificationType.WP_ITEM_NEW;
|
||||
}
|
||||
else if (type.compareTo("WP_ITEM_RENAMED") == 0) {
|
||||
return NotificationType.WP_ITEM_RENAMED;
|
||||
}
|
||||
else if (type.compareTo("OWN_COMMENT") == 0) {
|
||||
return NotificationType.OWN_COMMENT;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue