|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the methods callable through the XMLRPC interface.
Field Summary | |
static java.lang.String |
BASE_URI
|
static java.lang.String |
COLUMN
|
static java.lang.String |
ERROR
|
static java.lang.String |
LINE
|
static java.lang.String |
NAMESPACES
|
static java.lang.String |
SORT_EXPR
|
static java.lang.String |
STATIC_DOCUMENTS
|
static java.lang.String |
VARIABLES
|
Method Summary | |
boolean |
backup(User user,
java.lang.String userbackup,
java.lang.String password,
java.lang.String destcollection,
java.lang.String collection)
|
java.util.Hashtable |
compile(User user,
byte[] xquery,
java.util.Hashtable parameters)
|
boolean |
configureCollection(User user,
java.lang.String collection,
java.lang.String configuration)
|
boolean |
copyCollection(User user,
java.lang.String name,
java.lang.String namedest)
|
boolean |
copyCollection(User user,
java.lang.String collectionPath,
java.lang.String destinationPath,
java.lang.String newName)
|
boolean |
copyResource(User user,
java.lang.String docPath,
java.lang.String destinationPath,
java.lang.String newName)
|
boolean |
createCollection(User user,
java.lang.String name)
Create a new collection on the database. |
boolean |
createCollection(User user,
java.lang.String name,
java.util.Date created)
|
java.lang.String |
createResourceId(User user,
java.lang.String collection)
|
boolean |
dataBackup(User user,
java.lang.String dest)
|
java.util.Hashtable |
describeCollection(User user,
java.lang.String collectionName)
|
java.util.Hashtable |
describeResource(User user,
java.lang.String resourceName)
|
java.util.Hashtable |
execute(User user,
java.lang.String path,
java.util.Hashtable 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(User user,
byte[] xpath,
java.util.Hashtable parameters)
|
int |
executeQuery(User user,
byte[] xpath,
java.lang.String encoding,
java.util.Hashtable parameters)
Execute XPath query and return a reference to the result set. |
int |
executeQuery(User user,
java.lang.String xpath,
java.util.Hashtable parameters)
|
byte[] |
getBinaryResource(User user,
java.lang.String name)
|
java.util.Hashtable |
getCollectionDesc(User user,
java.lang.String rootCollection)
Describe a collection: returns a struct with the following fields: |
java.util.Date |
getCreationDate(User user,
java.lang.String collectionName)
|
java.util.Vector |
getDocType(User user,
java.lang.String documentName)
|
byte[] |
getDocument(User user,
java.lang.String name,
java.util.Hashtable parameters)
Retrieve document by name. |
byte[] |
getDocument(User user,
java.lang.String name,
java.lang.String encoding,
int prettyPrint)
Deprecated. Use getDocument(User, String, Hashtable) instead. |
byte[] |
getDocument(User user,
java.lang.String name,
java.lang.String encoding,
int prettyPrint,
java.lang.String stylesheet)
Deprecated. Use getDocument(User, String, Hashtable) instead. |
java.lang.String |
getDocumentAsString(User user,
java.lang.String name,
java.util.Hashtable parameters)
|
java.lang.String |
getDocumentAsString(User user,
java.lang.String name,
int prettyPrint)
|
java.lang.String |
getDocumentAsString(User user,
java.lang.String name,
int prettyPrint,
java.lang.String stylesheet)
|
java.util.Vector |
getDocumentChunk(User user,
java.lang.String name,
java.util.Hashtable parameters)
|
byte[] |
getDocumentChunk(User user,
java.lang.String name,
int start,
int stop)
|
java.util.Hashtable |
getDocumentData(User user,
java.lang.String name,
java.util.Hashtable parameters)
Retrieve the specified document, but limit the number of bytes transmitted to avoid memory shortage on the server. |
java.util.Vector |
getDocumentListing(User user)
Get a list of all documents contained in the database. |
java.util.Vector |
getDocumentListing(User user,
java.lang.String collection)
Get a list of all documents contained in the collection. |
java.util.Vector |
getGroups(User user)
|
int |
getHits(User user,
int resultId)
Get the number of hits in the result set identified by it's result-set-id. |
java.util.Vector |
getIndexedElements(User user,
java.lang.String collectionName,
boolean inclusive)
|
java.util.Hashtable |
getNextChunk(User user,
java.lang.String handle,
int offset)
|
java.util.Hashtable |
getPermissions(User user,
java.lang.String resource)
|
int |
getResourceCount(User user,
java.lang.String collectionName)
Returns the number of resources in the collection identified by collectionName. |
java.util.Vector |
getTimestamps(User user,
java.lang.String documentName)
|
java.util.Hashtable |
getUser(User user,
java.lang.String name)
|
java.util.Vector |
getUsers(User user)
|
boolean |
hasCollection(User user,
java.lang.String name)
Does the Collection identified by name exist in the
repository? |
boolean |
hasDocument(User user,
java.lang.String name)
Does the document identified by name exist in the
repository? |
java.lang.String |
hasUserLock(User user,
java.lang.String path)
|
boolean |
isValid(User user,
java.lang.String name)
|
boolean |
isXACMLEnabled(User user)
Returns true if XACML is enabled for the current database instance |
java.util.Hashtable |
listCollectionPermissions(User user,
java.lang.String name)
|
java.util.Hashtable |
listDocumentPermissions(User user,
java.lang.String name)
|
boolean |
lockResource(User user,
java.lang.String path,
java.lang.String userName)
|
boolean |
moveCollection(User user,
java.lang.String collectionPath,
java.lang.String destinationPath,
java.lang.String newName)
|
boolean |
moveResource(User user,
java.lang.String docPath,
java.lang.String destinationPath,
java.lang.String newName)
|
boolean |
parse(User user,
byte[] xmlData,
java.lang.String docName)
Parse an XML document and store it into the database. |
boolean |
parse(User user,
byte[] xmlData,
java.lang.String docName,
int overwrite)
Parse an XML document and store it into the database. |
boolean |
parse(User user,
byte[] xmlData,
java.lang.String docName,
int overwrite,
java.util.Date created,
java.util.Date modified)
|
boolean |
parse(User user,
java.lang.String xml,
java.lang.String docName)
|
boolean |
parse(User user,
java.lang.String xml,
java.lang.String docName,
int overwrite)
|
boolean |
parseLocal(User user,
java.lang.String localFile,
java.lang.String docName,
boolean replace)
Parse a file previously uploaded with upload. |
boolean |
parseLocal(User user,
java.lang.String localFile,
java.lang.String docName,
boolean replace,
java.util.Date created,
java.util.Date modified)
|
java.lang.String |
printDiagnostics(User user,
java.lang.String query,
java.util.Hashtable parameters)
Returns a diagnostic dump of the expression structure after compiling the query. |
byte[] |
query(User user,
byte[] xquery,
int howmany,
int start,
java.util.Hashtable parameters)
Deprecated. use Vector query() or int executeQuery() instead |
java.util.Hashtable |
queryP(User user,
byte[] xpath,
java.util.Hashtable parameters)
|
java.util.Hashtable |
queryP(User user,
byte[] xpath,
java.lang.String docName,
java.lang.String s_id,
java.util.Hashtable parameters)
|
java.util.Hashtable |
querySummary(User user,
int resultId)
Retrieve a summary of the result set identified by it's result-set-id. |
java.util.Hashtable |
querySummary(User user,
java.lang.String xquery)
Deprecated. use Vector query() or int executeQuery() instead |
boolean |
reindexCollection(User user,
java.lang.String name)
|
boolean |
releaseQueryResult(User user,
int handle)
|
boolean |
remove(User user,
java.lang.String docName)
Remove a document from the database. |
boolean |
removeCollection(User user,
java.lang.String name)
Remove an entire collection from the database. |
boolean |
removeUser(User user,
java.lang.String name)
|
byte[] |
retrieve(User user,
int resultId,
int num,
java.util.Hashtable parameters)
Retrieve a single result from the result-set identified by resultId. |
byte[] |
retrieve(User user,
java.lang.String doc,
java.lang.String id)
Retrieve a single node from a document. |
byte[] |
retrieve(User user,
java.lang.String doc,
java.lang.String id,
java.util.Hashtable parameters)
Retrieve a single node from a document. |
byte[] |
retrieveAll(User user,
int resultId,
java.util.Hashtable parameters)
|
java.lang.String |
retrieveAsString(User user,
java.lang.String doc,
java.lang.String id,
java.util.Hashtable parameters)
|
java.util.Vector |
scanIndexTerms(User user,
java.lang.String xpath,
java.lang.String start,
java.lang.String end)
|
java.util.Vector |
scanIndexTerms(User user,
java.lang.String collectionName,
java.lang.String start,
java.lang.String end,
boolean inclusive)
|
boolean |
setDocType(User user,
java.lang.String documentName,
java.lang.String doctypename,
java.lang.String publicid,
java.lang.String systemid)
|
boolean |
setPermissions(User user,
java.lang.String resource,
int permissions)
|
boolean |
setPermissions(User user,
java.lang.String resource,
java.lang.String permissions)
|
boolean |
setPermissions(User user,
java.lang.String resource,
java.lang.String owner,
java.lang.String ownerGroup,
int permissions)
|
boolean |
setPermissions(User user,
java.lang.String resource,
java.lang.String owner,
java.lang.String ownerGroup,
java.lang.String permissions)
|
boolean |
setUser(User user,
java.lang.String name,
java.lang.String passwd,
java.lang.String digestPassword,
java.util.Vector groups)
|
boolean |
setUser(User user,
java.lang.String name,
java.lang.String passwd,
java.lang.String digestPassword,
java.util.Vector groups,
java.lang.String home)
|
boolean |
shutdown(User user)
Shut down the database immediately. |
boolean |
shutdown(User user,
long delay)
Shut down the database after the specified delay (in milliseconds). |
boolean |
storeBinary(User user,
byte[] data,
java.lang.String docName,
java.lang.String mimeType,
boolean replace)
Store data as a binary resource. |
boolean |
storeBinary(User user,
byte[] data,
java.lang.String docName,
java.lang.String mimeType,
boolean replace,
java.util.Date created,
java.util.Date modified)
|
boolean |
sync(User user)
|
boolean |
unlockResource(User user,
java.lang.String path)
|
java.lang.String |
upload(User user,
byte[] chunk,
int length)
An alternative to parse() for larger XML documents. |
java.lang.String |
upload(User user,
java.lang.String file,
byte[] chunk,
int length)
An alternative to parse() for larger XML documents. |
java.lang.String |
uploadCompressed(User user,
byte[] data,
int length)
|
java.lang.String |
uploadCompressed(User user,
java.lang.String file,
byte[] data,
int length)
|
int |
xupdate(User user,
java.lang.String collectionName,
byte[] xupdate)
|
int |
xupdateResource(User user,
java.lang.String resource,
byte[] xupdate)
|
int |
xupdateResource(User user,
java.lang.String resource,
byte[] xupdate,
java.lang.String encoding)
|
Field Detail |
public static final java.lang.String SORT_EXPR
public static final java.lang.String NAMESPACES
public static final java.lang.String VARIABLES
public static final java.lang.String BASE_URI
public static final java.lang.String STATIC_DOCUMENTS
public static final java.lang.String ERROR
public static final java.lang.String LINE
public static final java.lang.String COLUMN
Method Detail |
public boolean shutdown(User user) throws PermissionDeniedException
PermissionDeniedException
public boolean shutdown(User user, long delay) throws PermissionDeniedException
PermissionDeniedException
public boolean sync(User user)
public boolean isXACMLEnabled(User user)
public byte[] getDocument(User user, java.lang.String name, java.lang.String encoding, int prettyPrint) throws EXistException, PermissionDeniedException
getDocument(User, String, Hashtable)
instead.
name
- the document's name.prettyPrint
- pretty print XML if >0.encoding
- character encoding to use.user
-
EXistException
PermissionDeniedException
public byte[] getDocument(User user, java.lang.String name, java.lang.String encoding, int prettyPrint, java.lang.String stylesheet) throws EXistException, PermissionDeniedException
getDocument(User, String, Hashtable)
instead.
name
- the document's name.prettyPrint
- pretty print XML if >0.encoding
- character encoding to use.user
- Description of the Parameter
EXistException
PermissionDeniedException
public byte[] getDocument(User user, java.lang.String name, java.util.Hashtable 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
- Hashtable of parameters.
EXistException
PermissionDeniedException
public java.lang.String getDocumentAsString(User user, java.lang.String name, int prettyPrint) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.lang.String getDocumentAsString(User user, java.lang.String name, int prettyPrint, java.lang.String stylesheet) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.lang.String getDocumentAsString(User user, java.lang.String name, java.util.Hashtable parameters) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.util.Hashtable getDocumentData(User user, java.lang.String name, java.util.Hashtable parameters) throws EXistException, PermissionDeniedException
user
- name
- parameters
-
EXistException
PermissionDeniedException
public java.util.Hashtable getNextChunk(User user, java.lang.String handle, int offset) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public byte[] getBinaryResource(User user, java.lang.String name) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean hasDocument(User user, java.lang.String name) throws EXistException, PermissionDeniedException
name
exist in the
repository?
name
- Description of the Parameteruser
- Description of the Parameter
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exceptionpublic boolean hasCollection(User user, java.lang.String name) throws EXistException, PermissionDeniedException
name
exist in the
repository?
name
- Description of the Parameteruser
- Description of the Parameter
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exceptionpublic java.util.Vector getDocumentListing(User user) throws EXistException, PermissionDeniedException
user
-
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exceptionpublic java.util.Vector getDocumentListing(User user, java.lang.String collection) throws EXistException, PermissionDeniedException
collection
- the collection to use.user
- Description of the Parameter
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exceptionpublic java.util.Hashtable listDocumentPermissions(User user, java.lang.String name) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.util.Hashtable listCollectionPermissions(User user, java.lang.String name) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.util.Hashtable getCollectionDesc(User user, java.lang.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 Parameteruser
- Description of the Parameter
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exceptionpublic java.util.Hashtable describeCollection(User user, java.lang.String collectionName) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.util.Hashtable describeResource(User user, java.lang.String resourceName) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public int getResourceCount(User user, java.lang.String collectionName) throws EXistException, PermissionDeniedException
collectionName
- user
-
EXistException
PermissionDeniedException
public byte[] retrieve(User user, java.lang.String doc, java.lang.String id) throws EXistException, PermissionDeniedException
doc
- the document containing the nodeid
- the node's internal iduser
- Description of the Parameter
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exceptionpublic byte[] retrieve(User user, java.lang.String doc, java.lang.String id, java.util.Hashtable parameters) throws EXistException, PermissionDeniedException
parameters
- doc
- the document containing the nodeid
- the node's internal iduser
- Description of the Parameter
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exceptionpublic java.lang.String retrieveAsString(User user, java.lang.String doc, java.lang.String id, java.util.Hashtable parameters) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public byte[] retrieveAll(User user, int resultId, java.util.Hashtable parameters) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.util.Hashtable compile(User user, byte[] xquery, java.util.Hashtable parameters) throws java.lang.Exception
java.lang.Exception
public java.util.Hashtable queryP(User user, byte[] xpath, java.util.Hashtable parameters) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.util.Hashtable queryP(User user, byte[] xpath, java.lang.String docName, java.lang.String s_id, java.util.Hashtable parameters) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public byte[] query(User user, byte[] xquery, int howmany, int start, java.util.Hashtable parameters) throws EXistException, PermissionDeniedException
start
. If prettyPrint
is
set to >0 (true), results are pretty printed.
xquery
- parameters
- howmany
- maximum number of results to return.start
- item in the result set to start with.user
-
EXistException
PermissionDeniedException
public java.util.Hashtable querySummary(User user, java.lang.String xquery) throws EXistException, PermissionDeniedException
"queryTime" | int |
"hits" | int |
"documents" | array of array: Object[][3] |
"doctypes" | array of array: Object[][2] |
xquery
- user
- Description of the Parameter
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exceptionpublic java.lang.String printDiagnostics(User user, java.lang.String query, java.util.Hashtable parameters) throws EXistException, PermissionDeniedException
user
- query
-
EXistException
PermissionDeniedException
public java.lang.String createResourceId(User user, java.lang.String collection) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean parse(User user, byte[] xmlData, java.lang.String docName) throws EXistException, PermissionDeniedException
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
public boolean parse(User user, byte[] xmlData, java.lang.String docName, int overwrite) throws EXistException, PermissionDeniedException
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
public boolean parse(User user, byte[] xmlData, java.lang.String docName, int overwrite, java.util.Date created, java.util.Date modified) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean parse(User user, java.lang.String xml, java.lang.String docName, int overwrite) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean parse(User user, java.lang.String xml, java.lang.String docName) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.lang.String upload(User user, byte[] chunk, int length) throws EXistException, PermissionDeniedException
user
- chunk
- the current chunklength
- total length of the file
EXistException
PermissionDeniedException
public java.lang.String upload(User user, java.lang.String file, byte[] chunk, int length) throws EXistException, PermissionDeniedException
user
- 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
public java.lang.String uploadCompressed(User user, byte[] data, int length) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.lang.String uploadCompressed(User user, java.lang.String file, byte[] data, int length) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean parseLocal(User user, java.lang.String localFile, java.lang.String docName, boolean replace) throws EXistException, PermissionDeniedException, org.xml.sax.SAXException
user
- localFile
-
EXistException
java.io.IOException
PermissionDeniedException
org.xml.sax.SAXException
public boolean parseLocal(User user, java.lang.String localFile, java.lang.String docName, boolean replace, java.util.Date created, java.util.Date modified) throws EXistException, PermissionDeniedException, org.xml.sax.SAXException
EXistException
PermissionDeniedException
org.xml.sax.SAXException
public boolean storeBinary(User user, byte[] data, java.lang.String docName, java.lang.String mimeType, boolean replace) throws EXistException, PermissionDeniedException
user
- 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
public boolean storeBinary(User user, byte[] data, java.lang.String docName, java.lang.String mimeType, boolean replace, java.util.Date created, java.util.Date modified) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean remove(User user, java.lang.String docName) throws EXistException, PermissionDeniedException
docName
- path to the document to be removeduser
-
EXistException
PermissionDeniedException
public boolean removeCollection(User user, java.lang.String name) throws EXistException, PermissionDeniedException
name
- path to the collection to be removed.user
-
EXistException
PermissionDeniedException
public boolean createCollection(User user, java.lang.String name) throws EXistException, PermissionDeniedException
user
- name
- the path to the new collection.
EXistException
PermissionDeniedException
public boolean createCollection(User user, java.lang.String name, java.util.Date created) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean configureCollection(User user, java.lang.String collection, java.lang.String configuration) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public int executeQuery(User user, byte[] xpath, java.lang.String encoding, java.util.Hashtable parameters) throws EXistException, PermissionDeniedException
xpath
- Description of the Parameterencoding
- Description of the Parameteruser
- Description of the Parameter
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exceptionpublic int executeQuery(User user, byte[] xpath, java.util.Hashtable parameters) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public int executeQuery(User user, java.lang.String xpath, java.util.Hashtable parameters) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.util.Hashtable execute(User user, java.lang.String path, java.util.Hashtable parameters) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.util.Hashtable querySummary(User user, int resultId) throws EXistException, PermissionDeniedException, XPathException
resultId
- Description of the Parameteruser
- Description of the Parameter
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exception
XPathException
public java.util.Hashtable getPermissions(User user, java.lang.String resource) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public int getHits(User user, int resultId) throws EXistException, PermissionDeniedException
resultId
- Description of the Parameteruser
- Description of the Parameter
EXistException
- Description of the Exception
PermissionDeniedException
- Description of the Exceptionpublic byte[] retrieve(User user, int resultId, int num, java.util.Hashtable parameters) throws EXistException, PermissionDeniedException
parameters
- resultId
- num
- user
-
EXistException
PermissionDeniedException
public boolean setUser(User user, java.lang.String name, java.lang.String passwd, java.lang.String digestPassword, java.util.Vector groups, java.lang.String home) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean setUser(User user, java.lang.String name, java.lang.String passwd, java.lang.String digestPassword, java.util.Vector groups) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean setPermissions(User user, java.lang.String resource, java.lang.String permissions) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean setPermissions(User user, java.lang.String resource, int permissions) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean setPermissions(User user, java.lang.String resource, java.lang.String owner, java.lang.String ownerGroup, java.lang.String permissions) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean setPermissions(User user, java.lang.String resource, java.lang.String owner, java.lang.String ownerGroup, int permissions) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean lockResource(User user, java.lang.String path, java.lang.String userName) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean unlockResource(User user, java.lang.String path) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.lang.String hasUserLock(User user, java.lang.String path) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.util.Hashtable getUser(User user, java.lang.String name) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.util.Vector getUsers(User user) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean removeUser(User user, java.lang.String name) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.util.Vector getGroups(User user) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.util.Vector getIndexedElements(User user, java.lang.String collectionName, boolean inclusive) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.util.Vector scanIndexTerms(User user, java.lang.String collectionName, java.lang.String start, java.lang.String end, boolean inclusive) throws PermissionDeniedException, EXistException
PermissionDeniedException
EXistException
public java.util.Vector scanIndexTerms(User user, java.lang.String xpath, java.lang.String start, java.lang.String end) throws PermissionDeniedException, EXistException, XPathException
PermissionDeniedException
EXistException
XPathException
public boolean releaseQueryResult(User user, int handle)
public int xupdate(User user, java.lang.String collectionName, byte[] xupdate) throws PermissionDeniedException, EXistException, org.xml.sax.SAXException
PermissionDeniedException
EXistException
org.xml.sax.SAXException
public int xupdateResource(User user, java.lang.String resource, byte[] xupdate) throws PermissionDeniedException, EXistException, org.xml.sax.SAXException
PermissionDeniedException
EXistException
org.xml.sax.SAXException
public int xupdateResource(User user, java.lang.String resource, byte[] xupdate, java.lang.String encoding) throws PermissionDeniedException, EXistException, org.xml.sax.SAXException
PermissionDeniedException
EXistException
org.xml.sax.SAXException
public java.util.Date getCreationDate(User user, java.lang.String collectionName) throws PermissionDeniedException, EXistException
PermissionDeniedException
EXistException
public java.util.Vector getTimestamps(User user, java.lang.String documentName) throws PermissionDeniedException, EXistException
PermissionDeniedException
EXistException
public boolean copyCollection(User user, java.lang.String name, java.lang.String namedest) throws PermissionDeniedException, EXistException
PermissionDeniedException
EXistException
public java.util.Vector getDocumentChunk(User user, java.lang.String name, java.util.Hashtable parameters) throws EXistException, PermissionDeniedException, java.io.IOException
EXistException
PermissionDeniedException
java.io.IOException
public byte[] getDocumentChunk(User user, java.lang.String name, int start, int stop) throws EXistException, PermissionDeniedException, java.io.IOException
EXistException
PermissionDeniedException
java.io.IOException
public boolean moveCollection(User user, java.lang.String collectionPath, java.lang.String destinationPath, java.lang.String newName) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean moveResource(User user, java.lang.String docPath, java.lang.String destinationPath, java.lang.String newName) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean copyCollection(User user, java.lang.String collectionPath, java.lang.String destinationPath, java.lang.String newName) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean copyResource(User user, java.lang.String docPath, java.lang.String destinationPath, java.lang.String newName) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean reindexCollection(User user, java.lang.String name) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean backup(User user, java.lang.String userbackup, java.lang.String password, java.lang.String destcollection, java.lang.String collection) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public boolean dataBackup(User user, java.lang.String dest) throws PermissionDeniedException
PermissionDeniedException
public boolean isValid(User user, java.lang.String name) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
public java.util.Vector getDocType(User user, java.lang.String documentName) throws PermissionDeniedException, EXistException
PermissionDeniedException
EXistException
public boolean setDocType(User user, java.lang.String documentName, java.lang.String doctypename, java.lang.String publicid, java.lang.String systemid) throws EXistException, PermissionDeniedException
EXistException
PermissionDeniedException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |