| java.lang.Object | |
| ↳ | com.atlassian.confluence.mail.notification.DefaultNotificationManager |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add a space notification for a particular content type.
| |||||||||||
Retrieves the list of Network
Notifications for Users who are
following the given User. | |||||||||||
Return a notification if the user is watching the entire space with the given spaceKey.
| |||||||||||
Return a notification if the user is watching the entire space.
| |||||||||||
Return all notifications for a space, regardless of content type.
| |||||||||||
Returns true if:
a) the user is watching the AbstractPage
b) the user is watching the space, or
c) the user is watching the contentType of the AbstractPage for the Space
This method can be used to check if a user is watching a page directly or indirectly.
| |||||||||||
Remove all of the notifications set up for this space.
| |||||||||||
Remove all of the notifications setup for this user.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds a page or space notification for a user.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.confluence.mail.notification.NotificationManager
| |||||||||||
Add a space notification for a particular content type. For example, watch only blogs in a space.
Retrieves the list of Network Notifications for Users who are
following the given User. That is, all Notifications that
return true from isNetwork() and belong to somebody
who is following modifier via a Connection.
| modifier | usually a user who has modified a piece of content. |
|---|
modifier.Return a notification if the user is watching the entire space with the given spaceKey.
Note that notifications with specified ContentTypeEnum values
will not be returned. Use getNotificationByUserAndSpaceAndType(User, Space, ContentTypeEnum) instead.
Return a notification if the user is watching the entire space.
Note that notifications with specified ContentTypeEnum values
will not be returned. Use getNotificationByUserAndSpaceAndType(User, Space, ContentTypeEnum) instead.
Return all notifications for a space, regardless of content type.
Returns true if: a) the user is watching the AbstractPage b) the user is watching the space, or c) the user is watching the contentType of the AbstractPage for the Space This method can be used to check if a user is watching a page directly or indirectly.
Remove all of the notifications set up for this space.
Remove all of the notifications setup for this user. This includes space, page and daily report notifications.
Adds a page or space notification for a user.
| user | The user to add the notification for, should not be null |
|---|---|
| space | The space to add a watch for or that the page belongs to, can be null if user requests a page that doesn't exist |
| page | Page to be watched, null if trying to add a Space watch or if user requests a page that doesn't exist |