|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||
WEB-INF.cftags.component
datafaucet.system.sql.duck
datafaucet.system.sql.simplefiltergroup
datafaucet.system.sql.numericfilter
public class numericfilter
filters a query with a specified column greater or less than a specified minimum or maximum number or within/not within a specified numeric range
| Constructor Summary | |
|---|---|
init(string column, [string min=''], [string max=''], [boolean bindFilters='true'], [any table=''])
|
|
| Method Summary | |
|---|---|
private string |
get_column()
|
boolean |
hasFilters()
|
private void |
makeFilters()
|
private any |
newFilter(numeric content, string comparison)
|
private void |
setNumber(string propertyname, string propertyvalue)
|
any |
setProperties(struct collection)
|
private void |
set_max(string propertyname, string propertyvalue)
|
private void |
set_min(string propertyname, string propertyvalue)
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(string column, [string min=''], [string max=''], [boolean bindFilters='true'], [any table=''])
column - the name of a column to filter results onmin - the earliest possible date to return from the querymax - the latest possible date to return from the query - a number may be substituted to indicate a specific number of daysbindFilters - indicates if the created filters should be groupedtable - an object of type statement.cfc| Method Detail |
|---|
private string get_column()
get_column
in class
simplefiltergroup
public boolean hasFilters()
hasFilters
in class
simplefiltergroup
private void makeFilters()
makeFilters
in class
simplefiltergroup
private any newFilter(numeric content, string comparison)
contentcomparisonprivate void setNumber(string propertyname, string propertyvalue)
propertynamepropertyvaluepublic any setProperties(struct collection)
setProperties
in class
duck
collectionprivate void set_max(string propertyname, string propertyvalue)
propertynamepropertyvalueprivate void set_min(string propertyname, string propertyvalue)
propertynamepropertyvalue
|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||