ilog.rules.teamserver.web.beans
Class TableToolbarBean
- java.lang.Object
-
- ilog.rules.webc.jsf.IlrSessionObjectStore
-
- ilog.rules.teamserver.web.beans.ProjectElementToolbarBean
-
- ilog.rules.teamserver.web.beans.TableToolbarBean
-
- All Implemented Interfaces:
- ilog.rules.teamserver.web.navigation.IlrNavigationConstants, java.io.Serializable
public class TableToolbarBean extends ProjectElementToolbarBean
The toolbar displayed above the element table.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description TableToolbarBean()
Constructs a new TableToolbarBean.
-
Method Summary
Methods Modifier and Type Method and Description void
addCommandModel(IlrUICommandModel model)
java.util.List<IlrUICommandModel>
getCommandModels()
java.util.List<IlrElementSummary>
getDisplayElements()
Gets the currently displayed elements in the table.protected java.lang.String
getHelpURL()
static TableToolbarBean
getInstance()
Gets the instance of the bean in the faces context.java.util.List<IlrElementSummary>
getMultipleElements()
Gets the elements currently selected on which this toolbar can work.IlrElementSummary
getSingleElement()
Gets the first element in the current selection.boolean
isMultipleSelectionEnabled()
Tells whether the toolbar buttons can apply on several elements at a time.void
removeCommandModel(IlrUICommandModel model)
-
Methods inherited from class ilog.rules.teamserver.web.beans.ProjectElementToolbarBean
cancel, checkManagedGovernanceAccess, getCopy, getCreate, getDelete, getDetails, getEdit, getHelp, getHistory, getLock, getRefresh, getReleaseLock, getUnlock, setCopy, setCreate, setDelete, setDetails, setEdit, setHelp, setHistory, setLock, setRefresh, setReleaseLock, setUnlock
-
-
-
-
Method Detail
-
addCommandModel
public void addCommandModel(IlrUICommandModel model)
-
removeCommandModel
public void removeCommandModel(IlrUICommandModel model)
-
getCommandModels
public java.util.List<IlrUICommandModel> getCommandModels()
-
getSingleElement
public IlrElementSummary getSingleElement()
Description copied from class:ProjectElementToolbarBean
Gets the first element in the current selection.- Specified by:
getSingleElement
in classProjectElementToolbarBean
- Returns:
- a summary, instance of brm.ProjectElement
-
getMultipleElements
public java.util.List<IlrElementSummary> getMultipleElements()
Description copied from class:ProjectElementToolbarBean
Gets the elements currently selected on which this toolbar can work.- Specified by:
getMultipleElements
in classProjectElementToolbarBean
- Returns:
- a list of summaries, instances of brm.ProjectElement
-
getDisplayElements
public java.util.List<IlrElementSummary> getDisplayElements()
Gets the currently displayed elements in the table.- Returns:
- a list of summaries, instances of
IlrElementSummary
-
getInstance
public static TableToolbarBean getInstance()
Gets the instance of the bean in the faces context.- Returns:
- The instance of the bean.
-
isMultipleSelectionEnabled
public boolean isMultipleSelectionEnabled()
Description copied from class:ProjectElementToolbarBean
Tells whether the toolbar buttons can apply on several elements at a time.- Overrides:
isMultipleSelectionEnabled
in classProjectElementToolbarBean
- Returns:
- true if multiple selection is enabled
-
getHelpURL
protected java.lang.String getHelpURL()
- Specified by:
getHelpURL
in classProjectElementToolbarBean
-
-