Package generalDatabase.dataExport
Class DataFilter
java.lang.Object
generalDatabase.dataExport.DataFilter
- Direct Known Subclasses:
LookupFilter
,ValueFilter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Should be called by any filter whenever it's data have changed so that any necessary actions can be taken.abstract boolean
Display some kind of action which will enable users to set the filter - be it a drop down menu, a dialog, etc.abstract String
Get the column name associated with this filter.abstract String
getFilterClause
(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).
-