|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.esupportail.portal.channels.CWebdav.userManagement.User
Id: User.java,v 1.0 7 oct. 2004 Copyright (c) 2004 Esup Portail (www.esup-portail.org) Classes: User Original Author: Yohan Colmant Represents a user for the management
Field Summary | |
private java.lang.String |
displayName
The displayed user name |
private java.lang.String |
key
The key |
protected static org.apache.commons.logging.Log |
log
Logger object |
Constructor Summary | |
User(org.esupportail.portal.channels.CAnnuaire.Personne pers)
Constructor |
|
User(java.lang.String key,
ChannelConfiguration config)
Constructor |
|
User(java.lang.String key,
java.lang.String displayName)
Constructor |
Method Summary | |
boolean |
equals(java.lang.Object o)
Check if this user equals the object given in parameter |
java.lang.String |
getDisplayName()
Get this user's display name |
java.lang.String |
getKey()
Get the key |
private java.lang.String |
getUserName(java.lang.String key,
ChannelConfiguration config)
Return the user name from a given key |
void |
setDisplayName(java.lang.String displayName)
Set the display name |
java.lang.String |
toString()
Return a String from this user |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static final org.apache.commons.logging.Log log
private java.lang.String displayName
private java.lang.String key
Constructor Detail |
public User(java.lang.String key, java.lang.String displayName)
key
- The keydisplayName
- The displayed user namepublic User(java.lang.String key, ChannelConfiguration config)
key
- The keyconfig
- the access file configpublic User(org.esupportail.portal.channels.CAnnuaire.Personne pers)
pers
- The retrieved peopleMethod Detail |
private java.lang.String getUserName(java.lang.String key, ChannelConfiguration config)
key
- the user keyconfig
- the access file config
public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName
- The displayName to set.public java.lang.String getKey()
public boolean equals(java.lang.Object o)
o
- the object to compare
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |