public interface NotificationsManager
| Modifier and Type | Method and Description |
|---|---|
boolean |
notifyAddedItem(String userIdToNotify,
SocialFileItem item,
SocialSharedFolder sharedFolder)
use to notify a user he got a workspace item new in some of his workspace shared folder
|
boolean |
notifyAdministratorDowngrade(String userIdToNotify,
SocialSharedFolder sharedFolder)
use to notify a user he got downgraded from Administrator of a folder shared
|
boolean |
notifyAdministratorUpgrade(String userIdToNotify,
SocialSharedFolder sharedFolder)
use to notify a user he got upgraded to Administrator of a folder shared
|
boolean |
notifyCatalogueEvent(org.gcube.portal.databook.shared.NotificationType type,
String userIdToNotify,
String itemId,
String notifyText,
URL url)
use to notify a catalogue moderators someone submitted an item for consideration
|
boolean |
notifyCommentOnFavorite(String userIdToNotify,
String postid,
String commentText,
String commentKey)
Deprecated.
use notifyCommentOnLike
use to notify a user that someone commented on one of his liked posts
|
boolean |
notifyCommentOnLike(String userIdToNotify,
String postid,
String commentText,
String commentKey) |
boolean |
notifyCommentReply(String userIdToNotify,
String postid,
String postText,
String postOwnerFullName,
String postOwnerId,
String commentKey)
use to notify a user that commented on a post (Not his) that someone commented too
|
boolean |
notifyDeletedCalendarEvent(String userIdToNotify,
String eventTitle,
String eventType,
Date startDate,
Date endingDate)
Deprecated.
no longer supported
|
boolean |
notifyEditedCalendarEvent(String userIdToNotify,
String eventTitle,
String eventType,
Date startDate,
Date endingDate)
Deprecated.
no longer supported
|
boolean |
notifyFolderAddedUser(String userIdToNotify,
SocialSharedFolder sharedFolder,
String newAddedUserId)
Deprecated.
user notifyFolderAddedUser passing UserManager class
|
boolean |
notifyFolderAddedUser(String userIdToNotify,
SocialSharedFolder sharedFolder,
String newAddedUserId,
org.gcube.vomanagement.usermanagement.UserManager um)
use to notify a user that a new user was added in on of his workspace shared folder
|
boolean |
notifyFolderAddedUsers(String userIdToNotify,
SocialSharedFolder sharedFolder,
List<String> newAddedUserIds)
Deprecated.
user notifyFolderAddedUser passing UserManager class
|
boolean |
notifyFolderAddedUsers(String userIdToNotify,
SocialSharedFolder sharedFolder,
List<String> newAddedUserIds,
org.gcube.vomanagement.usermanagement.UserManager um)
use to notify a user that a new user was added in on of his workspace shared folder
|
boolean |
notifyFolderRemovedUser(String userIdToNotify,
SocialSharedFolder sharedFolder)
use to notify a user that an existing user was removed from one of his workspace shared folder
|
boolean |
notifyFolderRenaming(String userIdToNotify,
String previousName,
String newName,
String renamedFolderId)
use to notify a user he got a workspace folder renamed
|
boolean |
notifyFolderSharing(String userIdToNotify,
SocialSharedFolder sharedFolder)
use to notify a user he got a workspace folder shared
|
boolean |
notifyFolderUnsharing(String userIdToNotify,
String unsharedFolderId,
String unsharedFolderName)
use to notify a user he got a workspace folder shared
|
boolean |
notifyItemRenaming(String userIdToNotify,
String previousName,
SocialFileItem renamedItem,
SocialSharedFolder rootSharedFolder)
use to notify a user he got a workspace item renamed
|
boolean |
notifyJobStatus(String userIdToNotify,
org.gcube.portal.databook.shared.RunningJob job)
use to notify a user he got one of his job finished
|
boolean |
notifyLikedFeed(String userIdToNotify,
String postid,
String postText)
Deprecated.
use notifyLikedPost
|
boolean |
notifyLikedPost(String userIdToNotify,
String postid,
String postText)
use to notify a user he got one of his post liked
|
boolean |
notifyMessageReceived(String userIdToNotify,
String messageUniqueIdentifier,
String subject,
String messageText,
String... otherRecipientsFullNames) |
boolean |
notifyMovedItem(String userIdToNotify,
SocialFileItem item,
SocialSharedFolder sharedFolder)
use to notify a user he got a workspace item deleted from one of his workspace shared folder
|
boolean |
notifyNewCalendarEvent(String userIdToNotify,
String eventTitle,
String eventType,
Date startDate,
Date endingDate)
Deprecated.
no longer supported
|
boolean |
notifyOwnCommentReply(String userIdToNotify,
String postid,
String postText,
String commentKey)
use to notify a user that someone commented on his post
|
boolean |
notifyPost(String userIdToNotify,
String postid,
String postText,
Set<String> mentionedVREGroups,
Set<String> hashtags)
use to notify a user that someone created this post
|
boolean |
notifyPost(String userIdToNotify,
String postid,
String postText,
String... hashtags)
Deprecated.
|
boolean |
notifyRemovedItem(String userIdToNotify,
String item,
SocialSharedFolder sharedFolder)
use to notify a user he got a workspace item deleted from one of his workspace shared folder
|
boolean |
notifyTDMObjectSharing(String userIdToNotify,
org.gcube.portal.databook.shared.NotificationType type,
String tdmObjectName,
String encodedTabularResourceParams)
Deprecated.
no longer supported
|
boolean |
notifyTDMTabularResourceSharing(String userIdToNotify,
String tabularResourceName,
String encodedTabularResourceParams)
Deprecated.
no longer supported
|
boolean |
notifyUpdatedItem(String userIdToNotify,
SocialFileItem item,
SocialSharedFolder sharedFolder)
use to notify a user he got a workspace item updated from one of his workspace shared folder
|
boolean |
notifyUserTag(String userIdToNotify,
String postid,
String commentText,
String commentKey)
use to notify a user that he was mentioned (tagged) on a post
|
boolean notifyFolderSharing(String userIdToNotify, SocialSharedFolder sharedFolder) throws Exception
userIdToNotify - the user you want to notifysharedFolder - the shared SocialSharedFolder instanceExceptionboolean notifyFolderUnsharing(String userIdToNotify, String unsharedFolderId, String unsharedFolderName) throws Exception
userIdToNotify - the user you want to notifyunsharedFolderId - the unshared folder idunsharedFolderName - the unshared folder nameExceptionboolean notifyAdministratorUpgrade(String userIdToNotify, SocialSharedFolder sharedFolder) throws Exception
userIdToNotify - the user you want to notifysharedFolder - the shared SocialSharedFolder instanceExceptionboolean notifyAdministratorDowngrade(String userIdToNotify, SocialSharedFolder sharedFolder) throws Exception
userIdToNotify - the user you want to notifysharedFolder - the shared SocialSharedFolderExceptionboolean notifyFolderRenaming(String userIdToNotify, String previousName, String newName, String renamedFolderId) throws Exception
userIdToNotify - the user you want to notifypreviousName - the previous name of the foldernewName - the new name of the folderrenamedFolderId - the folderIdExceptionboolean notifyFolderAddedUser(String userIdToNotify, SocialSharedFolder sharedFolder, String newAddedUserId) throws Exception
Exceptionboolean notifyFolderAddedUser(String userIdToNotify, SocialSharedFolder sharedFolder, String newAddedUserId, org.gcube.vomanagement.usermanagement.UserManager um) throws Exception
userIdToNotify - the user you want to notifysharedFolder - the shared SocialSharedFolder instancenewAddedUserId - the new user that was addedUserManager - UserManager class instanceExceptionboolean notifyFolderAddedUsers(String userIdToNotify, SocialSharedFolder sharedFolder, List<String> newAddedUserIds) throws Exception
Exceptionboolean notifyFolderAddedUsers(String userIdToNotify, SocialSharedFolder sharedFolder, List<String> newAddedUserIds, org.gcube.vomanagement.usermanagement.UserManager um) throws Exception
userIdToNotify - the user you want to notifysharedFolder - the shared SocialSharedFolder instancenewAddedUserIds - List of new users that were addedUserManager - UserManager class instanceExceptionboolean notifyFolderRemovedUser(String userIdToNotify, SocialSharedFolder sharedFolder) throws Exception
userIdToNotify - the user you want to notifysharedFolder - the shared SocialSharedFolderExceptionboolean notifyAddedItem(String userIdToNotify, SocialFileItem item, SocialSharedFolder sharedFolder) throws Exception
userIdToNotify - the user you want to notifynewItem - the new shared SocialFileItem instancesharedFolder - the shared folder SocialSharedFolder instanceExceptionboolean notifyMovedItem(String userIdToNotify, SocialFileItem item, SocialSharedFolder sharedFolder) throws Exception
userIdToNotify - the user you want to notifyremovedItem - the removed item instance of SocialFileItemsharedFolder - the shared folder SocialSharedFolderExceptionboolean notifyRemovedItem(String userIdToNotify, String item, SocialSharedFolder sharedFolder) throws Exception
userIdToNotify - the user you want to notifyremovedItem - the removed namesharedFolder - the shared folder SocialSharedFolderExceptionboolean notifyUpdatedItem(String userIdToNotify, SocialFileItem item, SocialSharedFolder sharedFolder) throws Exception
userIdToNotify - the user you want to notifyupdatedItem - the updated shared SocialFileItemsharedFolder - the shared folder SocialSharedFolderExceptionboolean notifyItemRenaming(String userIdToNotify, String previousName, SocialFileItem renamedItem, SocialSharedFolder rootSharedFolder) throws Exception
userIdToNotify - the user you want to notifypreviousName - the previous name of the folderrenamedItem - the renamed SocialFileItemrootSharedFolder - the root shared SocialSharedFolder of the SocialFileItemExceptionboolean notifyMessageReceived(String userIdToNotify, String messageUniqueIdentifier, String subject, String messageText, String... otherRecipientsFullNames)
userIdToNotify - the user you want to notifymessageUniqueIdentifier - the unique identifier of the messagesubject - the subject of the message sentmessageText - the text of the message (text/plain)otherRecipientsFullNames - the Full Names of the other recipients. if anyboolean notifyCatalogueEvent(org.gcube.portal.databook.shared.NotificationType type,
String userIdToNotify,
String itemId,
String notifyText,
URL url)
throws Exception
type - the notification typeuserIdToNotify - the user you want to notifyitemId - the item unique identifiernotifyText - the text of the notificationthe - resolver URL pointing to the itemExceptionboolean notifyNewCalendarEvent(String userIdToNotify, String eventTitle, String eventType, Date startDate, Date endingDate)
boolean notifyEditedCalendarEvent(String userIdToNotify, String eventTitle, String eventType, Date startDate, Date endingDate)
boolean notifyDeletedCalendarEvent(String userIdToNotify, String eventTitle, String eventType, Date startDate, Date endingDate)
@Deprecated boolean notifyPost(String userIdToNotify, String postid, String postText, String... hashtags)
userIdToNotify - the user you want to notifypostid - the liked postidpostText - the liked post text or a portion of itboolean notifyPost(String userIdToNotify, String postid, String postText, Set<String> mentionedVREGroups, Set<String> hashtags)
userIdToNotify - the user you want to notifypostid - the liked postidpostText - the liked post text or a portion of itmentionedVREGroups - the names of the mentioned vre's groups, if anyhashtags - the set of hashtags in the post, if anyboolean notifyOwnCommentReply(String userIdToNotify, String postid, String postText, String commentKey)
userIdToNotify - the user you want to notifypostid - the liked postidpostText - the liked post text or a portion of itcommentKey - when sending email, stop the shown discussion at that commentboolean notifyCommentReply(String userIdToNotify, String postid, String postText, String postOwnerFullName, String postOwnerId, String commentKey)
userIdToNotify - the user you want to notifypostid - the liked postidpostText - the liked post text or a portion of itpostOwnerFullName - the full name of the user who created the postpostOwnerId - the username of the user who created the postcommentKey - when sending email, stop the shown discussion at that commentboolean notifyCommentOnFavorite(String userIdToNotify, String postid, String commentText, String commentKey)
userIdToNotify - the user you want to notifypostid - the liked postidcommentText - the commentTextcommentKey - when sending email, stop the shown discussion at that commentboolean notifyCommentOnLike(String userIdToNotify, String postid, String commentText, String commentKey)
userIdToNotify - the user you want to notifypostid - the liked postidcommentText - the commentTextcommentKey - when sending email, stop the shown discussion at that commentboolean notifyUserTag(String userIdToNotify, String postid, String commentText, String commentKey)
userIdToNotify - the user you want to notifypostid - the liked postidfeedText - the liked feed text or a portion of itcommentKey - when sending email, stop the shown discussion at that comment@Deprecated boolean notifyLikedFeed(String userIdToNotify, String postid, String postText)
userIdToNotify - the user you want to notifypostid - the liked postidpostText - the liked post text or a portion of itboolean notifyLikedPost(String userIdToNotify, String postid, String postText)
userIdToNotify - the user you want to notifypostid - the liked postidpostText - the liked post text or a portion of itboolean notifyJobStatus(String userIdToNotify, org.gcube.portal.databook.shared.RunningJob job)
userIdToNotify - the user you want to notifyboolean notifyTDMTabularResourceSharing(String userIdToNotify, String tabularResourceName, String encodedTabularResourceParams) throws Exception
ExceptionCopyright © 2022. All rights reserved.