|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis.client.Stub
org.exist.soap.QuerySoapBindingStub
Field Summary |
Fields inherited from class org.apache.axis.client.Stub |
cachedEndpoint, cachedPassword, cachedPortName, cachedProperties, cachedTimeout, cachedUsername, maintainSession, maintainSessionSet, service |
Fields inherited from interface javax.xml.rpc.Stub |
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, USERNAME_PROPERTY |
Constructor Summary | |
QuerySoapBindingStub()
|
|
QuerySoapBindingStub(javax.xml.rpc.Service service)
|
|
QuerySoapBindingStub(java.net.URL endpointURL,
javax.xml.rpc.Service service)
|
Method Summary | |
java.lang.String |
connect(java.lang.String in0,
java.lang.String in1)
Create a new user session. |
void |
disconnect(java.lang.String in0)
Release a user session. |
java.lang.String |
getResource(java.lang.String in0,
java.lang.String in1,
boolean in2,
boolean in3)
Retrieve a document from the database. |
Collection |
listCollection(java.lang.String in0,
java.lang.String in1)
Get information on the specified collection. |
QueryResponse |
query(java.lang.String in0,
java.lang.String in1)
|
java.lang.String[] |
retrieve(java.lang.String in0,
int in1,
int in2,
boolean in3,
boolean in4,
java.lang.String in5)
Retrieve a set of query results from the last query executed within the current session. |
java.lang.String[] |
retrieveByDocument(java.lang.String in0,
int in1,
int in2,
java.lang.String in3,
boolean in4,
boolean in5,
java.lang.String in6)
For the specified document, retrieve a set of query results from the last query executed within the current session. |
Methods inherited from class org.apache.axis.client.Stub |
_getProperty, _getPropertyNames, _setProperty, addAttachment, clearAttachments, clearHeaders, extractAttachments, firstCall, getAttachments, getHeader, getHeaders, getPassword, getPortName, getResponseHeaders, getTimeout, getUsername, removeProperty, setAttachments, setHeader, setHeader, setMaintainSession, setPassword, setPortName, setPortName, setRequestHeaders, setTimeout, setUsername |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QuerySoapBindingStub() throws org.apache.axis.AxisFault
public QuerySoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault
public QuerySoapBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault
Method Detail |
public java.lang.String getResource(java.lang.String in0, java.lang.String in1, boolean in2, boolean in3) throws java.rmi.RemoteException
Query
getResource
in interface Query
in0
- a valid session id as returned by connect().in1
- the full path to the document.in2
- should the document be pretty-printed (indented)?in3
- should xinclude tags be expanded?
java.rmi.RemoteException
public QueryResponse query(java.lang.String in0, java.lang.String in1) throws java.rmi.RemoteException
query
in interface Query
in0
- a valid session id as returned by connect().in1
- XPath query string.
java.rmi.RemoteException
public java.lang.String connect(java.lang.String in0, java.lang.String in1) throws java.rmi.RemoteException
Query
connect
in interface Query
in0
- in1
-
java.rmi.RemoteException
- if the user cannot log inpublic java.lang.String[] retrieve(java.lang.String in0, int in1, int in2, boolean in3, boolean in4, java.lang.String in5) throws java.rmi.RemoteException
Query
retrieve
in interface Query
in0
- a valid session id as returned by connect().in1
- the first result to retrieve.in2
- number of results to be returned.in3
- should the XML be pretty-printed?in4
- should xinclude tags be expanded?in5
- highlight matching search terms within elements
or attributes. Possible values are: "elements" for elements only,
"attributes" for attributes only, "both" for elements and attributes,
"none" to disable highlighting. For elements, matching terms are
surrounded by <exist:match> tags. For attributes, terms are
marked with the char sequence "||".
java.rmi.RemoteException
public void disconnect(java.lang.String in0) throws java.rmi.RemoteException
Query
disconnect
in interface Query
in0
- a valid session id as returned by connect().
java.rmi.RemoteException
public java.lang.String[] retrieveByDocument(java.lang.String in0, int in1, int in2, java.lang.String in3, boolean in4, boolean in5, java.lang.String in6) throws java.rmi.RemoteException
Query
retrieveByDocument
in interface Query
in0
- a valid session id as returned by connect().in1
- the first result to retrieve.in2
- number of results to be returned.in3
- the full path to the document.in4
- should the XML be pretty-printed?in5
- should xinclude tags be expanded?in6
- highlight matching search terms within elements
or attributes. Possible values are: "elements" for elements only,
"attributes" for attributes only, "both" for elements and attributes,
"none" to disable highlighting. For elements, matching terms are
surrounded by <exist:match> tags. For attributes, terms are
marked with the char sequence "||".
java.rmi.RemoteException
public Collection listCollection(java.lang.String in0, java.lang.String in1) throws java.rmi.RemoteException
Query
listCollection
in interface Query
in0
- a valid session id as returned by connect().in1
- the full path to the collection.
java.rmi.RemoteException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |