All Packages Class Hierarchy This Package Previous Next Index
Class org.xmlmiddleware.xmldbms.filters.FilterBase
java.lang.Object
|
+----org.xmlmiddleware.xmldbms.filters.FilterBase
- public class FilterBase
- extends Object
Base class for RootFilter and ResultSetFilter; contains TableFilters.
For internal use.
- Version:
- 2.0
- Author:
- Ronald Bourret, 2001
-
createTableFilter(String, String, String, String)
- Create a filter for a class table.
-
getTableFilter(String, String, String, String)
- Get a table filter.
-
getTableFilter(Table)
- Get a table filter.
-
getTableFilters()
- Gets an Enumeration of all the table filters.
-
removeAllTableFilters()
- Remove the filters for all tables.
-
removeTableFilter(String, String, String, String)
- Remove the filter for a table.
getTableFilter
public final TableFilter getTableFilter(String databaseName,
String catalogName,
String schemaName,
String tableName)
- Get a table filter.
- Parameters:
- databaseName - Name of the database. If this is null, "Default" is used.
- catalogName - Name of the catalog. May be null.
- schemaName - Name of the schema. May be null.
- tableName - Name of the table.
- Returns:
- The TableFilter. Null if no filter exists for the table.
getTableFilter
public final TableFilter getTableFilter(Table table)
- Get a table filter.
- Parameters:
- table - The Table
- Returns:
- The TableFilter. Null if no filter exists for the table.
getTableFilters
public final Enumeration getTableFilters()
- Gets an Enumeration of all the table filters.
- Returns:
- The Enumeration. May be empty.
createTableFilter
public TableFilter createTableFilter(String databaseName,
String catalogName,
String schemaName,
String tableName) throws XMLMiddlewareException
- Create a filter for a class table.
- Parameters:
- databaseName - Name of the database. If this is null, "Default" is used.
- catalogName - Name of the catalog. May be null.
- schemaName - Name of the schema. May be null.
- tableName - Name of the table.
- Returns:
- The TableFilter for the table.
- Throws: XMLMiddlewareException
- Thrown if a filter already exists for the
table or the table is not mapped as a class table.
removeTableFilter
public void removeTableFilter(String databaseName,
String catalogName,
String schemaName,
String tableName) throws XMLMiddlewareException
- Remove the filter for a table.
- Parameters:
- databaseName - Name of the database. If this is null, "Default" is used.
- catalogName - Name of the catalog. May be null.
- schemaName - Name of the schema. May be null.
- tableName - Name of the table.
- Throws: XMLMiddlewareException
- Thrown if no filter exists for the table.
removeAllTableFilters
public void removeAllTableFilters()
- Remove the filters for all tables.
All Packages Class Hierarchy This Package Previous Next Index