Oracle Fusion Middleware extensions for Enterprise Scheduler Service
11g Release 1 (11.1.2)

E22563-02

oracle.apps.fnd.applcp.monitor.ui.bean
Class TablePaginationModel

java.lang.Object
  extended by javax.faces.model.DataModel
      extended by org.apache.myfaces.trinidad.model.CollectionModel
          extended by org.apache.myfaces.trinidad.model.SortableModel
              extended by 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 Class Summary
static interface TablePaginationModel.RangeChangeListener
           
static interface TablePaginationModel.SortListener
           
 
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
 
Field Summary
static int DEFAULT_BLOCKSIZE
           
 
Constructor Summary
TablePaginationModel(TablePaginationModel.RangeChangeListener rangeChangeListener)
           
TablePaginationModel(TablePaginationModel.RangeChangeListener rangeChangeListener, int blockSize)
           
 
Method Summary
protected  java.util.Map _getKeyMap()
           
protected  java.util.Map _getMap()
           
 void clearAll()
           
 int getBlockSize()
           
 int getEndIndex()
           
 TablePaginationModel.RangeChangeListener getRangeChangeListener()
           
 int getRowCount()
           
 java.lang.Object getRowData()
           
 int getRowIndex()
           
 java.lang.Object getRowKey()
           
 java.util.List<org.apache.myfaces.trinidad.model.SortCriterion> getSortCriteria()
           
 TablePaginationModel.SortListener getSortListener()
           
 java.lang.String getSortOrder()
           
 java.lang.String getSortProperty()
           
 int getStartIndex()
           
 java.util.List getTableValues()
           
 java.lang.Object getWrappedData()
           
 boolean isRowAvailable()
           
protected  java.lang.Object retrieveRowKey(java.lang.Object rowData)
          To be overridden by the extending classes for better handling or the row key.
 void setBlockSize(int _blockSize)
           
 void setDefaultSortCriteria(java.lang.String column, boolean ascending)
           
 void setEndIndex(int end)
           
 void setRowCount(int count)
           
 void setRowIndex(int index)
           
 void setRowKey(java.lang.Object rowKey)
           
 void setSortCriteria(java.util.List criteriaList)
           
 void setSortListener(TablePaginationModel.SortListener newSortListener)
           
 void setSortOrder(java.lang.String newSortOrder)
           
 void setSortProperty(java.lang.String newSortProperty)
           
 void setStartIndex(int start)
           
 void setWrappedData(java.util.List objects)
           
 
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
 

Field Detail

DEFAULT_BLOCKSIZE

public static final int DEFAULT_BLOCKSIZE
See Also:
Constant Field Values
Constructor Detail

TablePaginationModel

public TablePaginationModel(TablePaginationModel.RangeChangeListener rangeChangeListener)

TablePaginationModel

public TablePaginationModel(TablePaginationModel.RangeChangeListener rangeChangeListener,
                            int blockSize)
Method Detail

_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()

Oracle Fusion Middleware extensions for Enterprise Scheduler Service
11g Release 1 (11.1.2)

E22563-02

Copyright © 2011 Oracle. All Rights Reserved.