DataFaucet 1.0 Beta

datafaucet.system.sql
Class simplefiltergroup

WEB-INF.cftags.component
        extended by datafaucet.system.sql.duck
            extended by datafaucet.system.sql.simplefiltergroup
Direct Known Subclasses:
andorfilter , collectionfilter , datefilter , filtergroup , numericfilter , timespanfilter

public class simplefiltergroup
extends duck

an abstract class which is extended by filtergroup.cfc and other grouped-filters


Constructor Summary
init()
 
Method Summary
 any appendFilter(any filter)
 boolean bindFilters()
 any clearFilters()
private any columnNotFoundException(string column)
 any execute()
private boolean filtersExist()
 any getAvailableColumnList()
 any getDatasource()
 any getFilters()
 any getFirstFilter()
 any getGroupSource()
 any getSource([string table=''])
          searches the source tables for a join or filtergroup to match a specified alias - returns 0 if not found
 any getSyntax()
 any getTable()
private array getTableArray([any table='[runtime expression]'], [any array='[runtime expression]'])
private any getTableForColumn(string column)
private string get_column()
 boolean hasFilters()
 boolean hasGroupSource()
 boolean hasJoinSource()
 boolean hasJoinTables()
 boolean isGroup()
private any makeFilters()
          in derived classes this method ensures that filters are created when necessary
 any raiseFilterExceptions([boolean state])
 any setTable(any table)
private any typeMismatchException(string column, string type)
 
Methods inherited from class datafaucet.system.sql.duck
arg, getDefaultLocalization, getLocalization, getNext, getObject, getProperties, getProperty, getPropertylist, getTail, getValue, hasNext, identifyAccessorOrMutator, insertAfter, onMissingMethod, parseDate, parseNumber, raiseAbstractClassException, raiseMissingMethodException, removeAfter, setLocalization, setNext, setProperties, setProperty, setValue, simplify
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init()

Method Detail

appendFilter

public any appendFilter(any filter)

Parameters:
filter

bindFilters

public boolean bindFilters()


clearFilters

public any clearFilters()


columnNotFoundException

private any columnNotFoundException(string column)

Parameters:
column

execute

public any execute()


filtersExist

private boolean filtersExist()


getAvailableColumnList

public any getAvailableColumnList()


getDatasource

public any getDatasource()


getFilters

public any getFilters()


getFirstFilter

public any getFirstFilter()


getGroupSource

public any getGroupSource()


getSource

public any getSource([string table=''])
searches the source tables for a join or filtergroup to match a specified alias - returns 0 if not found

Parameters:
table

getSyntax

public any getSyntax()


getTable

public any getTable()


getTableArray

private array getTableArray([any table='[runtime expression]'], [any array='[runtime expression]'])

Parameters:
table
array

getTableForColumn

private any getTableForColumn(string column)

Parameters:
column

get_column

private string get_column()


hasFilters

public boolean hasFilters()


hasGroupSource

public boolean hasGroupSource()


hasJoinSource

public boolean hasJoinSource()


hasJoinTables

public boolean hasJoinTables()


isGroup

public boolean isGroup()


makeFilters

private any makeFilters()
in derived classes this method ensures that filters are created when necessary


raiseFilterExceptions

public any raiseFilterExceptions([boolean state])

Parameters:
state

setTable

public any setTable(any table)

Parameters:
table - an object of type DataFaucet.sql.statement

typeMismatchException

private any typeMismatchException(string column, string type)

Parameters:
column
type

DataFaucet 1.0 Beta