public final class QueryStackImpl extends Object implements QueryStack
Constructor and Description |
---|
QueryStackImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addQuery(Query query)
adds a Query to the Stack
|
void |
clear()
clear the collection stack
|
QueryStack |
duplicate(boolean deepCopy) |
QueryColumn |
getColumnFromACollection(Collection.Key key)
loop over all Queries and return value as QueryColumn at first ocurrence
|
QueryColumn |
getColumnFromACollection(String key)
loop over all Queries and return value as QueryColumn at first ocurrence
|
Object |
getDataFromACollection(Collection.Key key)
loop over all Queries and return value at first ocurrence
|
Object |
getDataFromACollection(PageContext pc,
Collection.Key key)
loop over all Queries and return value at first ocurrence
|
Object |
getDataFromACollection(PageContext pc,
Collection.Key key,
Object defaultValue) |
Object |
getDataFromACollection(PageContext pc,
String key)
loop over all Queries and return value at first ocurrence
|
Object |
getDataFromACollection(String key)
loop over all Queries and return value at first ocurrence
|
Query[] |
getQueries() |
boolean |
isEmpty() |
void |
removeQuery()
removes a Query from Stack
|
public QueryStackImpl()
public QueryStack duplicate(boolean deepCopy)
duplicate
in interface QueryStack
public void addQuery(Query query)
QueryStack
addQuery
in interface QueryStack
public void removeQuery()
QueryStack
removeQuery
in interface QueryStack
public boolean isEmpty()
isEmpty
in interface QueryStack
public Object getDataFromACollection(String key)
QueryStack
getDataFromACollection
in interface QueryStack
key
- column name of the value to getpublic Object getDataFromACollection(PageContext pc, String key)
QueryStack
getDataFromACollection
in interface QueryStack
key
- column name of the value to getpublic Object getDataFromACollection(Collection.Key key)
QueryStack
getDataFromACollection
in interface QueryStack
key
- column name of the value to getpublic Object getDataFromACollection(PageContext pc, Collection.Key key)
QueryStack
getDataFromACollection
in interface QueryStack
key
- column name of the value to getpublic Object getDataFromACollection(PageContext pc, Collection.Key key, Object defaultValue)
public QueryColumn getColumnFromACollection(String key)
QueryStack
getColumnFromACollection
in interface QueryStack
key
- column name of the value to getpublic QueryColumn getColumnFromACollection(Collection.Key key)
QueryStack
getColumnFromACollection
in interface QueryStack
key
- column name of the value to getpublic void clear()
QueryStack
clear
in interface QueryStack
public Query[] getQueries()
getQueries
in interface QueryStack
Copyright © 2015 Lucee