Mercurial > dive4elements > framework
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/artifacts/src/main/java/de/intevation/artifacts/UserFactory.java Tue Mar 01 12:17:00 2011 +0000 @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2011 by Intevation GmbH + * + * This program is free software under the LGPL (>=v2.1) + * Read the file LGPL.txt coming with the software for details + * or visit http://www.gnu.org/licenses/ if it does not exist. + */ +package de.intevation.artifacts; + +import org.w3c.dom.Document; + +import java.io.Serializable; + +public interface UserFactory +{ + User createUser(String identifier, String name, Document role); + + void deleteUser(User user); + + User getUser(String identifier); + + User [] getUsers(); +} +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :