Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.servlet.ui.data
Class BajaDataProvider

java.lang.Object
  |
  +--oracle.cabo.servlet.ui.data.BajaDataProvider
All Implemented Interfaces:
DataProvider

public class BajaDataProvider
extends java.lang.Object
implements DataProvider

DataProvider for serving all the UIX Controller (Baja) related state. This DataProvider will serve the following DataObjects:

Note that for servlet requests, we serve up the attributes, not the parameters. This DataProvider will own all requests for the UIX Controller (Baja) namespace - if added, any other data providers that attempt to serve the Baja namespace may be rejected.

This class will automatically be attached when using a BajaRenderingContext, and it in fact relies on the BajaContext and Page being stored on a RenderingContext in the same places as BajaRenderingContext stores them.

See Also:
BajaRenderingContext

Constructor Summary
BajaDataProvider(BajaContext context)
          Creates a BajaDataProvider.
 
Method Summary
 void cleanup(RenderingContext context)
          RenderingContext implementations must call cleanup() once after the last callto getDataObject().
 DataObject getDataObject(RenderingContext context, java.lang.String namespace, java.lang.String name)
           
 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

BajaDataProvider

public BajaDataProvider(BajaContext context)
Creates a BajaDataProvider.
Method Detail

getDataObject

public DataObject getDataObject(RenderingContext context,
                                java.lang.String namespace,
                                java.lang.String name)
Specified by:
getDataObject in interface DataProvider
Parameters:
context - the current rendering context
namespace - the namespace of the requested DataObject
name - the name of the requested DataObject
Returns:
the DataObject for the specified namespace and name, or null if no such dataObject exists.

init

public void init(RenderingContext context)
RenderingContext implementations must call init() once before calling getDataObject(). In general, they should try to call it as early as possible.
Specified by:
init in interface DataProvider

cleanup

public void cleanup(RenderingContext context)
RenderingContext implementations must call cleanup() once after the last callto getDataObject().
Specified by:
cleanup in interface DataProvider

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.