Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.table.row
Class DocModelTableRow

java.lang.Object
  extended by org.nuxeo.ecm.webapp.table.row.GenericTableRow
      extended by org.nuxeo.ecm.webapp.table.row.TableRow
          extended by org.nuxeo.ecm.webapp.table.row.DocModelTableRow
All Implemented Interfaces:
Serializable

Deprecated.

@Deprecated
public class DocModelTableRow
extends TableRow

A table row DocumentModel aware. Keeps a reference with a DocumentModel associated with the row. This helps identify the table row starting from a document model. Useful for opertions on the table model rows like delete etc. Also keeps a list of cells associated with the row.

Author:
Razvan Caraghin
See Also:
Serialized Form

Constructor Summary
DocModelTableRow(DocumentModel document, List<AbstractTableCell> cells)
          Deprecated.  
 
Method Summary
 boolean equals(Object other)
          Deprecated. Implements equality by checking the equality on the document references.
 DocumentModel getDocModel()
          Deprecated.  
 int hashCode()
          Deprecated.  
 void setDocModel(DocumentModel docModel)
          Deprecated.  
 
Methods inherited from class org.nuxeo.ecm.webapp.table.row.TableRow
getSelected, getSelectionCellIndex, getSelectionTableCell
 
Methods inherited from class org.nuxeo.ecm.webapp.table.row.GenericTableRow
getCells, getRowId, setCells, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocModelTableRow

public DocModelTableRow(DocumentModel document,
                        List<AbstractTableCell> cells)
                 throws ClientException
Deprecated. 
Throws:
ClientException
Method Detail

getDocModel

public DocumentModel getDocModel()
Deprecated. 

setDocModel

public void setDocModel(DocumentModel docModel)
Deprecated. 

equals

public boolean equals(Object other)
Deprecated. 
Implements equality by checking the equality on the document references. As a side note also the row id could be used as checking the document references basically prevents the programmer to use the same document for more than one row.

Overrides:
equals in class Object

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.