|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RpcAPI
Defines the methods callable through the XMLRPC interface.
Field Summary | |
---|---|
static String |
BASE_URI
|
static String |
COLUMN
|
static String |
ERROR
|
static String |
LINE
|
static String |
NAMESPACES
|
static String |
PROTECTED_MODE
|
static String |
SORT_EXPR
|
static String |
STATIC_DOCUMENTS
|
static String |
VARIABLES
|
Method Summary | |
---|---|
boolean |
backup(String userbackup,
String password,
String destcollection,
String collection)
|
HashMap |
compile(byte[] xquery,
HashMap parameters)
|
boolean |
configureCollection(String collection,
String configuration)
|
boolean |
copyCollection(String name,
String namedest)
|
boolean |
copyCollection(String collectionPath,
String destinationPath,
String newName)
|
boolean |
copyResource(String docPath,
String destinationPath,
String newName)
|
boolean |
createCollection(String name)
Create a new collection on the database. |
boolean |
createCollection(String name,
Date created)
|
String |
createResourceId(String collection)
|
boolean |
dataBackup(String dest)
|
HashMap |
describeCollection(String collectionName)
|
HashMap |
describeResource(String resourceName)
|
HashMap |
execute(String path,
HashMap parameters)
Execute XPath/Xquery from path file (stored inside eXist) returned reference may be used later to get a summary of results or retrieve the actual hits. |
int |
executeQuery(byte[] xpath,
HashMap parameters)
|
int |
executeQuery(byte[] xpath,
String encoding,
HashMap parameters)
Execute XPath query and return a reference to the result set. |
int |
executeQuery(String xpath,
HashMap parameters)
|
byte[] |
getBinaryResource(String name)
|
HashMap |
getCollectionDesc(String rootCollection)
Describe a collection: returns a struct with the following fields: |
Date |
getCreationDate(String collectionName)
|
Vector |
getDocType(String documentName)
|
byte[] |
getDocument(String name,
HashMap parameters)
Retrieve document by name. |
byte[] |
getDocument(String name,
String encoding,
int prettyPrint)
Retrieve document by name. |
byte[] |
getDocument(String name,
String encoding,
int prettyPrint,
String stylesheet)
Retrieve document by name. |
String |
getDocumentAsString(String name,
HashMap parameters)
|
String |
getDocumentAsString(String name,
int prettyPrint)
|
String |
getDocumentAsString(String name,
int prettyPrint,
String stylesheet)
|
List |
getDocumentChunk(String name,
HashMap parameters)
|
byte[] |
getDocumentChunk(String name,
int start,
int stop)
|
HashMap |
getDocumentData(String name,
HashMap parameters)
Retrieve the specified document, but limit the number of bytes transmitted to avoid memory shortage on the server. |
Vector |
getDocumentListing()
Get a list of all documents contained in the database. |
Vector |
getDocumentListing(String collection)
Get a list of all documents contained in the collection. |
Vector |
getGroups()
|
int |
getHits(int resultId)
Get the number of hits in the result set identified by it's result-set-id. |
Vector |
getIndexedElements(String collectionName,
boolean inclusive)
|
HashMap |
getNextChunk(String handle,
int offset)
|
HashMap |
getNextExtendedChunk(String handle,
String offset)
|
HashMap |
getPermissions(String resource)
|
int |
getResourceCount(String collectionName)
Returns the number of resources in the collection identified by collectionName. |
Vector |
getTimestamps(String documentName)
|
HashMap |
getUser(String name)
|
Vector |
getUsers()
|
boolean |
hasCollection(String name)
Does the Collection identified by name exist in the
repository? |
boolean |
hasDocument(String name)
Does the document identified by name exist in the
repository? |
String |
hasUserLock(String path)
|
boolean |
isValid(String name)
|
boolean |
isXACMLEnabled()
Returns true if XACML is enabled for the current database instance |
HashMap |
listCollectionPermissions(String name)
|
HashMap |
listDocumentPermissions(String name)
|
boolean |
lockResource(String path,
String userName)
|
boolean |
moveCollection(String collectionPath,
String destinationPath,
String newName)
|
boolean |
moveResource(String docPath,
String destinationPath,
String newName)
|
boolean |
parse(byte[] xmlData,
String docName)
Parse an XML document and store it into the database. |
boolean |
parse(byte[] xmlData,
String docName,
int overwrite)
Parse an XML document and store it into the database. |
boolean |
parse(byte[] xmlData,
String docName,
int overwrite,
Date created,
Date modified)
|
boolean |
parse(String xml,
String docName)
|
boolean |
parse(String xml,
String docName,
int overwrite)
|
boolean |
parseLocal(String localFile,
String docName,
boolean replace,
String mimeType)
Parse a file previously uploaded with upload. |
boolean |
parseLocal(String localFile,
String docName,
boolean replace,
String mimeType,
Date created,
Date modified)
|
boolean |
parseLocalExt(String localFile,
String docName,
boolean replace,
String mimeType,
boolean treatAsXML)
|
boolean |
parseLocalExt(String localFile,
String docName,
boolean replace,
String mimeType,
boolean treatAsXML,
Date created,
Date modified)
|
String |
printDiagnostics(String query,
HashMap parameters)
Returns a diagnostic dump of the expression structure after compiling the query. |
byte[] |
query(byte[] xquery,
int howmany,
int start,
HashMap parameters)
Deprecated. use Vector query() or int executeQuery() instead |
HashMap |
queryP(byte[] xpath,
HashMap parameters)
|
HashMap |
queryP(byte[] xpath,
String docName,
String s_id,
HashMap parameters)
|
HashMap |
querySummary(int resultId)
Retrieve a summary of the result set identified by it's result-set-id. |
HashMap |
querySummary(String xquery)
Deprecated. use Vector query() or int executeQuery() instead |
boolean |
reindexCollection(String name)
|
boolean |
releaseQueryResult(int handle)
|
boolean |
releaseQueryResult(int handle,
int hash)
|
boolean |
remove(String docName)
Remove a document from the database. |
boolean |
removeCollection(String name)
Remove an entire collection from the database. |
boolean |
removeUser(String name)
|
byte[] |
retrieve(int resultId,
int num,
HashMap parameters)
Retrieve a single result from the result-set identified by resultId. |
byte[] |
retrieve(String doc,
String id)
Retrieve a single node from a document. |
byte[] |
retrieve(String doc,
String id,
HashMap parameters)
Retrieve a single node from a document. |
byte[] |
retrieveAll(int resultId,
HashMap parameters)
|
HashMap |
retrieveAllFirstChunk(int resultId,
HashMap parameters)
|
String |
retrieveAsString(String doc,
String id,
HashMap parameters)
|
HashMap |
retrieveFirstChunk(int resultId,
int num,
HashMap parameters)
Retrieve a single result from the result-set identified by resultId. |
HashMap |
retrieveFirstChunk(String doc,
String id,
HashMap parameters)
Retrieve a single node from a document. |
Vector |
scanIndexTerms(String xpath,
String start,
String end)
|
Vector |
scanIndexTerms(String collectionName,
String start,
String end,
boolean inclusive)
|
boolean |
setDocType(String documentName,
String doctypename,
String publicid,
String systemid)
|
boolean |
setPermissions(String resource,
int permissions)
|
boolean |
setPermissions(String resource,
String permissions)
|
boolean |
setPermissions(String resource,
String owner,
String ownerGroup,
int permissions)
|
boolean |
setPermissions(String resource,
String owner,
String ownerGroup,
String permissions)
|
boolean |
setUser(String name,
String passwd,
String digestPassword,
Vector groups)
|
boolean |
setUser(String name,
String passwd,
String digestPassword,
Vector groups,
String home)
|
boolean |
shutdown()
Shut down the database immediately. |
boolean |
shutdown(long delay)
Shut down the database after the specified delay (in milliseconds). |
boolean |
storeBinary(byte[] data,
String docName,
String mimeType,
boolean replace)
Store data as a binary resource. |
boolean |
storeBinary(byte[] data,
String docName,
String mimeType,
boolean replace,
Date created,
Date modified)
|
boolean |
sync()
|
boolean |
unlockResource(String path)
|
String |
upload(byte[] chunk,
int length)
An alternative to parse() for larger XML documents. |
String |
upload(String file,
byte[] chunk,
int length)
An alternative to parse() for larger XML documents. |
String |
uploadCompressed(byte[] data,
int length)
|
String |
uploadCompressed(String file,
byte[] data,
int length)
|
int |
xupdate(String collectionName,
byte[] xupdate)
|
int |
xupdateResource(String resource,
byte[] xupdate)
|
int |
xupdateResource(String resource,
byte[] xupdate,
String encoding)
|
Field Detail |
---|
static final String SORT_EXPR
static final String NAMESPACES
static final String VARIABLES
static final String BASE_URI
static final String STATIC_DOCUMENTS
static final String PROTECTED_MODE
static final String ERROR
static final String LINE
static final String COLUMN
Method Detail |
---|
boolean shutdown() throws PermissionDeniedException
PermissionDeniedException
boolean shutdown(long delay) throws PermissionDeniedException
PermissionDeniedException
boolean sync()
boolean isXACMLEnabled()
byte[] getDocument(String name, String encoding, int prettyPrint) throws EXistException, PermissionDeniedException
name
- the document's name.prettyPrint
- pretty print XML if >0.encoding
- character encoding to use.
EXistException
PermissionDeniedException
byte[] getDocument(String name, String encoding, int prettyPrint, String stylesheet) throws EXistException, PermissionDeniedException
name
- the document's name.prettyPrint
- pretty print XML if >0.encoding
- character encoding to use.
EXistException
PermissionDeniedException
byte[] getDocument(String name, HashMap parameters) throws EXistException, PermissionDeniedException
parameters
.
Valid keys may either be taken from OutputKeys
or
EXistOutputKeys
. For example, the encoding is identified by
the value of key OutputKeys.ENCODING
.
name
- the document's name.parameters
- HashMap of parameters.
EXistException
PermissionDeniedException
String getDocumentAsString(String name, int prettyPrint) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
String getDocumentAsString(String name, int prettyPrint, String stylesheet) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
String getDocumentAsString(String name, HashMap parameters) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
HashMap getDocumentData(String name, HashMap parameters) throws EXistException, PermissionDeniedException
name
- parameters
-
EXistException
PermissionDeniedException
HashMap getNextChunk(String handle, int offset) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
HashMap getNextExtendedChunk(String handle, String offset) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
byte[] getBinaryResource(String name) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
boolean hasDocument(String name) throws EXistException, PermissionDeniedException, URISyntaxException
name
exist in the
repository?
name
- Description of the Parameter
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exception
URISyntaxException
boolean hasCollection(String name) throws EXistException, PermissionDeniedException, URISyntaxException
name
exist in the
repository?
name
- Description of the Parameter
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exception
URISyntaxException
Vector getDocumentListing() throws EXistException, PermissionDeniedException
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the ExceptionVector getDocumentListing(String collection) throws EXistException, PermissionDeniedException, URISyntaxException
collection
- the collection to use.
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exception
URISyntaxException
HashMap listDocumentPermissions(String name) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
HashMap listCollectionPermissions(String name) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
HashMap getCollectionDesc(String rootCollection) throws EXistException, PermissionDeniedException
name The name of the collection owner The name of the user owning the collection. group The group owning the collection. permissions The permissions that apply to this collection (int value) created The creation date of this collection (long value) collections An array containing the names of all subcollections. documents An array containing a struct for each document in the collection.Each of the elements in the "documents" array is another struct containing the properties of the document:
name The full path of the document. owner The name of the user owning the document. group The group owning the document. permissions The permissions that apply to this document (int) type Type of the resource: either "XMLResource" or "BinaryResource"
rootCollection
- Description of the Parameter
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the ExceptionHashMap describeCollection(String collectionName) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
HashMap describeResource(String resourceName) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
int getResourceCount(String collectionName) throws EXistException, PermissionDeniedException, URISyntaxException
collectionName
-
EXistException
PermissionDeniedException
URISyntaxException
byte[] retrieve(String doc, String id) throws EXistException, PermissionDeniedException
doc
- the document containing the nodeid
- the node's internal id
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exceptionbyte[] retrieve(String doc, String id, HashMap parameters) throws EXistException, PermissionDeniedException
doc
- the document containing the nodeid
- the node's internal id
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the ExceptionHashMap retrieveFirstChunk(String doc, String id, HashMap parameters) throws EXistException, PermissionDeniedException
doc
- the document containing the nodeid
- the node's internal idparameters
- a HashMap
value
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the ExceptionString retrieveAsString(String doc, String id, HashMap parameters) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
byte[] retrieveAll(int resultId, HashMap parameters) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
HashMap retrieveAllFirstChunk(int resultId, HashMap parameters) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
HashMap compile(byte[] xquery, HashMap parameters) throws Exception
Exception
HashMap queryP(byte[] xpath, HashMap parameters) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
HashMap queryP(byte[] xpath, String docName, String s_id, HashMap parameters) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
byte[] query(byte[] xquery, int howmany, int start, HashMap parameters) throws EXistException, PermissionDeniedException
start
. If prettyPrint
is
set to >0 (true), results are pretty printed.
howmany
- maximum number of results to
return.start
- item in the result set to start
with.
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the ExceptionHashMap querySummary(String xquery) throws EXistException, PermissionDeniedException
"queryTime" | int |
"hits" | int |
"documents" | array of array: Object[][3] |
"doctypes" | array of array: Object[][2] |
xquery
- Description of the Parameter
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the ExceptionString printDiagnostics(String query, HashMap parameters) throws EXistException, PermissionDeniedException
query
-
EXistException
PermissionDeniedException
String createResourceId(String collection) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
boolean parse(byte[] xmlData, String docName) throws EXistException, PermissionDeniedException, URISyntaxException
docName
. Some xmlrpc clients seem to
have problems with character encodings when sending xml content. To
avoid this, parse() accepts the xml document content as byte[]. If
overwrite
is >0, an existing document with the same name
will be replaced by the new document.
xmlData
- The document datadocName
- The path where the document will be stored
EXistException
PermissionDeniedException
URISyntaxException
boolean parse(byte[] xmlData, String docName, int overwrite) throws EXistException, PermissionDeniedException, URISyntaxException
docName
. Some xmlrpc clients seem to
have problems with character encodings when sending xml content. To
avoid this, parse() accepts the xml document content as byte[]. If
overwrite
is >0, an existing document with the same name
will be replaced by the new document.
xmlData
- The document datadocName
- The path where the document will be storedoverwrite
- Overwrite an existing document with the same path?
EXistException
PermissionDeniedException
URISyntaxException
boolean parse(byte[] xmlData, String docName, int overwrite, Date created, Date modified) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
boolean parse(String xml, String docName, int overwrite) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
boolean parse(String xml, String docName) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
String upload(byte[] chunk, int length) throws EXistException, PermissionDeniedException, IOException
chunk
- the current chunklength
- total length of the file
EXistException
PermissionDeniedException
IOException
String upload(String file, byte[] chunk, int length) throws EXistException, PermissionDeniedException, IOException
chunk
- the current chunkfile
- the name of the file to which the chunk will be appended. This
should be the file name returned by the first call to upload.length
- total length of the file
EXistException
PermissionDeniedException
IOException
String uploadCompressed(byte[] data, int length) throws EXistException, PermissionDeniedException, IOException
EXistException
PermissionDeniedException
IOException
String uploadCompressed(String file, byte[] data, int length) throws EXistException, PermissionDeniedException, IOException
EXistException
PermissionDeniedException
IOException
boolean parseLocal(String localFile, String docName, boolean replace, String mimeType) throws EXistException, PermissionDeniedException, SAXException, URISyntaxException
localFile
-
EXistException
IOException
PermissionDeniedException
SAXException
URISyntaxException
boolean parseLocalExt(String localFile, String docName, boolean replace, String mimeType, boolean treatAsXML) throws EXistException, PermissionDeniedException, SAXException, URISyntaxException
EXistException
PermissionDeniedException
SAXException
URISyntaxException
boolean parseLocal(String localFile, String docName, boolean replace, String mimeType, Date created, Date modified) throws EXistException, PermissionDeniedException, SAXException, URISyntaxException
EXistException
PermissionDeniedException
SAXException
URISyntaxException
boolean parseLocalExt(String localFile, String docName, boolean replace, String mimeType, boolean treatAsXML, Date created, Date modified) throws EXistException, PermissionDeniedException, SAXException, URISyntaxException
EXistException
PermissionDeniedException
SAXException
URISyntaxException
boolean storeBinary(byte[] data, String docName, String mimeType, boolean replace) throws EXistException, PermissionDeniedException, URISyntaxException
data
- the data to be storeddocName
- the path to the new documentreplace
- if true, an old document with the same path will be overwritten
EXistException
PermissionDeniedException
URISyntaxException
boolean storeBinary(byte[] data, String docName, String mimeType, boolean replace, Date created, Date modified) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
boolean remove(String docName) throws EXistException, PermissionDeniedException, URISyntaxException
docName
- path to the document to be removed
EXistException
PermissionDeniedException
URISyntaxException
boolean removeCollection(String name) throws EXistException, PermissionDeniedException, URISyntaxException
name
- path to the collection to be removed.
EXistException
PermissionDeniedException
URISyntaxException
boolean createCollection(String name) throws EXistException, PermissionDeniedException
name
- the path to the new collection.
EXistException
PermissionDeniedException
boolean createCollection(String name, Date created) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
boolean configureCollection(String collection, String configuration) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
int executeQuery(byte[] xpath, String encoding, HashMap parameters) throws EXistException, PermissionDeniedException
xpath
- Description of the Parameterencoding
- Description of the Parameterparameters
- a HashMap
value
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exceptionint executeQuery(byte[] xpath, HashMap parameters) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
int executeQuery(String xpath, HashMap parameters) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
HashMap execute(String path, HashMap parameters) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
HashMap querySummary(int resultId) throws EXistException, PermissionDeniedException, XPathException
resultId
- Description of the Parameter
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exception
XPathException
HashMap getPermissions(String resource) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
int getHits(int resultId) throws EXistException, PermissionDeniedException
resultId
- Description of the Parameter
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exceptionbyte[] retrieve(int resultId, int num, HashMap parameters) throws EXistException, PermissionDeniedException
resultId
- Description of the Parameternum
- Description of the Parameter
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the ExceptionHashMap retrieveFirstChunk(int resultId, int num, HashMap parameters) throws EXistException, PermissionDeniedException
resultId
- Description of the Parameternum
- Description of the Parameterparameters
- a HashMap
value
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exceptionboolean setUser(String name, String passwd, String digestPassword, Vector groups, String home) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
boolean setUser(String name, String passwd, String digestPassword, Vector groups) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
boolean setPermissions(String resource, String permissions) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
boolean setPermissions(String resource, int permissions) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
boolean setPermissions(String resource, String owner, String ownerGroup, String permissions) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
boolean setPermissions(String resource, String owner, String ownerGroup, int permissions) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
boolean lockResource(String path, String userName) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
boolean unlockResource(String path) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
String hasUserLock(String path) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
HashMap getUser(String name) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
Vector getUsers() throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
boolean removeUser(String name) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
Vector getGroups() throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
Vector getIndexedElements(String collectionName, boolean inclusive) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
Vector scanIndexTerms(String collectionName, String start, String end, boolean inclusive) throws PermissionDeniedException, EXistException, URISyntaxException
PermissionDeniedException
EXistException
URISyntaxException
Vector scanIndexTerms(String xpath, String start, String end) throws PermissionDeniedException, EXistException, XPathException
PermissionDeniedException
EXistException
XPathException
boolean releaseQueryResult(int handle)
boolean releaseQueryResult(int handle, int hash)
int xupdate(String collectionName, byte[] xupdate) throws PermissionDeniedException, EXistException, SAXException, XPathException, LockException
PermissionDeniedException
EXistException
SAXException
XPathException
LockException
int xupdateResource(String resource, byte[] xupdate) throws PermissionDeniedException, EXistException, SAXException
PermissionDeniedException
EXistException
SAXException
int xupdateResource(String resource, byte[] xupdate, String encoding) throws PermissionDeniedException, EXistException, SAXException, XPathException, LockException, URISyntaxException
PermissionDeniedException
EXistException
SAXException
XPathException
LockException
URISyntaxException
Date getCreationDate(String collectionName) throws PermissionDeniedException, EXistException, URISyntaxException
PermissionDeniedException
EXistException
URISyntaxException
Vector getTimestamps(String documentName) throws PermissionDeniedException, EXistException, URISyntaxException
PermissionDeniedException
EXistException
URISyntaxException
boolean copyCollection(String name, String namedest) throws PermissionDeniedException, EXistException
PermissionDeniedException
EXistException
List getDocumentChunk(String name, HashMap parameters) throws EXistException, PermissionDeniedException, IOException
EXistException
PermissionDeniedException
IOException
byte[] getDocumentChunk(String name, int start, int stop) throws EXistException, PermissionDeniedException, IOException
EXistException
PermissionDeniedException
IOException
boolean moveCollection(String collectionPath, String destinationPath, String newName) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
boolean moveResource(String docPath, String destinationPath, String newName) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
boolean copyCollection(String collectionPath, String destinationPath, String newName) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
boolean copyResource(String docPath, String destinationPath, String newName) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
boolean reindexCollection(String name) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
boolean backup(String userbackup, String password, String destcollection, String collection) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
boolean dataBackup(String dest) throws PermissionDeniedException
PermissionDeniedException
boolean isValid(String name) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
Vector getDocType(String documentName) throws PermissionDeniedException, EXistException, URISyntaxException
PermissionDeniedException
EXistException
URISyntaxException
boolean setDocType(String documentName, String doctypename, String publicid, String systemid) throws EXistException, PermissionDeniedException, URISyntaxException
EXistException
PermissionDeniedException
URISyntaxException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |