public class SorterQuery
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected ApplicationElement |
aeChild |
| Constructor and Description |
|---|
SorterQuery()
Empty Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addCondSeq(SelItem[] newconditions)
Adds an array of SelItems to the condseq of the query.
|
QueryStructureExt |
cloneQuery(QueryStructureExt old)
Clones the momentary query structure and returns it.
|
ResultSetExt |
createTableResultSetExt(ApplicationStructure asObj,
ApplicationElement ae)
Selected the table contents from an application element or the relation of
the instance element.
|
ResultSetExt |
createTableResultSetExt(ApplicationStructure asObj,
InstanceElement ie)
Selected the table contents from an instances element or the relation of
the instance element.
|
protected void |
resetQuery()
Checks if query and orgquery are identical and resets the working copy with the backup if not
|
ResultSetExt |
runquery(ApplicationStructure as)
Run an existant query on a given ApplicationStructure
|
protected ApplicationElement aeChild
public SorterQuery()
public ResultSetExt createTableResultSetExt(ApplicationStructure asObj, ApplicationElement ae) throws AoException
relIE - The related InstanceElement. If null the result is
the table with all InstanceElements belong to the
ApplicationElement.ae - the application element.withRel - if true the relation will be selected additionallyAoExceptionpublic ResultSetExt createTableResultSetExt(ApplicationStructure asObj, InstanceElement ie) throws AoException
asObj - the Application Structureie - the Instance elementAoExceptionpublic ResultSetExt runquery(ApplicationStructure as)
as - The application structurepublic QueryStructureExt cloneQuery(QueryStructureExt old)
public boolean addCondSeq(SelItem[] newconditions)
newconditions - the Array of new Conditionsprotected void resetQuery()