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