org.nuxeo.ecm.webapp.notification
Class SubscriptionsAction
java.lang.Object
org.nuxeo.ecm.webapp.base.InputController
org.nuxeo.ecm.webapp.notification.SubscriptionsAction
- All Implemented Interfaces:
- Serializable
@Name(value="subscriptionAction")
@Scope(value=PAGE)
public class SubscriptionsAction
- extends InputController
- implements Serializable
Handles the subscriptions page.
- Author:
- Narcis Paslaru
- See Also:
- Serialized Form
SubscriptionsAction
public SubscriptionsAction()
getNotificationsList
@Factory(value="notificationList")
public void getNotificationsList()
throws ClientException
- Gets all the notifications the user may subscribe to.
- Throws:
ClientException
loadInheritedNotifications
@Factory(value="inheritedNotifications")
public void loadInheritedNotifications()
throws ClientException,
ClassNotFoundException
- Gets all the notifications the user may subscribe to.
- Throws:
ClientException
ClassNotFoundException
updateSubscriptions
public void updateSubscriptions()
throws ClientException
- Registers the user's choices.
- Throws:
ClientException
invalidateNotificationsSelection
@Observer(value="documentSelectionChanged",
create=false)
@BypassInterceptors
public void invalidateNotificationsSelection()
getSelectedNotifications
public List<String> getSelectedNotifications()
throws ClientException
- Returns:
- the previously selected notifications.
- Throws:
ClientException
getCurrentSubscription
public SelectableSubscription getCurrentSubscription()
setCurrentSubscription
public void setCurrentSubscription(SelectableSubscription currentSubscription)
getNotificationList
public List<SelectableSubscription> getNotificationList()
setNotificationList
public void setNotificationList(List<SelectableSubscription> notificationList)
getInheritedNotifications
public List<Notification> getInheritedNotifications()
setInheritedNotifications
public void setInheritedNotifications(List<Notification> inheritedNotifications)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.