|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.cabo.ui.data.provider.DefaultingDataProvider
DataProvider that joins two other data providers, using the second only if the first cannot provide a DataObject.
| Constructor Summary | |
DefaultingDataProvider(DataProvider first,
DataProvider second)
Creates a DefaultingDataProvider. |
|
| Method Summary | |
void |
cleanup(RenderingContext context)
RenderingContext implementations must call cleanup() once after the last callto getDataObject(). |
DataObject |
getDataObject(RenderingContext cntxt,
java.lang.String namespace,
java.lang.String name)
Returns the data object if the namespace and name are an exact match. |
void |
init(RenderingContext context)
RenderingContext implementations must call init() once before calling getDataObject(). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultingDataProvider(DataProvider first,
DataProvider second)
first - the primary data providersecond - the secondary data provider, used only
if calls to the first fail| Method Detail |
public DataObject getDataObject(RenderingContext cntxt,
java.lang.String namespace,
java.lang.String name)
getDataObject in interface DataProvideroracle.cabo.ui.data.DataProvidercontext - the current rendering contextnamespace - the namespace of the requested DataObjectname - the name of the requested DataObjectpublic void init(RenderingContext context)
init in interface DataProviderpublic void cleanup(RenderingContext context)
cleanup in interface DataProvider
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||