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:
- java.io.Serializable
@Name(value="subscriptionAction")
@Scope(value=PAGE)
public class SubscriptionsAction
- extends InputController
- implements java.io.Serializable
Handles the subscriptions page.
- Author:
- Narcis Paslaru
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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,
java.lang.ClassNotFoundException
- Gets all the notifications the user may subscribe to.
- Throws:
ClientException
java.lang.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 java.util.List<java.lang.String> getSelectedNotifications()
throws ClientException
- Returns:
- the previously selected notifications.
- Throws:
ClientException
getCurrentSubscription
public SelectableSubscription getCurrentSubscription()
setCurrentSubscription
public void setCurrentSubscription(SelectableSubscription currentSubscription)
getNotificationList
public java.util.List<SelectableSubscription> getNotificationList()
setNotificationList
public void setNotificationList(java.util.List<SelectableSubscription> notificationList)
getInheritedNotifications
public java.util.List<Notification> getInheritedNotifications()
setInheritedNotifications
public void setInheritedNotifications(java.util.List<Notification> inheritedNotifications)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.