@Deprecated public class DocModelTableModel extends TableModel
SORT_ASCENDING, SORT_DESCENDING
Constructor and Description |
---|
DocModelTableModel(List<TableColHeader> columnHeaders,
List<TableRow> data)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addRow(DocumentModel doc)
Deprecated.
Accept method.
|
void |
documentRemove(DocumentModel docModel)
Deprecated.
|
void |
documentRemoved(String fqn)
Deprecated.
|
void |
documentUpdate(DocumentModel docModel,
boolean pre)
Deprecated.
|
DocumentModel |
getSelectedDocModel()
Deprecated.
|
List<DocumentModel> |
getSelectedDocs()
Deprecated.
|
DocModelTableModelVisitor |
getVisitor()
Deprecated.
|
void |
process(ActionEvent event)
Deprecated.
Saves the current user selected row.
|
boolean |
removeRow(DocumentModel doc)
Deprecated.
|
void |
setSelectedDocModel(DocumentModel selectedDocModel)
Deprecated.
|
void |
setVisitor(DocModelTableModelVisitor visitor)
Deprecated.
|
void |
verifyRowConsistency(TableRow row)
Deprecated.
Also checks if the selection cell is in the same position as the
selection column.
|
computeSelectionColumnIndex, getCurrentRow, getSelectedRows, getSelectionColumnIndex, selectAllRows, selectAllRows, setCurrentRow
addRow, addRows, getColumnHeaders, getCurrentCell, getCurrentCellDisplayedValue, getData, setColumnHeaders, setCurrentCellDisplayedValue, setData
doSort, getSort, isAscending, setAscending, setSort
public DocModelTableModel(List<TableColHeader> columnHeaders, List<TableRow> data) throws ClientException
ClientException
public DocumentModel getSelectedDocModel()
public void setSelectedDocModel(DocumentModel selectedDocModel)
selectedDocModel
- The selectedDocModel to set.public void verifyRowConsistency(TableRow row) throws ClientException
TableModel
verifyRowConsistency
in class TableModel
ClientException
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<DocumentModel> getSelectedDocs() throws ClientException
ClientException
public boolean removeRow(DocumentModel doc) throws ClientException
doc
- ClientException
public DocModelTableModelVisitor getVisitor()
public void setVisitor(DocModelTableModelVisitor visitor)
public void addRow(DocumentModel doc) throws ClientException
doc
- ClientException
public void documentRemove(DocumentModel docModel)
public void documentRemoved(String fqn)
public void documentUpdate(DocumentModel docModel, boolean pre)
Copyright © 2011 Nuxeo SA. All Rights Reserved.