oracle.apps.fnd.applcp.monitor.ui.bean
Class TablePaginationModel
java.lang.Object
javax.faces.model.DataModel
org.apache.myfaces.trinidad.model.CollectionModel
org.apache.myfaces.trinidad.model.SortableModel
oracle.apps.fnd.applcp.monitor.ui.bean.TablePaginationModel
- All Implemented Interfaces:
- org.apache.myfaces.trinidad.model.LocalRowKeyIndex, org.apache.myfaces.trinidad.model.RowKeyIndex
public class TablePaginationModel
- extends org.apache.myfaces.trinidad.model.SortableModel
Nested classes/interfaces inherited from interface org.apache.myfaces.trinidad.model.LocalRowKeyIndex |
org.apache.myfaces.trinidad.model.LocalRowKeyIndex.Confidence, org.apache.myfaces.trinidad.model.LocalRowKeyIndex.LocalCachingStrategy |
Methods inherited from class org.apache.myfaces.trinidad.model.SortableModel |
addDataModelListener, getDataModelListeners, isSortable, removeDataModelListener, setWrappedData, toString |
Methods inherited from class org.apache.myfaces.trinidad.model.CollectionModel |
areRowsLocallyAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, clearCachedRow, clearCachedRow, clearCachedRows, clearCachedRows, clearLocalCache, getCachingStrategy, getEstimatedRowCount, getEstimatedRowCountConfidence, getRowData, isRowAvailable, isRowLocallyAvailable, isRowLocallyAvailable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT_BLOCKSIZE
public static final int DEFAULT_BLOCKSIZE
- See Also:
- Constant Field Values
TablePaginationModel
public TablePaginationModel(TablePaginationModel.RangeChangeListener rangeChangeListener)
TablePaginationModel
public TablePaginationModel(TablePaginationModel.RangeChangeListener rangeChangeListener,
int blockSize)
_getMap
protected java.util.Map _getMap()
_getKeyMap
protected java.util.Map _getKeyMap()
setWrappedData
public void setWrappedData(java.util.List objects)
setRowIndex
public void setRowIndex(int index)
- Specified by:
setRowIndex
in interface org.apache.myfaces.trinidad.model.RowKeyIndex
- Overrides:
setRowIndex
in class org.apache.myfaces.trinidad.model.SortableModel
retrieveRowKey
protected java.lang.Object retrieveRowKey(java.lang.Object rowData)
- To be overridden by the extending classes for better handling
or the row key.
isRowAvailable
public boolean isRowAvailable()
- Specified by:
isRowAvailable
in interface org.apache.myfaces.trinidad.model.RowKeyIndex
- Overrides:
isRowAvailable
in class org.apache.myfaces.trinidad.model.SortableModel
getRowKey
public java.lang.Object getRowKey()
- Specified by:
getRowKey
in interface org.apache.myfaces.trinidad.model.RowKeyIndex
- Overrides:
getRowKey
in class org.apache.myfaces.trinidad.model.SortableModel
setRowKey
public void setRowKey(java.lang.Object rowKey)
- Specified by:
setRowKey
in interface org.apache.myfaces.trinidad.model.RowKeyIndex
- Overrides:
setRowKey
in class org.apache.myfaces.trinidad.model.SortableModel
setDefaultSortCriteria
public void setDefaultSortCriteria(java.lang.String column,
boolean ascending)
getSortCriteria
public java.util.List<org.apache.myfaces.trinidad.model.SortCriterion> getSortCriteria()
- Overrides:
getSortCriteria
in class org.apache.myfaces.trinidad.model.SortableModel
setSortCriteria
public void setSortCriteria(java.util.List criteriaList)
- Overrides:
setSortCriteria
in class org.apache.myfaces.trinidad.model.SortableModel
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interface org.apache.myfaces.trinidad.model.RowKeyIndex
- Overrides:
getRowCount
in class org.apache.myfaces.trinidad.model.SortableModel
setRowCount
public void setRowCount(int count)
clearAll
public void clearAll()
getSortProperty
public final java.lang.String getSortProperty()
setSortProperty
public final void setSortProperty(java.lang.String newSortProperty)
getSortOrder
public final java.lang.String getSortOrder()
setSortOrder
public final void setSortOrder(java.lang.String newSortOrder)
getWrappedData
public java.lang.Object getWrappedData()
- Overrides:
getWrappedData
in class org.apache.myfaces.trinidad.model.SortableModel
getRowIndex
public int getRowIndex()
- Specified by:
getRowIndex
in interface org.apache.myfaces.trinidad.model.RowKeyIndex
- Overrides:
getRowIndex
in class org.apache.myfaces.trinidad.model.SortableModel
getRowData
public java.lang.Object getRowData()
- Specified by:
getRowData
in interface org.apache.myfaces.trinidad.model.RowKeyIndex
- Overrides:
getRowData
in class org.apache.myfaces.trinidad.model.SortableModel
getSortListener
public final TablePaginationModel.SortListener getSortListener()
setSortListener
public final void setSortListener(TablePaginationModel.SortListener newSortListener)
getRangeChangeListener
public TablePaginationModel.RangeChangeListener getRangeChangeListener()
getStartIndex
public int getStartIndex()
setStartIndex
public void setStartIndex(int start)
getEndIndex
public int getEndIndex()
setEndIndex
public void setEndIndex(int end)
getBlockSize
public int getBlockSize()
setBlockSize
public void setBlockSize(int _blockSize)
getTableValues
public java.util.List getTableValues()
Copyright © 2011 Oracle. All Rights Reserved.