public interface User extends Agent, Principal
Modifier and Type | Field and Description |
---|---|
static int |
GENDER_FEMALE |
static int |
GENDER_MALE |
static int |
GENDER_OTHER |
static int |
GENDER_UNKNOWN |
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
|
emptyKeys
Modifier and Type | Method and Description |
---|---|
void |
checkPassword(String password)
Check the password.
|
boolean |
getCantChangePwd() |
boolean |
getChangePwdNext() |
String |
getDescription()
Get the description.
|
String |
getEmail()
Get the email address.
|
String |
getFirstName()
Get the first name.
|
int |
getGender()
get the gender of this user
|
String |
getId()
Get the id.
|
String |
getLocale()
Return the locale set for this user as string.
|
String |
getName()
Implemented for Principal interface
|
String |
getNameSuffix()
Get the name suffix for this user
|
String |
getOrderAttr()
Get the order attribute.
|
boolean |
getPwdExpirationMailSent()
Get the flag, if mail has been sent that password will expire in future defined
with configuration parameter
passwdpolicy.days_warning_before |
boolean |
getPwdNeverExpires() |
String |
getSalutation()
Get the salutation for this user
|
String |
getSurname()
Get the surname.
|
String |
getTelNr()
Get the phone number.
|
String |
getTitle()
Get the title.
|
Locale |
getUserLocale()
Get the locale of the user
|
void |
setCantChangePwd(boolean val) |
void |
setChangePwdNext(boolean val) |
void |
setDescription(String description) |
void |
setEmail(String email) |
void |
setFirstName(String firstName) |
void |
setGender(int gender)
set the gender of this user
|
void |
setId(String id) |
void |
setLocale(String locale) |
void |
setNameSuffix(String nameSuffix)
Set the name suffix for this user
|
void |
setOrderAttr(String orderAttr)
Set the order attribute for this user
|
void |
setPassword(String password)
Set the password for this user
|
void |
setPwdExpirationMailSent(boolean val)
Set the flag, if expiration warning mail has been sent
|
void |
setPwdNeverExpires(boolean val) |
void |
setSalutation(String salutation)
Set the salutation for this user
|
void |
setSurname(String surname) |
void |
setTelNr(String telNr) |
void |
setTitle(String title) |
String |
toListString()
A string representation suitable for lists.
|
afterDelete, afterInsert, afterRead, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, dbFields, getKey, getKeys, getLocalClassName, getLocalObjectName, getStore, getTableName, getValue, isFilled, isValid, setFilled, setOid, setOid, setStore
isActive, setActive
static final long SYSADM
static final User SYSADM_USER
static final long NOBODY
static final long GUEST
static final int GENDER_MALE
getGender()
,
setGender(int)
,
Constant Field Valuesstatic final int GENDER_FEMALE
getGender()
,
setGender(int)
,
Constant Field Valuesstatic final int GENDER_OTHER
getGender()
,
setGender(int)
,
Constant Field Valuesstatic final int GENDER_UNKNOWN
getGender()
,
setGender(int)
,
Constant Field Valuesvoid setId(String id)
String getName()
String getTitle()
void setTitle(String title)
String getFirstName()
void setFirstName(String firstName)
String getSurname()
void setSurname(String surname)
String getDescription()
void setDescription(String description)
String getTelNr()
void setTelNr(String telNr)
String getEmail()
void setEmail(String email)
Locale getUserLocale()
String toListString()
toListString
in interface Persistent
String getLocale()
void setLocale(String locale)
boolean getCantChangePwd()
void setCantChangePwd(boolean val)
boolean getChangePwdNext()
void setChangePwdNext(boolean val)
boolean getPwdNeverExpires()
void setPassword(String password)
password
- the plain passwordvoid checkPassword(String password)
void setPwdNeverExpires(boolean val)
boolean getPwdExpirationMailSent()
passwdpolicy.days_warning_before
true
, if mail has been sent; otherwise false
void setPwdExpirationMailSent(boolean val)
val
- the boolean value for the flagString getSalutation()
void setSalutation(String salutation)
salutation
- the new salutationString getNameSuffix()
void setNameSuffix(String nameSuffix)
nameSuffix
- the new name suffixvoid setGender(int gender)
gender
- GENDER_FEMALE
,
GENDER_MALE
,
GENDER_OTHER
,
GENDER_UNKNOWN
int getGender()
GENDER_FEMALE
,
GENDER_MALE
,
GENDER_OTHER
,
GENDER_UNKNOWN
String getOrderAttr()
void setOrderAttr(String orderAttr)
orderAttr
- the new order attribute@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.