|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mycore.services.fieldquery.MCRQueryClientBase
public class MCRQueryClientBase
| Field Summary | |
|---|---|
protected String |
access
The access mode for the remote host |
protected String |
alias
The host alias |
protected static Logger |
LOGGER
The logger |
protected String |
servicepath
The URL path for the remote host service |
protected String |
url
The base URL for the remote host |
| Constructor Summary | |
|---|---|
MCRQueryClientBase()
|
|
| 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. |
String |
getAlias()
|
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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Logger LOGGER
protected String alias
protected String url
protected String access
protected String servicepath
| Constructor Detail |
|---|
public MCRQueryClientBase()
| Method Detail |
|---|
public void init(Element xmlhost)
init in interface MCRQueryClientInterfacepublic final String getAlias()
getAlias in interface MCRQueryClientInterface
public void search(Document inDoc,
MCRResults results)
search in interface MCRQueryClientInterfaceinDoc - the query as W3C DOM documentresults - the result list to add the hits topublic Document doRetrieveObject(String ID)
doRetrieveObject in interface MCRQueryClientInterfacehostAlias - 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 MCRQueryClientInterfacelevel - 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 MCRQueryClientInterfacehostAlias - 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 | |||||||||