|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mycore.services.fieldquery.MCRQueryClient
public class MCRQueryClient
Executes a query on remote hosts using a webservice
| Field Summary | |
|---|---|
static List<String> |
ALL_HOSTS
A list containing the aliases of all hosts |
| Constructor Summary | |
|---|---|
MCRQueryClient()
|
|
| Method Summary | |
|---|---|
static Document |
doRetrieveClassification(String hostAlias,
String level,
String type,
String classID,
String categID,
String format)
Retrieves an classification part from remote host using the WebService. |
static Document |
doRetrieveLinks(String hostAlias,
String from,
String to,
String type)
Retrieves an link from remote host using the WebService. |
static Document |
doRetrieveObject(String hostAlias,
String ID)
Retrieves an Object from remote host using the webservice. |
(package private) static void |
search(MCRQuery query,
MCRResults results)
Executes a query on the given list of remote hosts and merges the results to the given result list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final List<String> ALL_HOSTS
| Constructor Detail |
|---|
public MCRQueryClient()
| Method Detail |
|---|
static void search(MCRQuery query,
MCRResults results)
query - the query to executeresults - the result list to add the hits to
public static Document doRetrieveObject(String hostAlias,
String ID)
hostAlias - the alias of the remote host as defined in hosts.xmlID - the ID of the Object to retrieve
public static Document doRetrieveClassification(String hostAlias,
String level,
String type,
String classID,
String categID,
String format)
hostAlias - the alias of the remote host as defined in hosts.xmllevel - the level of the classification to retrievetype - the type of the classification to retrieveclassID - the class ID of the classification to retrievecategID - the category ID of the classification to retrieveformat - of retrieved classification, valid values are: editor['['formatAlias']']|metadata
public static Document doRetrieveLinks(String hostAlias,
String from,
String to,
String type)
hostAlias - the alias of the remote host as defined in hosts.xmlfrom - the source of the linkto - the target of the linktype - the type of the link
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||