diff artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java @ 117:4d725248f8d1

Added external API for users and collections. artifacts/trunk@1340 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 01 Mar 2011 14:42:58 +0000
parents 933bbc9fc11f
children 0e0c27bc0b90
line wrap: on
line diff
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java	Tue Mar 01 14:07:05 2011 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java	Tue Mar 01 14:42:58 2011 +0000
@@ -889,5 +889,79 @@
 
         return service.process(input, context, callMeta);
     }
+
+        // User API
+
+    public Document listUsers(CallMeta callMeta)
+        throws ArtifactDatabaseException {
+        throw new ArtifactDatabaseException("Not implemented, yet!");
+
+    }
+
+    public Document createUser(Document data, CallMeta callMeta)
+        throws ArtifactDatabaseException {
+        throw new ArtifactDatabaseException("Not implemented, yet!");
+    }
+
+    public Document deleteUser(String userId, CallMeta callMeta)
+        throws ArtifactDatabaseException {
+        throw new ArtifactDatabaseException("Not implemented, yet!");
+    }
+
+    public Document listUsers(Document data, CallMeta callMeta)
+        throws ArtifactDatabaseException {
+        throw new ArtifactDatabaseException("Not implemented, yet!");
+    }
+
+    // Collection API
+
+    public Document listCollections(String userId, CallMeta callMeta)
+        throws ArtifactDatabaseException {
+        throw new ArtifactDatabaseException("Not implemented, yet!");
+    }
+
+    public Document createCollection(String ownerId, Document data,
+        CallMeta callMeta)
+        throws ArtifactDatabaseException {
+        throw new ArtifactDatabaseException("Not implemented, yet!");
+    }
+
+    public Document deleteCollection(String collectionId, CallMeta callMeta)
+        throws ArtifactDatabaseException {
+        throw new ArtifactDatabaseException("Not implemented, yet!");
+    }
+
+    public Document getCollectionAttribute(String collectionId, String artifactId,
+        CallMeta callMeta) throws ArtifactDatabaseException {
+        throw new ArtifactDatabaseException("Not implemented, yet!");
+    }
+
+    public Document setCollectionAttribute(String collectionId, String artifactId,
+        Document attribute, CallMeta callMeta)
+        throws ArtifactDatabaseException {
+        throw new ArtifactDatabaseException("Not implemented, yet!");
+    }
+
+    public Document addCollectionArtifact(String collectionId, String artifactId,
+        CallMeta callMeta) throws ArtifactDatabaseException {
+        throw new ArtifactDatabaseException("Not implemented, yet!");
+    }
+
+    public Document removeCollectionArtifact(String collectionId, String artifactId,
+        CallMeta callMeta) throws ArtifactDatabaseException {
+        throw new ArtifactDatabaseException("Not implemented, yet!");
+    }
+
+    public Document listCollectionArtifacts(String collectionId,
+        CallMeta callMeta) throws ArtifactDatabaseException {
+        throw new ArtifactDatabaseException("Not implemented, yet!");
+    }
+
+    public DeferredOutput outCollection(String collectionId,
+        Document format, CallMeta callMeta)
+        throws ArtifactDatabaseException{
+        throw new ArtifactDatabaseException("Not implemented, yet!");
+    }
+
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org