public interface User extends PropertySet
Modifier and Type | Field and Description |
---|---|
static Property<java.lang.String> |
FirstName |
static Property<java.lang.String> |
Language
The preferred language for the user.
|
static Property<java.lang.String> |
LastName |
static Property<java.lang.String> |
Notes |
static Property<java.lang.String> |
Password |
static Property<java.lang.String> |
Schedule
The master schedule for this user.
|
static Property<java.lang.String> |
Username |
static java.util.regex.Pattern |
USERNAME_PATTERN
A regex to check for a valid username.
|
Modifier and Type | Method and Description |
---|---|
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
|
getProperties, getValues
remove, set, set
contains, get, getOrDefault, getOrElse, isExtended, isInherited
static final java.util.regex.Pattern USERNAME_PATTERN
[a-zA-Z][@\\w.\\s\\-]{1,49}
static final Property<java.lang.String> Username
static final Property<java.lang.String> FirstName
static final Property<java.lang.String> LastName
static final Property<java.lang.String> Password
static final Property<java.lang.String> Notes
static final Property<java.lang.String> Schedule
static final Property<java.lang.String> Language
Locale.toString()
java.lang.String getProfileName()
java.io.Serializable getId()
java.util.Collection<java.lang.String> getRoles()
java.util.List<ContactInfo> getContactInfo()
java.util.List<ScheduleAdjustment> getScheduleAdjustments()
QualifiedPath getPath()