|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gcube.applicationsupportlayer.social.AslNotificationManager
public class AslNotificationManager
| Constructor Summary | |
|---|---|
AslNotificationManager(org.gcube.application.framework.core.session.ASLSession session)
|
|
| Method Summary | |
|---|---|
boolean |
notifyAddedItem(String userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem newItem)
use to notify a user he got a workspace item new in some of his workspace shared folder |
boolean |
notifyCommentReply(String userIdToNotify,
org.gcube.portal.databook.shared.Comment comment)
use to notify a user that commented on a feed (Not his) that someone commented too |
boolean |
notifyFolderAddedUser(String userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder,
String newAddedUserId)
use to notify a user that a new user was added in on of his workspace shared folder |
boolean |
notifyFolderRemovedUser(String userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder,
String removedUserId)
use to notify a user that an existing user was removed from one of his workspace shared folder |
boolean |
notifyFolderSharing(String userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder)
use to notify a user he got a workspace folder shared |
boolean |
notifyLikedFeed(String userIdToNotify,
org.gcube.portal.databook.shared.Feed likedFeed)
use to notify a user he got one of his feed liked |
boolean |
notifyMessageReceived(String userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.sharing.WorkspaceMessage message)
|
boolean |
notifyOwnCommentReply(String userIdToNotify,
org.gcube.portal.databook.shared.Comment comment)
|
boolean |
notifyRemovedItem(String userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem removedItem)
use to notify a user he got a workspace item deleted from one of his workspace shared folder |
boolean |
notifyUpdatedItem(String userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem updatedItem)
use to notify a user he got a workspace item updated from one of his workspace shared folder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AslNotificationManager(org.gcube.application.framework.core.session.ASLSession session)
| Method Detail |
|---|
public boolean notifyFolderSharing(String userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder)
notifyFolderSharing in interface NotificationManageruserIdToNotify - the user you want to notifysharedFolder - the shared WorkspaceFolder
public boolean notifyFolderAddedUser(String userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder,
String newAddedUserId)
notifyFolderAddedUser in interface NotificationManageruserIdToNotify - the user you want to notifysharedFolder - the shared WorkspaceFoldernewAddedUserId - the new user that was added
public boolean notifyFolderRemovedUser(String userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder,
String removedUserId)
notifyFolderRemovedUser in interface NotificationManageruserIdToNotify - the user you want to notifysharedFolder - the shared WorkspaceFolderremovedUserId - the new user that was removed
public boolean notifyAddedItem(String userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem newItem)
notifyAddedItem in interface NotificationManageruserIdToNotify - the user you want to notifynewItem - the new shared WorkspaceItem
public boolean notifyRemovedItem(String userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem removedItem)
notifyRemovedItem in interface NotificationManageruserIdToNotify - the user you want to notifyremovedItem - the removed WorkspaceItem
public boolean notifyUpdatedItem(String userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem updatedItem)
notifyUpdatedItem in interface NotificationManageruserIdToNotify - the user you want to notifyupdatedItem - the updated shared WorkspaceItem
public boolean notifyMessageReceived(String userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.sharing.WorkspaceMessage message)
notifyMessageReceived in interface NotificationManageruserIdToNotify - the user you want to notifymessage - the WorkspaceMessage sent
public boolean notifyOwnCommentReply(String userIdToNotify,
org.gcube.portal.databook.shared.Comment comment)
notifyOwnCommentReply in interface NotificationManageruserIdToNotify - the user you want to notifycomment - the Comment instance to which someone replied to
public boolean notifyCommentReply(String userIdToNotify,
org.gcube.portal.databook.shared.Comment comment)
notifyCommentReply in interface NotificationManageruserIdToNotify - the user you want to notifycomment - the Comment instance to which someone replied to
public boolean notifyLikedFeed(String userIdToNotify,
org.gcube.portal.databook.shared.Feed likedFeed)
notifyLikedFeed in interface NotificationManageruserIdToNotify - the user you want to notifylikedFeed - the Feed instance someone liked
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||