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:
Massimiliano Assante 2013-03-27 10:02:24 +00:00
parent 3285746e98
commit c3fdefeeb6
2 changed files with 1095 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

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