org.nuxeo.ecm.platform.ui.web.util
Class SelectionActionsBean
java.lang.Object
org.nuxeo.ecm.platform.ui.web.util.SelectionActionsBean
- All Implemented Interfaces:
- java.io.Serializable
@Name(value="selectionActions")
@Scope(value=EVENT)
public class SelectionActionsBean
- extends java.lang.Object
- implements java.io.Serializable
Helper for selection actions, useful when performing ajax calls on a "liste
shuttle" widget.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectionActionsBean
public SelectionActionsBean()
getEmptySelection
public javax.faces.model.SelectItem[] getEmptySelection()
shiftSelected
public void shiftSelected(SelectionActionsBean.ShiftType stype,
javax.faces.event.ActionEvent event)
shiftSelectedUp
public void shiftSelectedUp(javax.faces.event.ActionEvent event)
throws ClientException
- Throws:
ClientException
shiftSelectedDown
public void shiftSelectedDown(javax.faces.event.ActionEvent event)
throws ClientException
- Throws:
ClientException
shiftSelectedFirst
public void shiftSelectedFirst(javax.faces.event.ActionEvent event)
throws ClientException
- Throws:
ClientException
shiftSelectedLast
public void shiftSelectedLast(javax.faces.event.ActionEvent event)
throws ClientException
- Throws:
ClientException
addToSelection
public void addToSelection(javax.faces.event.ActionEvent event)
throws ClientException
- Throws:
ClientException
removeFromSelection
public void removeFromSelection(javax.faces.event.ActionEvent event)
throws ClientException
- Throws:
ClientException
addAllToSelection
public void addAllToSelection(javax.faces.event.ActionEvent event)
throws ClientException
- Throws:
ClientException
getSourceSelectComponent
public javax.faces.component.UISelectMany getSourceSelectComponent(javax.faces.event.ActionEvent event)
getSourceSelectItems
public javax.faces.component.UISelectItems getSourceSelectItems(javax.faces.event.ActionEvent event)
removeAllFromSelection
public void removeAllFromSelection(javax.faces.event.ActionEvent event)
throws ClientException
- Throws:
ClientException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.