@Deprecated public class UserPermissionsTableModel extends TableModel
SORT_ASCENDING, SORT_DESCENDING| Constructor and Description |
|---|
UserPermissionsTableModel(List<TableColHeader> columnHeaders,
List<UserPermissionsTableRow> data)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRow(String user)
Deprecated.
Accept method.
|
String |
getCurrentUserType()
Deprecated.
|
String |
getSelectedUser()
Deprecated.
|
List<String> |
getSelectedUsers()
Deprecated.
|
UserPermissionsTableModelVisitor |
getVisitor()
Deprecated.
|
void |
process(ActionEvent event)
Deprecated.
Saves the current user selected row.
|
void |
removeRow(String user)
Deprecated.
|
void |
setSelectedUser(String selectedUser)
Deprecated.
|
void |
setVisitor(UserPermissionsTableModelVisitor visitor)
Deprecated.
|
computeSelectionColumnIndex, getCurrentRow, getSelectedRows, getSelectionColumnIndex, selectAllRows, selectAllRows, setCurrentRow, verifyRowConsistencyaddRow, addRows, getColumnHeaders, getCurrentCell, getCurrentCellDisplayedValue, getData, setColumnHeaders, setCurrentCellDisplayedValue, setDatadoSort, getSort, isAscending, setAscending, setSortpublic UserPermissionsTableModel(List<TableColHeader> columnHeaders, List<UserPermissionsTableRow> data) throws ClientException
ClientExceptionpublic String getSelectedUser()
public void setSelectedUser(String selectedUser)
selectedUser - The selectedUser to set.public void process(ActionEvent event)
TableModelThis method is also used as a marker for a round trip to the server each time a row is selected so that the value associated with the selection cell from that row gets updated.
process in class TableModelpublic List<String> getSelectedUsers() throws ClientException
ClientExceptionpublic void removeRow(String user) throws ClientException
ClientExceptionpublic UserPermissionsTableModelVisitor getVisitor()
public void setVisitor(UserPermissionsTableModelVisitor visitor)
public void addRow(String user) throws ClientException
Called when a new user needs to be added to the table model.
user - ClientExceptionpublic String getCurrentUserType()
Copyright © 2012 Nuxeo SA. All Rights Reserved.