wt.epm.query
Class QueryTerminalServer
java.lang.Object
wt.epm.query.QueryTerminalServer
- All Implemented Interfaces:
- RemoteAccess
- public class QueryTerminalServer
- extends Object
- implements RemoteAccess
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SESSION_KEY
private static final String SESSION_KEY
- See Also:
- Constant Field Values
session
private QueryTerminalServer.Session session
result
private ArrayList result
multyValueProps
private static String[] multyValueProps
oneLineCommand
private static String[] oneLineCommand
QueryTerminalServer
public QueryTerminalServer()
loadSession
private void loadSession()
getOneLineCommand
public static String[] getOneLineCommand()
execute
public static Object execute(String command)
throws QueryException
- Throws:
QueryException
help
private void help(StringTokenizer st)
info
private void info(StringTokenizer st)
info0
private void info0(String s)
log
private void log(StringTokenizer st)
throws QueryException
- Throws:
QueryException
prop2Java
private String prop2Java(String s)
java2Prop
private String java2Prop(String s)
logField
private void logField(Field f,
boolean error)
throws QueryException,
IllegalAccessException
- Throws:
QueryException
IllegalAccessException
logClass
private void logClass(Class c)
throws QueryException,
IllegalAccessException
- Throws:
QueryException
IllegalAccessException
set
private void set(StringTokenizer st)
throws QueryException
- Throws:
QueryException
show
private void show(StringTokenizer st)
throws QueryException
- Throws:
QueryException
nl
private String nl(String s)
classInfo2Names
private Collection classInfo2Names(ClassInfo[] cis)
clazz
private void clazz(StringTokenizer st,
boolean desc)
throws QueryException
- Throws:
QueryException
roleInfo
private void roleInfo(Map res,
RoleDescriptor role,
String roleSide)
throws Exception
- Throws:
Exception
attribute
private void attribute(StringTokenizer st)
throws QueryException
- Throws:
QueryException
setPackages
private void setPackages(Query query)
setParameters
private void setParameters(Query query)
throws QueryException
- Throws:
QueryException
setAuth
private void setAuth(Query query)
throws QueryException
- Throws:
QueryException
getParserDebug
private boolean getParserDebug()
throws QueryException
- Throws:
QueryException
setupQuery
private void setupQuery(Query query)
throws QueryException
- Throws:
QueryException
trace
private void trace(StringTokenizer st)
throws QueryException
- Throws:
QueryException
tree
private void tree(StringTokenizer st)
throws QueryException
- Throws:
QueryException
sql
private void sql(StringTokenizer st)
throws QueryException
- Throws:
QueryException
query
private QueryResult query(String queryString)
throws QueryException
- Throws:
QueryException
invalidCommand
private void invalidCommand()
addFormatedMap
private void addFormatedMap(Collection result,
Map map)