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
|
userIdToNotify, //user no notify
|
||||||
sharedFolder.getId(), //the
|
sharedFolder.getId(), //the
|
||||||
new Date(),
|
new Date(),
|
||||||
"?folder="+sharedFolder.getId(),
|
"?oid="+sharedFolder.getId(),
|
||||||
"has shared a workspace folder ("+ sharedFolder.getName() +") with you",
|
"has shared a workspace folder ("+ sharedFolder.getName() +") with you",
|
||||||
false,
|
false,
|
||||||
aslSession.getUsername(),
|
aslSession.getUsername(),
|
||||||
|
@ -84,7 +84,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(),
|
||||||
"?folder="+sharedFolder.getId(),
|
"?oid="+sharedFolder.getId(),
|
||||||
"has added a new user ("+ user.getFullname() +") on your workspace shared folder ("+ sharedFolder.getName() +")",
|
"has added a new user ("+ user.getFullname() +") on your workspace shared folder ("+ sharedFolder.getName() +")",
|
||||||
false,
|
false,
|
||||||
aslSession.getUsername(),
|
aslSession.getUsername(),
|
||||||
|
@ -106,7 +106,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(),
|
||||||
"?folder="+sharedFolder.getId(),
|
"?oid="+sharedFolder.getId(),
|
||||||
"has removed a user ("+ user.getFullname() +") from your workspace shared folder ("+ sharedFolder.getName() +")",
|
"has removed a user ("+ user.getFullname() +") from your workspace shared folder ("+ sharedFolder.getName() +")",
|
||||||
false,
|
false,
|
||||||
aslSession.getUsername(),
|
aslSession.getUsername(),
|
||||||
|
@ -127,7 +127,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(),
|
||||||
"?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() +")",
|
"has added a new item ("+ item.getName() +") on your workspace shared folder ("+ item.getParent().getName() +")",
|
||||||
false,
|
false,
|
||||||
aslSession.getUsername(),
|
aslSession.getUsername(),
|
||||||
|
@ -148,7 +148,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(),
|
||||||
"?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() +")",
|
"has removed an item ("+ item.getName() +") from your workspace shared folder ("+ item.getParent().getName() +")",
|
||||||
false,
|
false,
|
||||||
aslSession.getUsername(),
|
aslSession.getUsername(),
|
||||||
|
@ -167,7 +167,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen
|
||||||
UUID.randomUUID().toString(),
|
UUID.randomUUID().toString(),
|
||||||
NotificationType.WP_ITEM_UPDATED,
|
NotificationType.WP_ITEM_UPDATED,
|
||||||
userIdToNotify, //user no notify
|
userIdToNotify, //user no notify
|
||||||
item.getId(), //the
|
"?oid="+item.getId()+"&parentoid="+item.getParent().getId(),
|
||||||
new Date(),
|
new Date(),
|
||||||
"?folder="+item.getParent().getId()+"&item="+item.getId(),
|
"?folder="+item.getParent().getId()+"&item="+item.getId(),
|
||||||
"has updated an item ("+ item.getName() +") on your workspace shared folder ("+ item.getParent().getName() +")",
|
"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
|
userIdToNotify, //user no notify
|
||||||
feedid, //the post
|
feedid, //the post
|
||||||
new Date(),
|
new Date(),
|
||||||
"?feedid="+feedid,
|
"?oid="+feedid,
|
||||||
"commented on your post: " + escapeHtml(feedText),
|
"commented on your post: " + escapeHtml(feedText),
|
||||||
false,
|
false,
|
||||||
aslSession.getUsername(),
|
aslSession.getUsername(),
|
||||||
|
@ -236,7 +236,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen
|
||||||
userIdToNotify, //user no notify
|
userIdToNotify, //user no notify
|
||||||
feedid, //the post
|
feedid, //the post
|
||||||
new Date(),
|
new Date(),
|
||||||
"?feedid="+feedid,
|
"?oid="+feedid,
|
||||||
"likes your post: " + escapeHtml(feedText),
|
"likes your post: " + escapeHtml(feedText),
|
||||||
false,
|
false,
|
||||||
aslSession.getUsername(),
|
aslSession.getUsername(),
|
||||||
|
|
Loading…
Reference in New Issue