|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.soap.QuerySoapBindingSkeleton
public class QuerySoapBindingSkeleton
Constructor Summary | |
---|---|
QuerySoapBindingSkeleton()
|
|
QuerySoapBindingSkeleton(Query impl)
|
Method Summary | |
---|---|
String |
connect(String userId,
String password)
Create a new user session. |
void |
disconnect(String sessionId)
Release a user session. |
static List |
getOperationDescByName(String methodName)
Returns List of OperationDesc objects with this name |
static Collection |
getOperationDescs()
Returns Collection of OperationDescs |
String |
getResource(String sessionId,
String path,
boolean indent,
boolean xinclude)
Retrieve a document from the database. |
byte[] |
getResourceData(String sessionId,
String path,
boolean indent,
boolean xinclude,
boolean processXSLPI)
Retrieve a document from the database. |
Collection |
listCollection(String sessionId,
String path)
Get information on the specified collection. |
QueryResponse |
query(String sessionId,
String xpath)
Execute a simple XPath query passed as string. |
String[] |
retrieve(String sessionId,
int start,
int howmany,
boolean indent,
boolean xinclude,
String highlight)
Retrieve a set of query results from the last query executed within the current session. |
String[] |
retrieveByDocument(String sessionId,
int start,
int howmany,
String path,
boolean indent,
boolean xinclude,
String highlight)
For the specified document, retrieve a set of query results from the last query executed within the current session. |
Base64BinaryArray |
retrieveData(String sessionId,
int start,
int howmany,
boolean indent,
boolean xinclude,
String highlight)
Retrieve a set of query results from the last query executed within the current session. |
QueryResponse |
xquery(String sessionId,
byte[] xquery)
Execute an XQuery. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuerySoapBindingSkeleton()
public QuerySoapBindingSkeleton(Query impl)
Method Detail |
---|
public static List getOperationDescByName(String methodName)
public static Collection getOperationDescs()
public String getResource(String sessionId, String path, boolean indent, boolean xinclude) throws RemoteException
Query
getResource
in interface Query
sessionId
- a valid session id as returned by connect().path
- the full path to the document.indent
- should the document be pretty-printed (indented)?xinclude
- should xinclude tags be expanded?
RemoteException
public QueryResponse query(String sessionId, String xpath) throws RemoteException
Query
query
in interface Query
sessionId
- a valid session id as returned by connect().xpath
- XPath query string.
RemoteException
public String connect(String userId, String password) throws RemoteException
Query
connect
in interface Query
RemoteException
- if the user cannot log inpublic String[] retrieve(String sessionId, int start, int howmany, boolean indent, boolean xinclude, String highlight) throws RemoteException
Query
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 "||".
RemoteException
public void disconnect(String sessionId) throws RemoteException
Query
disconnect
in interface Query
sessionId
- a valid session id as returned by connect().
RemoteException
public byte[] getResourceData(String sessionId, String path, boolean indent, boolean xinclude, boolean processXSLPI) throws RemoteException
Query
getResourceData
in interface Query
sessionId
- a valid session id as returned by connect().path
- the full path to the document.indent
- should the document be pretty-printed (indented)?xinclude
- should xinclude tags be expanded?processXSLPI
- should XSL processing instructions be processed?
RemoteException
public QueryResponse xquery(String sessionId, byte[] xquery) throws RemoteException
Query
xquery
in interface Query
sessionId
- a valid session id as returned by connect().xquery
- the XQuery script in binary encoding.
RemoteException
public Base64BinaryArray retrieveData(String sessionId, int start, int howmany, boolean indent, boolean xinclude, String highlight) throws RemoteException
Query
retrieveData
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 "||".
RemoteException
public String[] retrieveByDocument(String sessionId, int start, int howmany, String path, boolean indent, boolean xinclude, String highlight) throws RemoteException
Query
retrieveByDocument
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.path
- the full path to the document.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 "||".
RemoteException
public Collection listCollection(String sessionId, String path) throws RemoteException
Query
listCollection
in interface Query
sessionId
- a valid session id as returned by connect().path
- the full path to the collection.
RemoteException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |