Package com.infragistics.reveal.sdk.api
Interface IRVObjectFilter
-
public interface IRVObjectFilter
Allows filtering of 'objects' (DataSource and DataSourceItems) to be returned to the client. This makes it possible, for example, to avoid some tables or views to be seen when creating a Database data source. Only supported for Database providers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
filter(IRVUserContext userContext, RVDashboardDataSource dataSource)
Used to filter DataSources to be returned to the client.boolean
filter(IRVUserContext userContext, RVDataSourceItem dataSourceItem)
Used to filter DataSourceItems to be returned to the client.
-
-
-
Method Detail
-
filter
boolean filter(IRVUserContext userContext, RVDashboardDataSource dataSource)
Used to filter DataSources to be returned to the client. Only supported for Database providers.- Parameters:
userContext
- User contextdataSource
- Information about the data source being used, like the host name for a database, etc.- Returns:
- True if the data source should be returned, false if not.
-
filter
boolean filter(IRVUserContext userContext, RVDataSourceItem dataSourceItem)
Used to filter DataSourceItems to be returned to the client. Only supported for Database providers.- Parameters:
userContext
- User contextdataSourceItem
- Information about the data source item being used, like the name of the table, database, etc.- Returns:
- True if the data source item should be returned, false if not.
-
-