Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.attachments.ui
Class AttachmentsCM

java.lang.Object
  extended by javax.faces.model.DataModel
      extended by org.apache.myfaces.trinidad.model.CollectionModel
          extended by oracle.apps.fnd.applcore.attachments.ui.AttachmentsCM
All Implemented Interfaces:
org.apache.myfaces.trinidad.model.LocalRowKeyIndex, org.apache.myfaces.trinidad.model.RowKeyIndex

public class AttachmentsCM
extends org.apache.myfaces.trinidad.model.CollectionModel

A collection model for attachments to allow for the popup to be displayed when the user hovers over the title of the last attachment.


Nested Class Summary
 
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
 
Fields inherited from class org.apache.myfaces.trinidad.model.CollectionModel
UNKNOWN_ROW_LIMIT, UNLIMITED_ROW
 
Constructor Summary
AttachmentsCM()
          Default Constructor.
 
Method Summary
 int getRowCount()
          
 java.lang.Object getRowData()
          Retrieves the attachment at the set RowIndex from the WrappedData.
 int getRowIndex()
          
 java.lang.Object getRowKey()
          
 java.lang.Object getWrappedData()
          
 boolean isRowAvailable()
          
 void setRowIndex(int rowIndex)
          
 void setRowKey(java.lang.Object newKey)
          
 void setWrappedData(java.lang.Object data)
          Data provided to this method must be a List object.
 
Methods inherited from class org.apache.myfaces.trinidad.model.CollectionModel
areRowsLocallyAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, clearCachedRow, clearCachedRow, clearCachedRows, clearCachedRows, clearLocalCache, ensureRowsAvailable, getCachingStrategy, getEstimatedRowCount, getEstimatedRowCountConfidence, getRowData, getRowData, getRowLimit, getSortCriteria, isRowAvailable, isRowLocallyAvailable, isRowLocallyAvailable, isSortable, setSortCriteria
 
Methods inherited from class javax.faces.model.DataModel
addDataModelListener, getDataModelListeners, removeDataModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentsCM

public AttachmentsCM()
Default Constructor.

Method Detail

getRowKey

public java.lang.Object getRowKey()

Specified by:
getRowKey in interface org.apache.myfaces.trinidad.model.RowKeyIndex
Specified by:
getRowKey in class org.apache.myfaces.trinidad.model.CollectionModel

setRowKey

public void setRowKey(java.lang.Object newKey)

Specified by:
setRowKey in interface org.apache.myfaces.trinidad.model.RowKeyIndex
Specified by:
setRowKey in class org.apache.myfaces.trinidad.model.CollectionModel

isRowAvailable

public boolean isRowAvailable()

Specified by:
isRowAvailable in interface org.apache.myfaces.trinidad.model.RowKeyIndex
Specified by:
isRowAvailable in class javax.faces.model.DataModel

getRowCount

public int getRowCount()

Specified by:
getRowCount in interface org.apache.myfaces.trinidad.model.RowKeyIndex
Specified by:
getRowCount in class javax.faces.model.DataModel

getRowData

public java.lang.Object getRowData()
Retrieves the attachment at the set RowIndex from the WrappedData.

Specified by:
getRowData in interface org.apache.myfaces.trinidad.model.RowKeyIndex
Specified by:
getRowData in class javax.faces.model.DataModel

getRowIndex

public int getRowIndex()

Specified by:
getRowIndex in interface org.apache.myfaces.trinidad.model.RowKeyIndex
Specified by:
getRowIndex in class javax.faces.model.DataModel

setRowIndex

public void setRowIndex(int rowIndex)

Specified by:
setRowIndex in interface org.apache.myfaces.trinidad.model.RowKeyIndex
Specified by:
setRowIndex in class javax.faces.model.DataModel

getWrappedData

public java.lang.Object getWrappedData()

Specified by:
getWrappedData in class javax.faces.model.DataModel

setWrappedData

public void setWrappedData(java.lang.Object data)
Data provided to this method must be a List object.

Specified by:
setWrappedData in class javax.faces.model.DataModel
Parameters:
data - the search result to wrap

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.