|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NotificationsManager
Method Summary | |
---|---|
boolean |
notifyAddedItem(String userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem item,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder)
use to notify a user he got a workspace item new in some of his workspace shared folder |
boolean |
notifyCommentOnFavorite(String userIdToNotify,
String feedid,
String commentText)
use to notify a user that someone commented on one of his favorite posts |
boolean |
notifyCommentReply(String userIdToNotify,
String feedid,
String feedText,
String feedOwnerFullName)
use to notify a user that commented on a post (Not his) that someone commented too |
boolean |
notifyDocumentWorkflowFirstStepRequest(String userIdToNotify,
String documentWorkflowId,
String documentName,
String assignedRole)
use to notify a document workflow user that a new Document Workflow was created and he is involved in the first step and he is requested to do a task |
boolean |
notifyDocumentWorkflowStepForwardComplete(String userIdToNotify,
String documentWorkflowId,
String documentName,
String fromStepName,
String toStepName)
use to notify a document workflow owner that someone forwarded and the workflow moved to another step a document worflow he created |
boolean |
notifyDocumentWorkflowTaskRequest(String userIdToNotify,
String documentWorkflowId,
String documentName,
String assignedRole)
use to notify a document workflow user (user that in the same document workflow) that he is requested to do a task |
boolean |
notifyDocumentWorkflowUpdate(String userIdToNotify,
String documentWorkflowId,
String documentName)
use to notify a document workflow owner that someone has updated a document involved in a worflow he created |
boolean |
notifyDocumentWorkflowUserForward(String userIdToNotify,
String documentWorkflowId,
String documentName,
String fromStepName,
String toStepName)
use to notify a document workflow owner that a user performed a forward action to another step a document worflow he created |
boolean |
notifyDocumentWorkflowView(String userIdToNotify,
String documentWorkflowId,
String documentName)
use to notify a document workflow owner that someone has viewed a document involved in a worflow he created |
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 |
notifyFolderAddedUsers(String userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder,
List<String> newAddedUserIds)
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)
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,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder)
use to notify a user he got a workspace folder shared |
boolean |
notifyItemRenaming(String userIdToNotify,
String previousName,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem renamedItem)
use to notify a user he got a workspace item renamed |
boolean |
notifyJobStatus(String userIdToNotify,
org.gcube.portal.databook.shared.ApplicationProfile executingJobApId,
org.gcube.portal.databook.shared.RunningJob job)
use to notify a user he got one of his job finished |
boolean |
notifyLikedFeed(String userIdToNotify,
String feedid,
String feedText)
use to notify a user he got one of his post liked |
boolean |
notifyMessageReceived(String userIdToNotify,
String subject)
|
boolean |
notifyOwnCommentReply(String userIdToNotify,
String feedid,
String feedText)
use to notify a user that someone commented on his post |
boolean |
notifyRemovedItem(String userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem item,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder)
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 item,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder)
use to notify a user he got a workspace item updated from one of his workspace shared folder |
boolean |
notifyUserTag(String userIdToNotify,
String feedid,
String commentText)
use to notify a user that he was mentioned (tagged) on a post |
Method Detail |
---|
boolean notifyFolderSharing(String userIdToNotify, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder) throws Exception
userIdToNotify
- the user you want to notifysharedFolder
- the shared WorkspaceFolder
Exception
boolean 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 folderId
Exception
boolean notifyFolderAddedUser(String userIdToNotify, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder, String newAddedUserId) throws Exception
userIdToNotify
- the user you want to notifysharedFolder
- the shared WorkspaceFolder
newAddedUserId
- the new user that was added
Exception
boolean notifyFolderAddedUsers(String userIdToNotify, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder, List<String> newAddedUserIds) throws Exception
userIdToNotify
- the user you want to notifysharedFolder
- the shared WorkspaceFolder
newAddedUserIds
- List of new users that were added
Exception
boolean notifyFolderRemovedUser(String userIdToNotify, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder) throws Exception
userIdToNotify
- the user you want to notifysharedFolder
- the shared WorkspaceFolder
Exception
boolean notifyAddedItem(String userIdToNotify, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem item, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder) throws Exception
userIdToNotify
- the user you want to notifynewItem
- the new shared WorkspaceItem
sharedFolder
- the shared folder WorkspaceFolder
Exception
boolean notifyRemovedItem(String userIdToNotify, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem item, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder) throws Exception
userIdToNotify
- the user you want to notifyremovedItem
- the removed WorkspaceItem
sharedFolder
- the shared folder WorkspaceFolder
Exception
boolean notifyUpdatedItem(String userIdToNotify, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem item, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder) throws Exception
userIdToNotify
- the user you want to notifyupdatedItem
- the updated shared WorkspaceItem
sharedFolder
- the shared folder WorkspaceFolder
Exception
boolean notifyItemRenaming(String userIdToNotify, String previousName, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem renamedItem) throws Exception
userIdToNotify
- the user you want to notifypreviousName
- the previous name of the folderrenamedItem
- the renamed WorkspaceItem
Exception
boolean notifyMessageReceived(String userIdToNotify, String subject)
userIdToNotify
- the user you want to notifysubject
- the subject of the message sent
boolean notifyOwnCommentReply(String userIdToNotify, String feedid, String feedText)
userIdToNotify
- the user you want to notifyfeedid
- the liked feedidfeedText
- the liked feed text or a portion of it
boolean notifyCommentReply(String userIdToNotify, String feedid, String feedText, String feedOwnerFullName)
userIdToNotify
- the user you want to notifyfeedid
- the liked feedidfeedText
- the liked feed text or a portion of itfeedOwnerFullName
- the full name of the user who created this post
boolean notifyCommentOnFavorite(String userIdToNotify, String feedid, String commentText)
userIdToNotify
- the user you want to notifyfeedid
- the liked feedidcommentText
- the commentText
boolean notifyUserTag(String userIdToNotify, String feedid, String commentText)
userIdToNotify
- the user you want to notifyfeedid
- the liked feedidfeedText
- the liked feed text or a portion of it
boolean notifyLikedFeed(String userIdToNotify, String feedid, String feedText)
userIdToNotify
- the user you want to notifyfeedid
- the liked feedidfeedText
- the liked feed text or a portion of it
boolean notifyJobStatus(String userIdToNotify, org.gcube.portal.databook.shared.ApplicationProfile executingJobApId, org.gcube.portal.databook.shared.RunningJob job)
userIdToNotify
- the user you want to notifyexecutingApp
- the ApplicationProfile
of the application from which the job was executed/lauched
boolean notifyDocumentWorkflowView(String userIdToNotify, String documentWorkflowId, String documentName)
userIdToNotify
- the user you want to notifydocumentName
- the document titledocumentid
- the id of the document workflow
boolean notifyDocumentWorkflowUpdate(String userIdToNotify, String documentWorkflowId, String documentName)
userIdToNotify
- the user you want to notifydocumentName
- the document titledocumentid
- the id of the document workflow
boolean notifyDocumentWorkflowTaskRequest(String userIdToNotify, String documentWorkflowId, String documentName, String assignedRole)
userIdToNotify
- the user you want to notifydocumentName
- the document titledocumentid
- the id of the document workflowisStartStep
- set to true is the document worflow was just created
boolean notifyDocumentWorkflowFirstStepRequest(String userIdToNotify, String documentWorkflowId, String documentName, String assignedRole)
userIdToNotify
- the user you want to notifydocumentName
- the document titledocumentid
- the id of the document workflowisStartStep
- set to true is the document worflow was just created
boolean notifyDocumentWorkflowUserForward(String userIdToNotify, String documentWorkflowId, String documentName, String fromStepName, String toStepName)
userIdToNotify
- the owner of this document workflowdocumentWorkflowId
- documentName
- fromStepName
- the name of the step from which the user performed the forwardtoStepName
- the name of the step to which the user performed the forward
boolean notifyDocumentWorkflowStepForwardComplete(String userIdToNotify, String documentWorkflowId, String documentName, String fromStepName, String toStepName)
userIdToNotify
- the owner of this document workflowdocumentWorkflowId
- documentName
- fromStepName
- the name of the step from which the user performed the forwardtoStepName
- the name of the step to which the user performed the forward
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |