|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.webapp.base.InputController org.nuxeo.ecm.webapp.notification.GroupsSubscriptionsAction
@Name(value="groupsSubscriptionsAction") @Scope(value=PAGE) public class GroupsSubscriptionsAction
Handles the subscriptions page.
Constructor Summary | |
---|---|
GroupsSubscriptionsAction()
|
Method Summary | |
---|---|
String |
addSubscriptionsAndUpdate()
|
boolean |
getCanAddSubscriptions()
|
SelectItem[] |
getNotificationActionItems()
|
List<SelectItem> |
getNotificationList()
Gets all the notifications registered in the system. |
List<String> |
getSelectedEntries()
|
String |
getSelectedGrant()
|
String |
getSelectedNotification()
|
List<String> |
getSelectedNotifications()
|
List<String> |
getSubscribedUsersForNotification(String notification)
Returns the users that subscribed to a notification. |
Map<String,List<String>> |
getUsersByNotificationsForCurrentDocument()
Returns a map that contains all users and groups subscribed to notifications(keys). |
void |
setSelectedEntries(List<String> selectedEntries)
|
void |
setSelectedGrant(String selectedPermission)
|
void |
setSelectedNotification(String selectedNotification)
|
void |
setSelectedNotifications(List<String> selectedNotifications)
|
void |
updateSubscriptions()
Registers the user's choices. |
Methods inherited from class org.nuxeo.ecm.webapp.base.InputController |
---|
computeOutcome, getAdministrator, logDocumentWithName, logDocumentWithTitle, removeDocumentFromList |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupsSubscriptionsAction()
Method Detail |
---|
public List<SelectItem> getNotificationList() throws ClientException
ClientException
public void updateSubscriptions() throws ClientException
ClientException
public List<String> getSelectedNotifications() throws ClientException
ClientException
public List<String> getSubscribedUsersForNotification(String notification) throws ClientException
ClientException
public Map<String,List<String>> getUsersByNotificationsForCurrentDocument() throws ClientException
ClientException
public void setSelectedNotifications(List<String> selectedNotifications)
selectedNotifications
- The selectedNotifications to set.public SelectItem[] getNotificationActionItems()
public String getSelectedGrant()
public void setSelectedGrant(String selectedPermission)
public String getSelectedNotification()
public void setSelectedNotification(String selectedNotification)
public boolean getCanAddSubscriptions() throws ClientException
ClientException
public String addSubscriptionsAndUpdate() throws ClientException
ClientException
public List<String> getSelectedEntries()
public void setSelectedEntries(List<String> selectedEntries)
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |