KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > webman > sync > User


1 package de.webman.sync;
2
3 import java.util.List JavaDoc;
4
5 /**
6  * Represents a user as returned from an access control adaptor
7  *
8  * @author <a HREF="mailto:gregor@webman.de">Gregor Klinke</a>
9  * @version $Revision: 1.2 $
10  **/

11 public interface User
12 {
13     /* $Id: User.java,v 1.2 2002/04/12 14:56:01 gregor Exp $ */
14
15     /**
16      * returns a list of all webman groups the user is listed in the
17      * external acl system for. The list contains java.lang.String
18      * elements.
19      * @return s.a.
20      */

21     List JavaDoc getGroups();
22
23     /**
24      * returns the id of the user in the acl system specific format.
25      * @return s.a.
26      */

27     String JavaDoc getID();
28     
29     /**
30      * returns the id of the user in the webman specific format (the
31      * "login" name)
32      * @return s.a.
33      */

34     String JavaDoc getWebmanName();
35
36     /**
37      * returns a display name of the user (which is maybe his/her real name)
38      * @return s.a.
39      **/

40     String JavaDoc getDisplayName();
41
42     /**
43      * returns <code>true</code> if the user entry has been changed/added
44      * in the external acl system
45      * @return s.a.
46      */

47     boolean isDirty();
48 }
49
Popular Tags