From d3d20ca914b236c116c7be66945ffc2030163b36 Mon Sep 17 00:00:00 2001 From: "massimiliano.assante" Date: Fri, 11 Jan 2013 13:29:14 +0000 Subject: [PATCH] unified get params git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerSocial@67506 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../social/ApplicationNotificationsManager.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/gcube/applicationsupportlayer/social/ApplicationNotificationsManager.java b/src/main/java/org/gcube/applicationsupportlayer/social/ApplicationNotificationsManager.java index 4922e8f..7791d4c 100644 --- a/src/main/java/org/gcube/applicationsupportlayer/social/ApplicationNotificationsManager.java +++ b/src/main/java/org/gcube/applicationsupportlayer/social/ApplicationNotificationsManager.java @@ -59,7 +59,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen userIdToNotify, //user no notify sharedFolder.getId(), //the new Date(), - "?folder="+sharedFolder.getId(), + "?oid="+sharedFolder.getId(), "has shared a workspace folder ("+ sharedFolder.getName() +") with you", false, aslSession.getUsername(), @@ -84,7 +84,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen userIdToNotify, //user no notify sharedFolder.getId(), //the new Date(), - "?folder="+sharedFolder.getId(), + "?oid="+sharedFolder.getId(), "has added a new user ("+ user.getFullname() +") on your workspace shared folder ("+ sharedFolder.getName() +")", false, aslSession.getUsername(), @@ -106,7 +106,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen userIdToNotify, //user no notify sharedFolder.getId(), //the new Date(), - "?folder="+sharedFolder.getId(), + "?oid="+sharedFolder.getId(), "has removed a user ("+ user.getFullname() +") from your workspace shared folder ("+ sharedFolder.getName() +")", false, aslSession.getUsername(), @@ -127,7 +127,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen userIdToNotify, //user no notify item.getId(), //the new Date(), - "?folder="+item.getParent().getId()+"&item="+item.getId(), + "?oid="+item.getId()+"&parentoid="+item.getParent().getId(), "has added a new item ("+ item.getName() +") on your workspace shared folder ("+ item.getParent().getName() +")", false, aslSession.getUsername(), @@ -148,7 +148,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen userIdToNotify, //user no notify item.getId(), //the new Date(), - "?folder="+item.getParent().getId()+"&item="+item.getId(), + "?oid="+item.getId()+"&parentoid="+item.getParent().getId(), "has removed an item ("+ item.getName() +") from your workspace shared folder ("+ item.getParent().getName() +")", false, aslSession.getUsername(), @@ -167,7 +167,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen UUID.randomUUID().toString(), NotificationType.WP_ITEM_UPDATED, userIdToNotify, //user no notify - item.getId(), //the + "?oid="+item.getId()+"&parentoid="+item.getParent().getId(), new Date(), "?folder="+item.getParent().getId()+"&item="+item.getId(), "has updated an item ("+ item.getName() +") on your workspace shared folder ("+ item.getParent().getName() +")", @@ -209,7 +209,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen userIdToNotify, //user no notify feedid, //the post new Date(), - "?feedid="+feedid, + "?oid="+feedid, "commented on your post: " + escapeHtml(feedText), false, aslSession.getUsername(), @@ -236,7 +236,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen userIdToNotify, //user no notify feedid, //the post new Date(), - "?feedid="+feedid, + "?oid="+feedid, "likes your post: " + escapeHtml(feedText), false, aslSession.getUsername(),