Mercurial > dive4elements > framework
comparison artifacts/src/main/java/de/intevation/artifacts/UserFactory.java @ 115:a1200c6ed048
Initial interfaces to handle with Collections and Users.
artifacts/trunk@1338 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 01 Mar 2011 12:17:00 +0000 |
parents | |
children | 2707b7ec273f |
comparison
equal
deleted
inserted
replaced
114:19b86e27d0c3 | 115:a1200c6ed048 |
---|---|
1 /* | |
2 * Copyright (c) 2011 by Intevation GmbH | |
3 * | |
4 * This program is free software under the LGPL (>=v2.1) | |
5 * Read the file LGPL.txt coming with the software for details | |
6 * or visit http://www.gnu.org/licenses/ if it does not exist. | |
7 */ | |
8 package de.intevation.artifacts; | |
9 | |
10 import org.w3c.dom.Document; | |
11 | |
12 import java.io.Serializable; | |
13 | |
14 public interface UserFactory | |
15 { | |
16 User createUser(String identifier, String name, Document role); | |
17 | |
18 void deleteUser(User user); | |
19 | |
20 User getUser(String identifier); | |
21 | |
22 User [] getUsers(); | |
23 } | |
24 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |