|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mycore.services.fieldquery.MCRQueryCommands
public class MCRQueryCommands
Provides commands to test the query classes using the command line interface
| Constructor Summary | |
|---|---|
MCRQueryCommands()
|
|
| Method Summary | |
|---|---|
ArrayList<MCRCommand> |
getPossibleCommands()
The method returns all available commands. |
static void |
runAllQueryFromString(String querystring)
Runs a query that is specified as String against all hosts. |
static void |
runLocalQueryFromString(String querystring)
Runs a query that is specified as String against the local host. |
static void |
runQueryFromFile(String filename)
Runs a query that is specified as XML in the given file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MCRQueryCommands()
| Method Detail |
|---|
public ArrayList<MCRCommand> getPossibleCommands()
getPossibleCommands in interface MCRExternalCommandInterface
public static void runQueryFromFile(String filename)
throws JDOMException,
IOException
filename - the name of the XML file with the query condition
JDOMException
IOExceptionpublic static void runLocalQueryFromString(String querystring)
querystring - the string with the query conditionpublic static void runAllQueryFromString(String querystring)
querystring - the string with the query condition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||