@Name(value="subscriptionAction") @Scope(value=PAGE) public class SubscriptionsAction extends InputController implements Serializable
Constructor and Description |
---|
SubscriptionsAction() |
Modifier and Type | Method and Description |
---|---|
SelectableSubscription |
getCurrentSubscription() |
List<Notification> |
getInheritedNotifications() |
List<SelectableSubscription> |
getNotificationList() |
void |
getNotificationsList()
Gets all the notifications the user may subscribe to.
|
List<String> |
getSelectedNotifications() |
void |
invalidateNotificationsSelection() |
void |
loadInheritedNotifications()
Gets all the notifications the user may subscribe to.
|
void |
setCurrentSubscription(SelectableSubscription currentSubscription) |
void |
setInheritedNotifications(List<Notification> inheritedNotifications) |
void |
setNotificationList(List<SelectableSubscription> notificationList) |
void |
updateSubscriptions()
Registers the user's choices.
|
computeOutcome, getAdministrator, logDocumentWithName, logDocumentWithTitle, removeDocumentFromList
@Factory(value="notificationList") public void getNotificationsList() throws ClientException
ClientException
@Factory(value="inheritedNotifications") public void loadInheritedNotifications() throws ClientException, ClassNotFoundException
public void updateSubscriptions() throws ClientException
ClientException
@Observer(value="documentSelectionChanged", create=false) @BypassInterceptors public void invalidateNotificationsSelection()
public List<String> getSelectedNotifications() throws ClientException
ClientException
public SelectableSubscription getCurrentSubscription()
public void setCurrentSubscription(SelectableSubscription currentSubscription)
public List<SelectableSubscription> getNotificationList()
public void setNotificationList(List<SelectableSubscription> notificationList)
public List<Notification> getInheritedNotifications()
public void setInheritedNotifications(List<Notification> inheritedNotifications)
Copyright © 2011 Nuxeo SA. All Rights Reserved.