changeset 408:7cdd63310d5c

Extend user interfaces to handle account information artifacts/trunk@5244 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Thu, 23 Aug 2012 13:39:30 +0000 (2012-08-23)
parents 08731e7403b5
children 4748949c4f19
files ChangeLog artifacts/src/main/java/de/intevation/artifacts/User.java artifacts/src/main/java/de/intevation/artifacts/UserFactory.java
diffstat 3 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Aug 23 13:35:16 2012 +0000
+++ b/ChangeLog	Thu Aug 23 13:39:30 2012 +0000
@@ -1,3 +1,9 @@
+2012-08-23	Björn Ricks	<bjoern.ricks@intevation.de>
+
+	* artifacts/src/main/java/de/intevation/artifacts/UserFactory.java,
+	  artifacts/src/main/java/de/intevation/artifacts/User.java:
+	  Extend user interfaces to handle account information.
+
 2012-08-23	Björn Ricks	<bjoern.ricks@intevation.de>
 
 	* artifact-database/src/main/resources/sql/org-h2-driver.properties,
--- a/artifacts/src/main/java/de/intevation/artifacts/User.java	Thu Aug 23 13:35:16 2012 +0000
+++ b/artifacts/src/main/java/de/intevation/artifacts/User.java	Thu Aug 23 13:39:30 2012 +0000
@@ -25,5 +25,7 @@
     void setRole(Document role);
 
     Document getRole();
+
+    String getAccount();
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :
--- a/artifacts/src/main/java/de/intevation/artifacts/UserFactory.java	Thu Aug 23 13:35:16 2012 +0000
+++ b/artifacts/src/main/java/de/intevation/artifacts/UserFactory.java	Thu Aug 23 13:39:30 2012 +0000
@@ -14,6 +14,7 @@
 {
     void setup(Document config, Node factoryNode);
 
-    User createUser(String identifier, String name, Document role, Object context);
+    User createUser(String identifier, String name, String account,
+                    Document role, Object context);
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org