Class BasicUser
java.lang.Object
com.inductiveautomation.ignition.common.config.BasicPropertySet
com.inductiveautomation.ignition.common.user.BasicUser
- All Implemented Interfaces:
Countable
,Extendable<PropertySet>
,Mergable<PropertySet>
,MutablePropertyValueSource
,ObservablePropertySet
,PropertySet
,PropertyValueSource
,User
,Serializable
,Iterable<PropertyValue>
- Direct Known Subclasses:
BasicAuthenticatedUser
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySet
BasicPropertySet.Builder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ContactInfo>
protected Serializable
protected String
protected Collection<String>
protected List<ScheduleAdjustment>
Fields inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
EMPTY
-
Constructor Summary
ConstructorsConstructorDescriptionBasicUser
(String profileName, Serializable id, Collection<String> roles) BasicUser
(String profileName, Serializable id, Collection<String> roles, List<ContactInfo> contactInfo) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns all of the contact information for the usergetId()
An opaque identifier that can be used to identify this user.getPath()
Generate an path that unambiguously references this userThe name of the user management profile this user was retrieved from.getRoles()
Returns all of the roles this user is a has.Returns all of this user's upcoming schedule adjustmentsint
hashCode()
setContactInfo
(List<ContactInfo> contactInfo) void
setProfileName
(String newProfileName) Scripting functions allow adding and editing of users, and profile names may need to change.setRoles
(Collection<String> roles) setScheduleAdjustments
(List<ScheduleAdjustment> scheduleAdjustments) Methods inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySet
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, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface com.inductiveautomation.ignition.common.config.MutablePropertyValueSource
merge, remove, set, set
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
extend, getExtension, isExtended, isInherited, newDefaultInstance, newExtension
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertyValueSource
contains, get, getNonNull, getNonNull, getOrDefault, getOrElse, getProperties, getValues
-
Field Details
-
profileName
-
id
-
roles
-
contactInfo
-
scheduleAdjustments
-
-
Constructor Details
-
BasicUser
-
BasicUser
public BasicUser(String profileName, Serializable id, Collection<String> roles, List<ContactInfo> contactInfo)
-
-
Method Details
-
setRoles
-
setContactInfo
-
setScheduleAdjustments
-
setProfileName
Description copied from interface:User
Scripting functions allow adding and editing of users, and profile names may need to change.- Specified by:
setProfileName
in interfaceUser
-
equals
- Overrides:
equals
in classBasicPropertySet
-
hashCode
public int hashCode() -
getProfileName
Description copied from interface:User
The name of the user management profile this user was retrieved from.- Specified by:
getProfileName
in interfaceUser
-
getId
Description copied from interface:User
An opaque identifier that can be used to identify this user. Only valid (unique) within the context of the originating user profile -
getRoles
Description copied from interface:User
Returns all of the roles this user is a has. Not null. -
getContactInfo
Description copied from interface:User
Returns all of the contact information for the user- Specified by:
getContactInfo
in interfaceUser
-
getScheduleAdjustments
Description copied from interface:User
Returns all of this user's upcoming schedule adjustments- Specified by:
getScheduleAdjustments
in interfaceUser
-
getPath
Description copied from interface:User
Generate an path that unambiguously references this user
-