public class QuerySample extends LoginDungs
This class demonstrates how to retrieve a number of issues from a Track+
server by a query via the web service interface using the Track+ Client
Library (TCL). The class uses the LoginSample
class to perform
the login. You need to set the URL and the user name and password in that
class before you compile and run this class here.
This example is a Java console application. You can run it directly by
calling its main()
method.
connector, pField, uName, url
Constructor and Description |
---|
QuerySample() |
QuerySample(TCLFacade connector) |
Modifier and Type | Method and Description |
---|---|
WSQueryResultItemBean[] |
executeQuery(java.lang.String queryID)
Execute the query
|
WSTreeNode[] |
getQueries() |
static void |
main(java.lang.String[] args)
Convert all documents to new structure
|
void |
println(java.lang.String line) |
checkVersion, handleTCLFacadeException, login, login, run, startTime, stopTime
public QuerySample()
public QuerySample(TCLFacade connector)
public WSTreeNode[] getQueries()
public WSQueryResultItemBean[] executeQuery(java.lang.String queryID)
queryID
- public void println(java.lang.String line)
public static void main(java.lang.String[] args)
args
-