@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, verifyRowConsistency
addRow, addRows, getColumnHeaders, getCurrentCell, getCurrentCellDisplayedValue, getData, setColumnHeaders, setCurrentCellDisplayedValue, setData
doSort, getSort, isAscending, setAscending, setSort
public UserPermissionsTableModel(List<TableColHeader> columnHeaders, List<UserPermissionsTableRow> data) throws ClientException
ClientException
public String getSelectedUser()
public void setSelectedUser(String selectedUser)
selectedUser
- The selectedUser to set.public void process(ActionEvent event)
TableModel
This 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 TableModel
public List<String> getSelectedUsers() throws ClientException
ClientException
public void removeRow(String user) throws ClientException
ClientException
public 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
- ClientException
public String getCurrentUserType()
Copyright © 2013 Nuxeo SA. All Rights Reserved.