Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.3.0)

E17483-04


oracle.jbo.datasource.svc
Class SIVODataSourceImpl

java.lang.Object
  extended by oracle.jbo.datasource.svc.SIVODataSourceImpl

All Implemented Interfaces:
CtrlHintsSupport, ViewDataSource

public class SIVODataSourceImpl
extends java.lang.Object
implements ViewDataSource, CtrlHintsSupport
Since:
release specific (what release of product did this appear in)

Constructor Summary
SIVODataSourceImpl()
           

 

Method Summary
 long estimateCount(FindCriteria findCriteria)
          Retrieve the number object that matchs the criteria.
 java.util.List<java.lang.String> getContextKey()
          Returns the list of attributes that is to be considered the context key attributes for looking up row-level UI hints.
 java.util.List<AttrCtrlHints> getControlHints(Row row, java.lang.String localeName)
          Returns the row-level UI hints for a given locale.
 java.util.List<AttrCtrlHints> getControlHints(java.lang.String localeName)
          Returns the base UI hints for a given locale.
 boolean isCtrlHintsSupported()
          Returns a flag specifying if the underlying datasource can retrieve the static control hints defined on the server-side EOs and VOs.
 boolean isRowCtrlHintsSupported()
          Returns a flag specifying if the underlying datasource can retrieve the row-specific control hints defined on the server-side EOs and VOs.
 java.util.List retrieveData(FindCriteria findCriteria)
          Retrieve the data and form a list.
 void setDataSourceDef(DataSourceDef dsDef)
          Sets the DataSourceDef to be used with the instance.
 void setViewInfo(ViewDefImpl viewDef, ViewObjectImpl vo)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SIVODataSourceImpl

public SIVODataSourceImpl()

Method Detail

retrieveData

public java.util.List retrieveData(FindCriteria findCriteria)
Description copied from interface: ViewDataSource
Retrieve the data and form a list.
Specified by:
retrieveData in interface ViewDataSource
Parameters:
findCriteria - The search criteria.
Returns:
The list data that matchs the criteria.

estimateCount

public long estimateCount(FindCriteria findCriteria)
Description copied from interface: ViewDataSource
Retrieve the number object that matchs the criteria.
Specified by:
estimateCount in interface ViewDataSource
Parameters:
findCriteria - The search criteria.
Returns:
The number of objects that match the criteria.

setViewInfo

public void setViewInfo(ViewDefImpl viewDef,
                        ViewObjectImpl vo)
Specified by:
setViewInfo in interface ViewDataSource

isCtrlHintsSupported

public boolean isCtrlHintsSupported()
Description copied from interface: CtrlHintsSupport
Returns a flag specifying if the underlying datasource can retrieve the static control hints defined on the server-side EOs and VOs.
Specified by:
isCtrlHintsSupported in interface CtrlHintsSupport
Returns:
true if the underlying datasource supports control hints and false otherwise.

getControlHints

public java.util.List<AttrCtrlHints> getControlHints(java.lang.String localeName)
Description copied from interface: CtrlHintsSupport
Returns the base UI hints for a given locale.
Specified by:
getControlHints in interface CtrlHintsSupport
Parameters:
localeName - a locale name
Returns:
default control hints.

isRowCtrlHintsSupported

public boolean isRowCtrlHintsSupported()
Description copied from interface: CtrlHintsSupport
Returns a flag specifying if the underlying datasource can retrieve the row-specific control hints defined on the server-side EOs and VOs.
Specified by:
isRowCtrlHintsSupported in interface CtrlHintsSupport
Returns:
true if the underlying datasource supports row-level specific control hints and false otherwise.

getContextKey

public java.util.List<java.lang.String> getContextKey()
Description copied from interface: CtrlHintsSupport
Returns the list of attributes that is to be considered the context key attributes for looking up row-level UI hints.
Specified by:
getContextKey in interface CtrlHintsSupport
Returns:
context key attributes.

getControlHints

public java.util.List<AttrCtrlHints> getControlHints(Row row,
                                                     java.lang.String localeName)
Description copied from interface: CtrlHintsSupport
Returns the row-level UI hints for a given locale.
Specified by:
getControlHints in interface CtrlHintsSupport
Parameters:
row - the data row
localeName - a locale name
Returns:
row-level control hints.

setDataSourceDef

public void setDataSourceDef(DataSourceDef dsDef)
Description copied from interface: CtrlHintsSupport
Sets the DataSourceDef to be used with the instance.
Specified by:
setDataSourceDef in interface CtrlHintsSupport
Parameters:
dsDef - the datasource metadata

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.3.0)

E17483-04


Copyright © 1997, 2012, Oracle. All rights reserved.