com.flexive.shared.search
Class ResultPreferencesEdit

java.lang.Object
  extended by com.flexive.shared.search.ResultPreferences
      extended by com.flexive.shared.search.ResultPreferencesEdit
All Implemented Interfaces:
java.io.Serializable

public class ResultPreferencesEdit
extends ResultPreferences

Modifiable result preferences object.

Version:
$Rev: 462 $
Author:
Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.flexive.shared.search.ResultPreferences
lastChecked, orderByColumns, rowsPerPage, selectedColumns, thumbBoxSize
 
Constructor Summary
ResultPreferencesEdit(java.util.List<ResultColumnInfo> selectedColumns, java.util.List<ResultOrderByInfo> orderByColumns, int rowsPerPage, int thumbBoxSize)
           
 
Method Summary
<T extends ResultOrderByInfo>
void
addOrderByColumn(int index, T info)
           
<T extends ResultOrderByInfo>
void
addOrderByColumn(T info)
           
<T extends ResultColumnInfo>
void
addSelectedColumn(int index, T info)
           
<T extends ResultColumnInfo>
void
addSelectedColumn(T info)
           
 ResultOrderByInfo removeOrderByColumn(int index)
           
<T extends ResultOrderByInfo>
ResultOrderByInfo
removeOrderByColumn(T info)
           
 ResultColumnInfo removeSelectedColumn(int index)
           
<T extends ResultColumnInfo>
ResultColumnInfo
removeSelectedColumn(T info)
           
 void setLastChecked(long lastChecked)
           
 void setOrderByColumns(java.util.List<ResultOrderByInfo> orderByColumns)
           
 void setRowsPerPage(int rowsPerPage)
           
 void setSelectedColumns(java.util.List<ResultColumnInfo> selectedColumns)
           
 void setThumbBoxSize(int thumbBoxSize)
           
 
Methods inherited from class com.flexive.shared.search.ResultPreferences
equals, getEditObject, getLastChecked, getOrderByColumns, getRowsPerPage, getSelectedColumns, getThumbBoxSize, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResultPreferencesEdit

public ResultPreferencesEdit(java.util.List<ResultColumnInfo> selectedColumns,
                             java.util.List<ResultOrderByInfo> orderByColumns,
                             int rowsPerPage,
                             int thumbBoxSize)
Method Detail

addSelectedColumn

public <T extends ResultColumnInfo> void addSelectedColumn(T info)

addSelectedColumn

public <T extends ResultColumnInfo> void addSelectedColumn(int index,
                                                           T info)

removeSelectedColumn

public <T extends ResultColumnInfo> ResultColumnInfo removeSelectedColumn(T info)

removeSelectedColumn

public ResultColumnInfo removeSelectedColumn(int index)

addOrderByColumn

public <T extends ResultOrderByInfo> void addOrderByColumn(T info)

addOrderByColumn

public <T extends ResultOrderByInfo> void addOrderByColumn(int index,
                                                           T info)

removeOrderByColumn

public <T extends ResultOrderByInfo> ResultOrderByInfo removeOrderByColumn(T info)

removeOrderByColumn

public ResultOrderByInfo removeOrderByColumn(int index)

setSelectedColumns

public void setSelectedColumns(java.util.List<ResultColumnInfo> selectedColumns)

setOrderByColumns

public void setOrderByColumns(java.util.List<ResultOrderByInfo> orderByColumns)

setRowsPerPage

public void setRowsPerPage(int rowsPerPage)

setThumbBoxSize

public void setThumbBoxSize(int thumbBoxSize)

setLastChecked

public void setLastChecked(long lastChecked)