Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.dataView
Interface DataviewCommon

All Superinterfaces:
ComponentTypeConverter
All Known Subinterfaces:
GridViewCommon, TableCommon, ThinDataviewCommon, UICrosstab, UIGridView, UITable
All Known Implementing Classes:
Dataview, UIDataviewAdapter

public interface DataviewCommon
extends ComponentTypeConverter

Methods that are common to Java-client views and HTML-client views.


Method Summary
 DataSource getDataSource()
          Retrieves the data source for this view.
 ErrorHandler getErrorHandler()
          Retrieves the current error handler for this view.
 int getHTMLPagingControlWidth()
          Retrieves the number of page items that are displayed before the paging control wraps.
 java.util.Locale getLocale()
          Retrieves the Locale for this DataviewCommon.
 Model getModel()
          Retrieves the model for this DataviewCommon.
 boolean isHTMLPagingControlAutosubmit()
          Indicates whether paging control changes are automatically submitted.
 void setDataSource(DataSource ds)
          Specifies the data source for this view.
 void setHTMLPagingControlAutosubmit(boolean autosubmit)
          Specifies whether paging control changes are automatically submitted.
 void setHTMLPagingControlWidth(int width)
          Specifies the number of page items that are displayed before the paging control wraps to a new line.

 

Methods inherited from interface oracle.dss.rules.ComponentTypeConverter
convertComponentTypeToInteger, convertComponentTypeToString

 

Method Detail

getErrorHandler

public ErrorHandler getErrorHandler()
Retrieves the current error handler for this view.
Returns:
The current error handler for this view.

getLocale

public java.util.Locale getLocale()
Retrieves the Locale for this DataviewCommon.
Parameters:
loc - The Locale for this DataviewCommon.

getModel

public Model getModel()
Retrieves the model for this DataviewCommon. The model represents the data that this DataviewCommon displays.
Returns:
The model for this DataviewCommon.

setHTMLPagingControlAutosubmit

public void setHTMLPagingControlAutosubmit(boolean autosubmit)
Specifies whether paging control changes are automatically submitted. By default, these changes are not submitted automatically. This property is used for the thin beans only.
Parameters:
autosubmit - true to enable automatic submission, false to disable it.

isHTMLPagingControlAutosubmit

public boolean isHTMLPagingControlAutosubmit()
Indicates whether paging control changes are automatically submitted. This property is used for the thin beans only.
Returns:
true if changes are automatically submitted, false if they are not.

setHTMLPagingControlWidth

public void setHTMLPagingControlWidth(int width)
Specifies the number of page items that are displayed before the paging control wraps to a new line. The default value is 3. This property is used for the thin beans only.
Parameters:
width - The number of page items to display before wrapping. To display all page items on the same line, pass -1.

getHTMLPagingControlWidth

public int getHTMLPagingControlWidth()
Retrieves the number of page items that are displayed before the paging control wraps. This property is used for the thin beans only.
Returns:
The number of page items to display before wrapping.

setDataSource

public void setDataSource(DataSource ds)
Specifies the data source for this view. In the Model-View-Controller architecture, the data source is the model. It feeds data to the view for display. The Model class in a presentation bean represents the DataSource to the view, but the DataSource is the real source of the data.
Parameters:
ds - The data source for this view.

getDataSource

public DataSource getDataSource()
Retrieves the data source for this view.
Returns:
The DataSource for this view. If no model or data source has been set for this view, this method returns null.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.