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
This commit is contained in:
parent
376c79e051
commit
d3d20ca914
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue