|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.logicaldoc.web.components.SortableList
com.logicaldoc.web.document.TrashBean
public class TrashBean
The TrashBean
class is responsible for constructing the list of
delted documents which will be bound to a ice:dataTable JSF component.
Field Summary | |
---|---|
static java.lang.String |
CHILD_INDENT_STYLE_CLASS
|
static java.lang.String |
CHILD_ROW_STYLE_CLASS
|
protected static org.apache.commons.logging.Log |
log
|
Constructor Summary | |
---|---|
TrashBean()
|
Method Summary | |
---|---|
void |
dispose()
Cleans up the resources used by this class. |
int |
getCount()
|
int |
getDisplayedRows()
|
java.util.List<DocumentRecord> |
getDocuments()
Gets the list of Document which will be used by the ice:dataTable component. |
protected boolean |
isDefaultAscending(java.lang.String sortColumn)
Determines the sort order. |
boolean |
isSelectedAll()
|
void |
refresh()
|
java.lang.String |
restore()
Restore all selected documents |
java.lang.String |
selectAll()
|
void |
selectRow(com.icesoft.faces.component.ext.RowSelectorEvent e)
|
void |
setDisplayedRows(int displayedRows)
|
void |
setSelectedAll(boolean selectedAll)
|
protected void |
sort(java.lang.String column,
boolean ascending)
Sorts the list of DocumentRecord data. |
java.lang.String |
unselectAll()
|
Methods inherited from class com.logicaldoc.web.components.SortableList |
---|
getSortColumn, isAscending, setAscending, setSortColumn, sort |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.commons.logging.Log log
public static final java.lang.String CHILD_INDENT_STYLE_CLASS
public static final java.lang.String CHILD_ROW_STYLE_CLASS
Constructor Detail |
---|
public TrashBean()
Method Detail |
---|
public void dispose()
public java.util.List<DocumentRecord> getDocuments()
public void selectRow(com.icesoft.faces.component.ext.RowSelectorEvent e)
public void refresh()
public int getCount()
public java.lang.String restore()
public java.lang.String selectAll()
public java.lang.String unselectAll()
public boolean isSelectedAll()
public int getDisplayedRows()
public void setDisplayedRows(int displayedRows)
protected boolean isDefaultAscending(java.lang.String sortColumn)
isDefaultAscending
in class SortableList
sortColumn
- to sort by.
protected void sort(java.lang.String column, boolean ascending)
sort
in class SortableList
public void setSelectedAll(boolean selectedAll)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |