|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groiss.reporting.engine.QueryEngine
public class QueryEngine
| Constructor Summary | |
|---|---|
QueryEngine()
|
|
| Method Summary | |
|---|---|
static void |
abort(java.lang.String query_id)
Aborts a query execution |
static Pair |
execute(Query q)
|
static Pair |
execute(Query q,
java.lang.String query_id)
Executes a query Object |
static void |
executeQuery(javax.servlet.http.HttpServletRequest r,
javax.servlet.http.HttpServletResponse res)
|
static void |
executeQuery(MultipartRequest req,
javax.servlet.http.HttpServletResponse res)
|
static java.lang.String |
generateQueryId()
returns a generated query ID |
static ReportingData |
getReportingDataObject(org.jdom.Element e)
|
static ReportingData |
getReportingDataObject(java.lang.String entity,
java.lang.String attribute)
|
static boolean |
hasStatRight(User u)
|
static boolean |
isOracle()
|
static void |
outputTableModel(javax.servlet.http.HttpServletResponse res,
javax.swing.table.TableModel tm,
Query q)
Outputs the query result using the exporter of the query |
static org.jdom.Document |
parseXMLQuery(java.lang.String queryStr)
Parses a XML String |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryEngine()
| Method Detail |
|---|
public static boolean hasStatRight(User u)
u -
true if the user has the right statistic
public static void executeQuery(javax.servlet.http.HttpServletRequest r,
javax.servlet.http.HttpServletResponse res)
throws java.lang.Exception
java.lang.Exception
public static void executeQuery(MultipartRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.lang.Exception
java.lang.Exception
public static void outputTableModel(javax.servlet.http.HttpServletResponse res,
javax.swing.table.TableModel tm,
Query q)
throws java.lang.Exception
res - tm - - the tablemodelq - - the query object
java.lang.Exception
public static Pair execute(Query q)
throws java.lang.Exception
java.lang.Exception
public static Pair execute(Query q,
java.lang.String query_id)
throws java.lang.Exception
q - - the query objectquery_id - - the id of the query
java.lang.Exceptionpublic static org.jdom.Document parseXMLQuery(java.lang.String queryStr)
queryStr -
public static ReportingData getReportingDataObject(org.jdom.Element e)
throws java.lang.Exception
e - - the xml element of the query xml
java.lang.ExceptiongetReportingDataObject(String, String)
public static ReportingData getReportingDataObject(java.lang.String entity,
java.lang.String attribute)
throws java.lang.Exception
entity - - the referenced entity id of schemaattribute - - the referenced attribute id of schema
java.lang.Exceptionpublic static boolean isOracle()
true if Database is Oraclepublic static java.lang.String generateQueryId()
public static void abort(java.lang.String query_id)
throws java.lang.Exception
query_id -
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||