diff src/main/java/de/intevation/artifacts/httpclient/http/HttpClient.java @ 4:19b3ba7f2568

Added a method to the http client to list the existing users of the artifact database. http-client/trunk@1412 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 07 Mar 2011 13:42:33 +0000
parents 19a617578b88
children 7917c21fad01
line wrap: on
line diff
--- a/src/main/java/de/intevation/artifacts/httpclient/http/HttpClient.java	Fri Mar 04 11:49:49 2011 +0000
+++ b/src/main/java/de/intevation/artifacts/httpclient/http/HttpClient.java	Mon Mar 07 13:42:33 2011 +0000
@@ -28,12 +28,6 @@
     Object create(Document createDocument, ArtifactCreator creator)
     throws ConnectionException;
 
-    Object createCollection(
-        Document        createDocument,
-        String          ownerId,
-        ResponseHandler handler)
-    throws ConnectionException;
-
     Object describe(
         Artifact        artifact,
         Document        describeDocument,
@@ -55,5 +49,22 @@
         String       target,
         OutputStream out)
     throws ConnectionException;
+
+
+    /*******************************
+     * Collections API
+     *******************************/
+    Object createCollection(
+        Document        createDocument,
+        String          ownerId,
+        ResponseHandler handler)
+    throws ConnectionException;
+
+
+    /*******************************
+     * Users API
+     *******************************/
+    Document listUsers()
+    throws ConnectionException;
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8:

http://dive4elements.wald.intevation.org