|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||
WEB-INF.cftags.component
datafaucet.system.sql.duck
datafaucet.system.sql.simplefiltergroup
datafaucet.system.sql.datefilter
public class datefilter
filters a query with a specified column before or after a specified date or within/not within a specified date range
| Constructor Summary | |
|---|---|
init(string column, [string after=''], [string before='1'], [boolean bindFilters='true'], [any table=''])
|
|
| Method Summary | |
|---|---|
private string |
get_column()
|
boolean |
hasFilters()
|
private void |
makeFilters()
|
private any |
newFilter(datafaucet.system.sql.date content, string comparison)
|
private void |
setDate(string propertyname, string propertyvalue)
|
any |
setProperties(struct collection)
|
private void |
set_after(string propertyname, string propertyvalue)
|
private void |
set_before(string propertyname, string propertyvalue)
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(string column, [string after=''], [string before='1'], [boolean bindFilters='true'], [any table=''])
column - the name of a column to filter results onafter - the earliest possible date to return from the querybefore - 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(datafaucet.system.sql.date content, string comparison)
contentcomparisonprivate void setDate(string propertyname, string propertyvalue)
propertynamepropertyvaluepublic any setProperties(struct collection)
setProperties
in class
duck
collectionprivate void set_after(string propertyname, string propertyvalue)
propertynamepropertyvalueprivate void set_before(string propertyname, string propertyvalue)
propertynamepropertyvalue
|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||