fixed notifications urls for workspace

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerSocial@128961 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2016-06-01 13:46:04 +00:00
parent d8e9cfb085
commit 93e572200c
1 changed files with 13 additions and 13 deletions

View File

@ -149,7 +149,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen
userIdToNotify, //user no notify userIdToNotify, //user no notify
sharedFolder.getId(), sharedFolder.getId(),
new Date(), new Date(),
getApplicationUrl()+"?itemid="+sharedFolder.getId(), siteLandingPagePath + GCubePortalConstants.USER_WORKSPACE_FRIENDLY_URL +"?itemid="+sharedFolder.getId(),
"shared the workspace folder \""+ sharedFolderName +"\" with you", "shared the workspace folder \""+ sharedFolderName +"\" with you",
false, false,
currUser.getUsername(), currUser.getUsername(),
@ -170,7 +170,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen
userIdToNotify, //user no notify userIdToNotify, //user no notify
unsharedFolderId, unsharedFolderId,
new Date(), new Date(),
getApplicationUrl()+"?itemid="+unsharedFolderId, siteLandingPagePath + GCubePortalConstants.USER_WORKSPACE_FRIENDLY_URL +"?itemid="+unsharedFolderId,
"unshared the workspace folder \""+ unsharedFolderName+"\"", "unshared the workspace folder \""+ unsharedFolderName+"\"",
false, false,
currUser.getUsername(), currUser.getUsername(),
@ -192,7 +192,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen
userIdToNotify, //user no notify userIdToNotify, //user no notify
sharedFolder.getId(), sharedFolder.getId(),
new Date(), new Date(),
getApplicationUrl()+"?itemid="+sharedFolder.getId(), siteLandingPagePath + GCubePortalConstants.USER_WORKSPACE_FRIENDLY_URL +"?itemid="+sharedFolder.getId(),
"upgraded you to Administrator of the workspace folder \""+ sharedFolderName+"\"", "upgraded you to Administrator of the workspace folder \""+ sharedFolderName+"\"",
false, false,
currUser.getUsername(), currUser.getUsername(),
@ -214,7 +214,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen
userIdToNotify, //user no notify userIdToNotify, //user no notify
sharedFolder.getId(), sharedFolder.getId(),
new Date(), new Date(),
getApplicationUrl()+"?itemid="+sharedFolder.getId(), siteLandingPagePath + GCubePortalConstants.USER_WORKSPACE_FRIENDLY_URL +"?itemid="+sharedFolder.getId(),
"downgraded you from Administrator of the workspace folder \""+ sharedFolderName+"\"", "downgraded you from Administrator of the workspace folder \""+ sharedFolderName+"\"",
false, false,
currUser.getUsername(), currUser.getUsername(),
@ -236,7 +236,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen
userIdToNotify, //user no notify userIdToNotify, //user no notify
renamedFolderId, //the renamedFolderId, //the
new Date(), new Date(),
getApplicationUrl()+"?itemid="+renamedFolderId, siteLandingPagePath + GCubePortalConstants.USER_WORKSPACE_FRIENDLY_URL +"?itemid="+renamedFolderId,
"renamed your shared folder \""+ previousName +"\" as \"" + newName+"\"", "renamed your shared folder \""+ previousName +"\" as \"" + newName+"\"",
false, false,
currUser.getUsername(), currUser.getUsername(),
@ -261,7 +261,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen
userIdToNotify, //user no notify userIdToNotify, //user no notify
sharedFolder.getId(), //the sharedFolder.getId(), //the
new Date(), new Date(),
getApplicationUrl()+"?itemid="+sharedFolder.getId(), siteLandingPagePath + GCubePortalConstants.USER_WORKSPACE_FRIENDLY_URL +"?itemid="+sharedFolder.getId(),
"added "+ user.getFullname() +" to your workspace shared folder \""+ sharedFolder.getName()+"\"", "added "+ user.getFullname() +" to your workspace shared folder \""+ sharedFolder.getName()+"\"",
false, false,
currUser.getUsername(), currUser.getUsername(),
@ -292,7 +292,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen
userIdToNotify, //user no notify userIdToNotify, //user no notify
sharedFolder.getId(), //the sharedFolder.getId(), //the
new Date(), new Date(),
getApplicationUrl()+"?itemid="+sharedFolder.getId(), siteLandingPagePath + GCubePortalConstants.USER_WORKSPACE_FRIENDLY_URL +"?itemid="+sharedFolder.getId(),
"added "+ addedUsersFullNames +" to your workspace shared folder \""+ sharedFolder.getName()+"\"", "added "+ addedUsersFullNames +" to your workspace shared folder \""+ sharedFolder.getName()+"\"",
false, false,
currUser.getUsername(), currUser.getUsername(),
@ -315,7 +315,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen
userIdToNotify, //user no notify userIdToNotify, //user no notify
sharedFolder.getId(), //the sharedFolder.getId(), //the
new Date(), new Date(),
getApplicationUrl()+"?itemid="+sharedFolder.getId(), siteLandingPagePath + GCubePortalConstants.USER_WORKSPACE_FRIENDLY_URL +"?itemid="+sharedFolder.getId(),
"unshared his shared folder \""+ sharedFolder.getName() + "\" from your workspace", "unshared his shared folder \""+ sharedFolder.getName() + "\" from your workspace",
false, false,
currUser.getUsername(), currUser.getUsername(),
@ -340,7 +340,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen
userIdToNotify, //user no notify userIdToNotify, //user no notify
item.getId(), //the item.getId(), //the
new Date(), new Date(),
getApplicationUrl()+"?itemid="+item.getParent().getId(), siteLandingPagePath + GCubePortalConstants.USER_WORKSPACE_FRIENDLY_URL +"?itemid="+item.getParent().getId(),
notifyText, notifyText,
false, false,
currUser.getUsername(), currUser.getUsername(),
@ -364,7 +364,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen
userIdToNotify, //user no notify userIdToNotify, //user no notify
item.getId(), //the item.getId(), //the
new Date(), new Date(),
getApplicationUrl()+"?itemid="+sharedFolder.getId(), siteLandingPagePath + GCubePortalConstants.USER_WORKSPACE_FRIENDLY_URL +"?itemid="+sharedFolder.getId(),
notifyText, notifyText,
false, false,
currUser.getUsername(), currUser.getUsername(),
@ -388,7 +388,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen
userIdToNotify, //user no notify userIdToNotify, //user no notify
sharedFolder.getId(), //the sharedFolder.getId(), //the
new Date(), new Date(),
getApplicationUrl()+"?itemid="+sharedFolder.getId(), siteLandingPagePath + GCubePortalConstants.USER_WORKSPACE_FRIENDLY_URL +"?itemid="+sharedFolder.getId(),
notifyText, notifyText,
false, false,
currUser.getUsername(), currUser.getUsername(),
@ -412,7 +412,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen
userIdToNotify, //user no notify userIdToNotify, //user no notify
item.getId(), //the item.getId(), //the
new Date(), new Date(),
getApplicationUrl()+"?itemid="+item.getParent().getId(), siteLandingPagePath + GCubePortalConstants.USER_WORKSPACE_FRIENDLY_URL +"?itemid="+item.getParent().getId(),
notifyText, notifyText,
false, false,
currUser.getUsername(), currUser.getUsername(),
@ -436,7 +436,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen
userIdToNotify, //user no notify userIdToNotify, //user no notify
renamedItem.getId(), //the renamedItem.getId(), //the
new Date(), new Date(),
getApplicationUrl()+"?itemid="+renamedItem.getParent().getId(), siteLandingPagePath + GCubePortalConstants.USER_WORKSPACE_FRIENDLY_URL +"?itemid="+renamedItem.getParent().getId(),
notifyText, notifyText,
false, false,
currUser.getUsername(), currUser.getUsername(),