|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.soap.QuerySoapBindingImpl
Description of the Class
Constructor Summary | |
QuerySoapBindingImpl()
Constructor for the QuerySoapBindingImpl object |
Method Summary | |
java.lang.String |
connect(java.lang.String user,
java.lang.String password)
Create a new user session. |
void |
disconnect(java.lang.String id)
Release a user session. |
java.lang.String |
getResource(java.lang.String sessionId,
java.lang.String name,
boolean indent,
boolean xinclude)
Gets the resource attribute of the QuerySoapBindingImpl object |
Collection |
listCollection(java.lang.String sessionId,
java.lang.String path)
Description of the Method |
QueryResponse |
query(java.lang.String sessionId,
java.lang.String query)
Description of the Method |
java.lang.String[] |
retrieve(java.lang.String sessionId,
int start,
int howmany,
boolean indent,
boolean xinclude,
java.lang.String highlight)
Description of the Method |
java.lang.String[] |
retrieveByDocument(java.lang.String sessionId,
int start,
int howmany,
java.lang.String docPath,
boolean indent,
boolean xinclude,
java.lang.String highlight)
Description of the Method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QuerySoapBindingImpl()
Method Detail |
public java.lang.String connect(java.lang.String user, java.lang.String password) throws java.rmi.RemoteException
Query
connect
in interface Query
user
- password
-
java.rmi.RemoteException
- if the user cannot log inpublic void disconnect(java.lang.String id) throws java.rmi.RemoteException
Query
disconnect
in interface Query
id
- a valid session id as returned by connect().
java.rmi.RemoteException
public java.lang.String getResource(java.lang.String sessionId, java.lang.String name, boolean indent, boolean xinclude) throws java.rmi.RemoteException
getResource
in interface Query
name
- Description of the ParametersessionId
- a valid session id as returned by connect().indent
- should the document be pretty-printed (indented)?xinclude
- should xinclude tags be expanded?
java.rmi.RemoteException
- Description of the Exceptionpublic Collection listCollection(java.lang.String sessionId, java.lang.String path) throws java.rmi.RemoteException
listCollection
in interface Query
path
- Description of the ParametersessionId
- a valid session id as returned by connect().
java.rmi.RemoteException
- Description of the Exceptionpublic QueryResponse query(java.lang.String sessionId, java.lang.String query) throws java.rmi.RemoteException
query
in interface Query
query
- Description of the ParametersessionId
- a valid session id as returned by connect().
java.rmi.RemoteException
- Description of the Exceptionpublic java.lang.String[] retrieve(java.lang.String sessionId, int start, int howmany, boolean indent, boolean xinclude, java.lang.String highlight) throws java.rmi.RemoteException
retrieve
in interface Query
sessionId
- a valid session id as returned by connect().start
- the first result to retrieve.howmany
- number of results to be returned.indent
- should the XML be pretty-printed?xinclude
- should xinclude tags be expanded?highlight
- 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
- Description of the Exceptionpublic java.lang.String[] retrieveByDocument(java.lang.String sessionId, int start, int howmany, java.lang.String docPath, boolean indent, boolean xinclude, java.lang.String highlight) throws java.rmi.RemoteException
retrieveByDocument
in interface Query
docPath
- Description of the ParametersessionId
- a valid session id as returned by connect().start
- the first result to retrieve.howmany
- number of results to be returned.indent
- should the XML be pretty-printed?xinclude
- should xinclude tags be expanded?highlight
- 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
- Description of the Exception
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |