|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface User
A user is a representation for a person registered for working with the system
Field Summary | |
---|---|
static long |
GUEST
The oid of the user guest, used for public servlet methods. |
static long |
NOBODY
The oid of the inactive user nobody. |
static long |
SYSADM
The system administrator (oid). |
static User |
SYSADM_USER
The sysadm user |
Method Summary | |
---|---|
boolean |
getCantChangePwd()
|
boolean |
getChangePwdNext()
|
java.lang.String |
getDescription()
Get the description. |
java.lang.String |
getEmail()
Get the email address. |
java.lang.String |
getFirstName()
Get the first name. |
java.lang.String |
getId()
Get the id. |
java.lang.String |
getLocale()
Return the locale set for this user as string. |
java.lang.String |
getName()
Implemented for Principal interface |
java.lang.String |
getNameSuffix()
Get the name suffix for this user |
boolean |
getPwdNeverExpires()
|
java.lang.String |
getSalutation()
Get the salutation for this user |
java.lang.String |
getSurname()
Get the surname. |
java.lang.String |
getTelNr()
Get the phone number. |
java.lang.String |
getTitle()
Get the title. |
java.util.Locale |
getUserLocale()
Get the locale of the user |
void |
setCantChangePwd(boolean val)
|
void |
setChangePwdNext(boolean val)
|
void |
setDescription(java.lang.String description)
|
void |
setEmail(java.lang.String email)
|
void |
setFirstName(java.lang.String firstName)
|
void |
setId(java.lang.String id)
|
void |
setLocale(java.lang.String locale)
|
void |
setNameSuffix(java.lang.String nameSuffix)
Set the name suffix for this user |
void |
setPassword(java.lang.String password)
Set the password for this user |
void |
setPwdNeverExpires(boolean val)
|
void |
setSalutation(java.lang.String salutation)
Set the salutation for this user |
void |
setSurname(java.lang.String surname)
|
void |
setTelNr(java.lang.String telNr)
|
void |
setTitle(java.lang.String title)
|
java.lang.String |
toListString()
A string representation suitable for lists. |
Methods inherited from interface com.groiss.org.Agent |
---|
getOid, isActive, setActive |
Methods inherited from interface com.groiss.store.Persistent |
---|
dbFields, getStore, getTableName, isFilled, onDelete, onInsert, onRead, onUpdate, setFilled, setOid, setStore |
Methods inherited from interface java.security.Principal |
---|
equals, hashCode, toString |
Field Detail |
---|
static final long SYSADM
static final User SYSADM_USER
static final long NOBODY
static final long GUEST
Method Detail |
---|
java.lang.String getId()
getId
in interface Agent
void setId(java.lang.String id)
java.lang.String getName()
getName
in interface java.security.Principal
java.lang.String getTitle()
void setTitle(java.lang.String title)
java.lang.String getFirstName()
void setFirstName(java.lang.String firstName)
java.lang.String getSurname()
void setSurname(java.lang.String surname)
java.lang.String getDescription()
void setDescription(java.lang.String description)
java.lang.String getTelNr()
void setTelNr(java.lang.String telNr)
java.lang.String getEmail()
void setEmail(java.lang.String email)
java.util.Locale getUserLocale()
java.lang.String toListString()
java.lang.String getLocale()
void setLocale(java.lang.String locale)
boolean getCantChangePwd()
void setCantChangePwd(boolean val)
boolean getChangePwdNext()
void setChangePwdNext(boolean val)
boolean getPwdNeverExpires()
void setPassword(java.lang.String password)
password
- the plain passwordvoid setPwdNeverExpires(boolean val)
java.lang.String getSalutation()
void setSalutation(java.lang.String salutation)
salutation
- the new salutationjava.lang.String getNameSuffix()
void setNameSuffix(java.lang.String nameSuffix)
nameSuffix
- the new name suffix
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |