changeset 116:2707b7ec273f

Added missing call contexts to API. artifacts/trunk@1339 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 01 Mar 2011 14:07:05 +0000
parents a1200c6ed048
children 4d725248f8d1
files artifacts/src/main/java/de/intevation/artifacts/ArtifactCollection.java artifacts/src/main/java/de/intevation/artifacts/UserFactory.java
diffstat 2 files changed, 10 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/de/intevation/artifacts/ArtifactCollection.java	Tue Mar 01 12:17:00 2011 +0000
+++ b/artifacts/src/main/java/de/intevation/artifacts/ArtifactCollection.java	Tue Mar 01 14:07:05 2011 +0000
@@ -79,16 +79,15 @@
      */
     void cleanup(Object context);
 
-
-    void addArtifact(Artifact artifact, Document attributes);
-
-    void removeArtifact(Artifact artifact);
+    void addArtifact(Artifact artifact, Document attributes, CallContext context);
 
-    Artifact [] getArtifacts();
+    void removeArtifact(Artifact artifact, CallContext context);
 
-    Document getAttribute(Artifact artifact);
+    Artifact [] getArtifacts(CallContext context);
 
-    void setAtribute(Artifact artifact, Document document);
+    Document getAttribute(Artifact artifactCall, CallContext context);
+
+    void setAttribute(Artifact artifact, Document document, CallContext context);
 
     /**
      * Produce output for this collection.
--- a/artifacts/src/main/java/de/intevation/artifacts/UserFactory.java	Tue Mar 01 12:17:00 2011 +0000
+++ b/artifacts/src/main/java/de/intevation/artifacts/UserFactory.java	Tue Mar 01 14:07:05 2011 +0000
@@ -13,12 +13,12 @@
 
 public interface UserFactory
 {
-    User createUser(String identifier, String name, Document role);
+    User createUser(String identifier, String name, Document role, Object context);
 
-    void deleteUser(User user);
+    void deleteUser(User user, Object context);
 
-    User getUser(String identifier);
+    User getUser(String identifier, Object context);
 
-    User [] getUsers();
+    User [] getUsers(Object context);
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org