|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mycore.services.fieldquery.MCRQueryClientBase
org.mycore.services.fieldquery.MCRQueryClientWebService
public class MCRQueryClientWebService
| Field Summary | |
|---|---|
protected String |
endpoint
The complete WebService URL * |
protected static org.apache.axis.description.OperationDesc |
operation
The description of the doQuery service operation |
protected static org.apache.axis.client.Service |
service
The AXIS service object |
| Fields inherited from class org.mycore.services.fieldquery.MCRQueryClientBase |
|---|
access, alias, LOGGER, servicepath, url |
| Constructor Summary | |
|---|---|
MCRQueryClientWebService()
|
|
| Method Summary | |
|---|---|
Document |
doRetrieveClassification(String level,
String type,
String classID,
String categID,
String format)
Retrieves an classification part from remote host using the WebService. |
Document |
doRetrieveLinks(String from,
String to,
String type)
Retrieves an link from remote host using the WebService. |
Document |
doRetrieveObject(String ID)
Retrieves an Object from remote host using the defined service. |
void |
init(Element xmlhost)
|
void |
search(Document inDoc,
MCRResults results)
Executes a query on a single remote host using the defined service. |
| Methods inherited from class org.mycore.services.fieldquery.MCRQueryClientBase |
|---|
getAlias |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.apache.axis.client.Service service
protected static org.apache.axis.description.OperationDesc operation
protected String endpoint
| Constructor Detail |
|---|
public MCRQueryClientWebService()
| Method Detail |
|---|
public void init(Element xmlhost)
init in interface MCRQueryClientInterfaceinit in class MCRQueryClientBase
public void search(Document inDoc,
MCRResults results)
search in interface MCRQueryClientInterfacesearch in class MCRQueryClientBaseinDoc - the query as W3C DOM documentresults - the result list to add the hits topublic Document doRetrieveObject(String ID)
doRetrieveObject in interface MCRQueryClientInterfacedoRetrieveObject in class MCRQueryClientBasehostAlias - the alias of the remote host as defined in hosts.xmlID - the ID of the object to retrieve
public Document doRetrieveClassification(String level,
String type,
String classID,
String categID,
String format)
doRetrieveClassification in interface MCRQueryClientInterfacedoRetrieveClassification in class MCRQueryClientBaselevel - 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 Document doRetrieveLinks(String from,
String to,
String type)
doRetrieveLinks in interface MCRQueryClientInterfacedoRetrieveLinks in class MCRQueryClientBasehostAlias - 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 | |||||||||