public class BasicUser extends BasicPropertySet implements User
BasicPropertySet.Builder| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<ContactInfo> |
contactInfo |
protected java.io.Serializable |
id |
protected java.lang.String |
profileName |
protected java.util.Collection<java.lang.String> |
roles |
protected java.util.List<ScheduleAdjustment> |
scheduleAdjustments |
FirstName, Language, LastName, Notes, Password, Schedule, Username, USERNAME_PATTERNEMPTY| Constructor and Description |
|---|
BasicUser(java.lang.String profileName,
java.io.Serializable id,
java.util.Collection<java.lang.String> roles) |
BasicUser(java.lang.String profileName,
java.io.Serializable id,
java.util.Collection<java.lang.String> roles,
java.util.List<ContactInfo> contactInfo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<ContactInfo> |
getContactInfo()
Returns all of the contact information for the user
|
java.io.Serializable |
getId()
An opaque identifier that can be used to identify this user.
|
QualifiedPath |
getPath()
Generate an path that unambiguously references this user
|
java.lang.String |
getProfileName()
The name of the user management profile this user was retrieved from.
|
java.util.Collection<java.lang.String> |
getRoles()
Returns all of the roles this user is a has.
|
java.util.List<ScheduleAdjustment> |
getScheduleAdjustments()
Returns all of this user's upcoming schedule adjustments
|
int |
hashCode() |
BasicUser |
setContactInfo(java.util.List<ContactInfo> contactInfo) |
BasicUser |
setScheduleAdjustments(java.util.List<ScheduleAdjustment> scheduleAdjustments) |
addPropertyChangeListener, addPropertyChangeListener, change, coerceValue, contains, firePropertyChange, get, getCount, getExtension, getOrDefault, getOrElse, getProperties, getRaw, getRawValueMap, getValues, isExtended, isInherited, iterator, of, remove, removePropertyChangeListener, removePropertyChangeListener, set, set, setDirect, setImpl, setRawValueMap, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitbuilder, extend, getExtension, isExtended, isInherited, newDefaultInstance, newExtensionmerge, remove, set, setcontains, get, getOrDefault, getOrElse, getProperties, getValuesprotected java.lang.String profileName
protected java.io.Serializable id
protected java.util.Collection<java.lang.String> roles
protected java.util.List<ContactInfo> contactInfo
protected java.util.List<ScheduleAdjustment> scheduleAdjustments
public BasicUser(java.lang.String profileName,
java.io.Serializable id,
java.util.Collection<java.lang.String> roles)
public BasicUser(java.lang.String profileName,
java.io.Serializable id,
java.util.Collection<java.lang.String> roles,
java.util.List<ContactInfo> contactInfo)
public BasicUser setContactInfo(java.util.List<ContactInfo> contactInfo)
public BasicUser setScheduleAdjustments(java.util.List<ScheduleAdjustment> scheduleAdjustments)
public boolean equals(java.lang.Object obj)
equals in class BasicPropertySetpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getProfileName()
UsergetProfileName in interface Userpublic java.io.Serializable getId()
Userpublic java.util.Collection<java.lang.String> getRoles()
Userpublic java.util.List<ContactInfo> getContactInfo()
UsergetContactInfo in interface Userpublic java.util.List<ScheduleAdjustment> getScheduleAdjustments()
UsergetScheduleAdjustments in interface Userpublic QualifiedPath getPath()
User