public interface LayoutContext
LayoutAccess
objects and to apply them to a query.
Layout panels in the user interface for the beans call
these methods.
The object that implements this interface must also implement the
DataSource interface.
If your application uses the QueryBuilder and the Layout panels, then
the object that implements this interface must also implement the
QueryContext interface.
The implementation of this interface must handle its own initialization issues.
DataSource,
oracle.dss.datautil.QueryContext,
oracle.dss.util.gui.layout.Layout| Modifier and Type | Method and Description |
|---|---|
boolean |
applyLayoutAccess(LayoutAccess la,
boolean update)
Updates the
LayoutContext data source with changed layout
information. |
LayoutAccess |
createCubeLayoutAccess()
Creates an implementation of the
LayoutAccess interface
that presents data with a cube layout. |
LayoutAccess |
createLayoutAccess()
Deprecated.
As of 2.4.0.14, replaced by
createCubeLayoutAccess() |
LayoutAccess |
createRelationalLayoutAccess()
Creates an implementation of the
LayoutAccess interface
that presents data with a relational (table) layout. |
LayoutAccess createLayoutAccess()
createCubeLayoutAccess()LayoutAccess interface.LayoutAccess
interface.LayoutAccess createCubeLayoutAccess()
LayoutAccess interface
that presents data with a cube layout.LayoutAccess
interface.LayoutAccess createRelationalLayoutAccess()
LayoutAccess interface
that presents data with a relational (table) layout.LayoutAccess
interface.boolean applyLayoutAccess(LayoutAccess la, boolean update)
LayoutContext data source with changed layout
information.
The implementation must ensure that the LayoutAccess that is
passed to this method has enough information to initialize and run
a query.
If the update parameter is true, then the
implementer should do what is necessary to run the query
with the new layout state.
la - LayoutAccess object to apply.
la must have been created by the
createLayoutAccess method of this
LayoutContext.update - true if the caller is finished with all the
updates,
false if the caller is not finished with the updates
to this data source.true if la is successfully applied
to the original query,
false if la could not be applied.