public class QueryEngine extends Object
| Constructor and Description |
|---|
QueryEngine()
Creates a new instance of QueryEngine
|
| Modifier and Type | Method and Description |
|---|---|
void |
addData(Object baseBean)
adds a CoeusBean to the DataCollection with the specified key
|
void |
addData(Object key,
Object baseBean)
adds a CoeusBean to the DataCollection with the specified key
|
void |
addDataCollection(Object key,
List value)
adds a DatCollection(i.e.
|
void |
addDataCollection(Object object,
String... strings) |
QueryList |
cloneListData(QueryList queryList)
returns a clone(copy) of dataList which is passed as the parameter.
|
QueryList |
executeQuery(Class beanClass,
Operator operator)
returns a subset of Data Collection.
|
QueryList |
executeQuery(List dataList,
Operator operator)
returns a subset of Data Collection.
|
QueryList |
executeQuery(Object key,
Operator operator)
returns a subset of Data Collection.
|
QueryList |
getDetails(Object key,
Class beanClass)
returna all beans of this Class type
|
QueryList |
getDetails(Object key,
Object collectionKey)
returna all beans of this Class type
|
void |
removeData(Class beanClass,
int index)
removes a CoeusBean from the DataCollection with the specified key
|
void |
removeData(Class beanClass,
Operator operator)
Removes bean instances from query engine.
|
void |
removeData(Object baseBean)
removes CoeusBean from the DataCollection with the specified key
|
void |
removeData(Object key,
Operator operator)
removes a CoeusBean from the DataCollection with the specified key
|
void |
removeDataCollection(Object key)
removes a DatCollection(i.e.
|
public QueryList executeQuery(Class beanClass, Operator operator)
beanClass - bean Classkey - dataCollection keyoperator - Operatorpublic QueryList executeQuery(Object key, Operator operator)
collectionKey - collection keykey - data keyoperator - Operatorpublic QueryList executeQuery(List dataList, Operator operator)
collectionKey - collection keykey - data keyoperator - Operatorpublic QueryList cloneListData(QueryList queryList)
queryList - QueryListpublic QueryList getDetails(Object key, Class beanClass)
key - dataCollection keybeanClass - beanClasspublic QueryList getDetails(Object key, Object collectionKey)
key - dataCollection keycollectionKey - collectionKeypublic void addDataCollection(Object key, List value)
key - DatCollection keyvalue - DataCollection(i.e. Hashtable)public void removeDataCollection(Object key)
key - keypublic void addData(Object baseBean)
baseBean - BaseBeankey - key of the DataCollectionpublic void addData(Object key, Object baseBean)
baseBean - BaseBeankey - key of the DataCollectionpublic void removeData(Object baseBean)
baseBean - BaseBeankey - DataCollection keypublic void removeData(Class beanClass, int index)
key - DataCollection keybeanClass - Class type of the bean to locate QueryList from
where the Object has to be removedindex - index at which the Object has to be removed.public void removeData(Object key, Operator operator)
key - DataCollection keybeanClass - Class type of the bean to locate QueryList from
where the Object has to be removedindex - index at which the Object has to be removed.public void removeData(Class beanClass, Operator operator)
key - data collection key.beanClass - bean class.operator - operator.Copyright © 2013 The Kuali Foundation. All Rights Reserved.