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,- java.io.Serializable,- java.lang.Iterable<PropertyValue>
 - Direct Known Subclasses:
- BasicAuthenticatedUser
 
 public class BasicUser extends BasicPropertySet implements User - See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySetBasicPropertySet.Builder
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected java.util.List<ContactInfo>contactInfoprotected java.io.Serializableidprotected java.lang.StringprofileNameprotected java.util.Collection<java.lang.String>rolesprotected java.util.List<ScheduleAdjustment>scheduleAdjustments- 
Fields inherited from interface com.inductiveautomation.ignition.common.config.PropertySetEMPTY
 
- 
 - 
Constructor SummaryConstructors Constructor 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)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<ContactInfo>getContactInfo()Returns all of the contact information for the userjava.io.SerializablegetId()An opaque identifier that can be used to identify this user.QualifiedPathgetPath()Generate an path that unambiguously references this userjava.lang.StringgetProfileName()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 adjustmentsinthashCode()BasicUsersetContactInfo(java.util.List<ContactInfo> contactInfo)voidsetProfileName(java.lang.String newProfileName)Scripting functions allow adding and editing of users, and profile names may need to change.BasicUsersetRoles(java.util.Collection<java.lang.String> roles)BasicUsersetScheduleAdjustments(java.util.List<ScheduleAdjustment> scheduleAdjustments)- 
Methods inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySetaddPropertyChangeListener, 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.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.ignition.common.config.MutablePropertyValueSourcemerge, remove, set, set
 - 
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertySetextend, getExtension, isExtended, isInherited, newDefaultInstance, newExtension
 - 
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertyValueSourcecontains, get, getNonNull, getNonNull, getOrDefault, getOrElse, getProperties, getValues
 
- 
 
- 
- 
- 
Field Detail- 
profileNameprotected java.lang.String profileName 
 - 
idprotected java.io.Serializable id 
 - 
rolesprotected java.util.Collection<java.lang.String> roles 
 - 
contactInfoprotected java.util.List<ContactInfo> contactInfo 
 - 
scheduleAdjustmentsprotected java.util.List<ScheduleAdjustment> scheduleAdjustments 
 
- 
 - 
Constructor Detail- 
BasicUserpublic BasicUser(java.lang.String profileName, java.io.Serializable id, java.util.Collection<java.lang.String> roles)
 - 
BasicUserpublic BasicUser(java.lang.String profileName, java.io.Serializable id, java.util.Collection<java.lang.String> roles, java.util.List<ContactInfo> contactInfo)
 
- 
 - 
Method Detail- 
setRolespublic BasicUser setRoles(@Nullable java.util.Collection<java.lang.String> roles) 
 - 
setContactInfopublic BasicUser setContactInfo(@Nullable java.util.List<ContactInfo> contactInfo) 
 - 
setScheduleAdjustmentspublic BasicUser setScheduleAdjustments(@Nullable java.util.List<ScheduleAdjustment> scheduleAdjustments) 
 - 
setProfileNamepublic void setProfileName(@Nullable java.lang.String newProfileName)Description copied from interface:UserScripting functions allow adding and editing of users, and profile names may need to change.- Specified by:
- setProfileNamein interface- User
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- BasicPropertySet
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
getProfileNamepublic java.lang.String getProfileName() Description copied from interface:UserThe name of the user management profile this user was retrieved from.- Specified by:
- getProfileNamein interface- User
 
 - 
getIdpublic java.io.Serializable getId() Description copied from interface:UserAn opaque identifier that can be used to identify this user. Only valid (unique) within the context of the originating user profile
 - 
getRoles@Nonnull public java.util.Collection<java.lang.String> getRoles() Description copied from interface:UserReturns all of the roles this user is a has. Not null.
 - 
getContactInfo@Nonnull public java.util.List<ContactInfo> getContactInfo() Description copied from interface:UserReturns all of the contact information for the user- Specified by:
- getContactInfoin interface- User
 
 - 
getScheduleAdjustments@Nonnull public java.util.List<ScheduleAdjustment> getScheduleAdjustments() Description copied from interface:UserReturns all of this user's upcoming schedule adjustments- Specified by:
- getScheduleAdjustmentsin interface- User
 
 - 
getPathpublic QualifiedPath getPath() Description copied from interface:UserGenerate an path that unambiguously references this user
 
- 
 
-