1 package de.webman.sync; 2 3 import java.util.List; 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 getGroups(); 22 23 /** 24 * returns the id of the user in the acl system specific format. 25 * @return s.a. 26 */ 27 String 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 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 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