Package generalDatabase.dataExport
Class DataFilter
java.lang.Object
generalDatabase.dataExport.DataFilter
- Direct Known Subclasses:
LookupFilter,ValueFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidShould be called by any filter whenever it's data have changed so that any necessary actions can be taken.abstract booleanDisplay some kind of action which will enable users to set the filter - be it a drop down menu, a dialog, etc.abstract StringGet the column name associated with this filter.abstract StringgetFilterClause(SQLTypes sqlTypes) Get a filter clause which can be incorporated into an SQL string
-
Constructor Details
-
DataFilter
- Parameters:
dataFilterChangeListener-
-
-
Method Details
-
filterChanged
public void filterChanged()Should be called by any filter whenever it's data have changed so that any necessary actions can be taken. -
filterSelectAction
Display some kind of action which will enable users to set the filter - be it a drop down menu, a dialog, etc.- Returns:
- true if filter settings are changed.
-
getColumnName
Get the column name associated with this filter.- Returns:
- the column name associated with this filter.
-
getFilterClause
Get a filter clause which can be incorporated into an SQL string- Returns:
- SQL clause (without the WHERE).
-