|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.soap.AdminSoapBindingImpl
Description of the Class
Constructor Summary | |
AdminSoapBindingImpl()
Constructor for the AdminSoapBindingImpl object |
Method Summary | |
java.lang.String |
connect(java.lang.String user,
java.lang.String password)
Create a new user session. |
boolean |
createCollection(java.lang.String sessionId,
java.lang.String collection)
Create a new collection using the specified path. |
void |
disconnect(java.lang.String id)
Release a user session. |
boolean |
removeCollection(java.lang.String sessionId,
java.lang.String collection)
Remove the specified collection. |
boolean |
removeDocument(java.lang.String sessionId,
java.lang.String path)
Description of the Method |
void |
store(java.lang.String sessionId,
byte[] data,
java.lang.String encoding,
java.lang.String path,
boolean replace)
Description of the Method |
int |
xupdate(java.lang.String sessionId,
java.lang.String collectionName,
java.lang.String xupdate)
Apply a set of XUpdate modifications to a collection. |
int |
xupdateResource(java.lang.String sessionId,
java.lang.String documentName,
java.lang.String xupdate)
Apply a set of XUpdate modifications to the specified document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AdminSoapBindingImpl()
Method Detail |
public java.lang.String connect(java.lang.String user, java.lang.String password) throws java.rmi.RemoteException
Admin
connect
in interface Admin
user
- password
-
java.rmi.RemoteException
- if the user cannot log inpublic void disconnect(java.lang.String id) throws java.rmi.RemoteException
Admin
disconnect
in interface Admin
id
- a valid session id as returned by connect().
java.rmi.RemoteException
public boolean createCollection(java.lang.String sessionId, java.lang.String collection) throws java.rmi.RemoteException
Admin
createCollection
in interface Admin
sessionId
- a unique id for the created session.collection
- the full path to the collection.
java.rmi.RemoteException
public boolean removeCollection(java.lang.String sessionId, java.lang.String collection) throws java.rmi.RemoteException
Admin
removeCollection
in interface Admin
sessionId
- sessionId a unique id for the created session.collection
- the full path to the collection.
java.rmi.RemoteException
public boolean removeDocument(java.lang.String sessionId, java.lang.String path) throws java.rmi.RemoteException
removeDocument
in interface Admin
path
- Description of the ParametersessionId
- a unique id for the created session.
java.rmi.RemoteException
- Description of the Exceptionpublic void store(java.lang.String sessionId, byte[] data, java.lang.String encoding, java.lang.String path, boolean replace) throws java.rmi.RemoteException
store
in interface Admin
data
- Description of the Parameterencoding
- Description of the Parameterpath
- Description of the Parameterreplace
- Description of the ParametersessionId
- a unique id for the created session.
java.rmi.RemoteException
- Description of the Exceptionpublic int xupdate(java.lang.String sessionId, java.lang.String collectionName, java.lang.String xupdate) throws java.rmi.RemoteException
Admin
xupdate
in interface Admin
sessionId
- a unique id for the created session.collectionName
- the full path to the collection.xupdate
- the XUpdate document to be applied.
java.rmi.RemoteException
public int xupdateResource(java.lang.String sessionId, java.lang.String documentName, java.lang.String xupdate) throws java.rmi.RemoteException
Admin
xupdateResource
in interface Admin
sessionId
- a unique id for the created session.documentName
- the full path to the document.xupdate
- the XUpdate document to be applied.
java.rmi.RemoteException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |