railo.runtime.util
Interface QueryStack

All Known Implementing Classes:
QueryStackImpl

public interface QueryStack

Query Stack


Method Summary
 void addQuery(Query query)
          adds a Query to the Stack
 void clear()
          clear the collection stack
 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)
          Deprecated. use instead getDataFromACollection(PageContext,Collection.Key)
 Object getDataFromACollection(PageContext pc, Collection.Key key)
          loop over all Queries and return value at first ocurrence
 Object getDataFromACollection(PageContext pc, String key)
          loop over all Queries and return value at first ocurrence
 Object getDataFromACollection(String key)
          Deprecated. use instead getDataFromACollection(PageContext,String)
 Query[] getQueries()
           
 boolean isEmpty()
           
 void removeQuery()
          removes a Query from Stack
 

Method Detail

addQuery

void addQuery(Query query)
adds a Query to the Stack

Parameters:
query -

removeQuery

void removeQuery()
removes a Query from Stack


isEmpty

boolean isEmpty()
Returns:
returns if stack is empty or not

getDataFromACollection

Object getDataFromACollection(String key)
Deprecated. use instead getDataFromACollection(PageContext,String)

loop over all Queries and return value at first ocurrence

Parameters:
key - column name of the value to get
Returns:
value

getDataFromACollection

Object getDataFromACollection(PageContext pc,
                              String key)
loop over all Queries and return value at first ocurrence

Parameters:
key - column name of the value to get
Returns:
value

getDataFromACollection

Object getDataFromACollection(Collection.Key key)
Deprecated. use instead getDataFromACollection(PageContext,Collection.Key)

loop over all Queries and return value at first ocurrence

Parameters:
key - column name of the value to get
Returns:
value

getDataFromACollection

Object getDataFromACollection(PageContext pc,
                              Collection.Key key)
loop over all Queries and return value at first ocurrence

Parameters:
key - column name of the value to get
Returns:
value

getColumnFromACollection

QueryColumn getColumnFromACollection(String key)
loop over all Queries and return value as QueryColumn at first ocurrence

Parameters:
key - column name of the value to get
Returns:
value

getColumnFromACollection

QueryColumn getColumnFromACollection(Collection.Key key)
loop over all Queries and return value as QueryColumn at first ocurrence

Parameters:
key - column name of the value to get
Returns:
value

clear

void clear()
clear the collection stack


getQueries

Query[] getQueries()
Returns:
returns all queries in the stack


Copyright © 2012 Railo