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 SummaryNested classes/interfaces inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySetBasicPropertySet.Builder
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected List<ContactInfo>protected Serializableprotected Stringprotected Collection<String>protected List<ScheduleAdjustment>Fields inherited from interface com.inductiveautomation.ignition.common.config.PropertySetEMPTY
- 
Constructor SummaryConstructorsConstructorDescriptionBasicUser(String profileName, Serializable id, Collection<String> roles) BasicUser(String profileName, Serializable id, Collection<String> roles, List<ContactInfo> contactInfo) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns 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 adjustmentsinthashCode()setContactInfo(List<ContactInfo> contactInfo) voidsetProfileName(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.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, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, iterator, spliteratorMethods inherited from interface com.inductiveautomation.ignition.common.config.MutablePropertyValueSourcemerge, remove, set, setMethods inherited from interface com.inductiveautomation.ignition.common.config.PropertySetextend, getExtension, isExtended, isInherited, newDefaultInstance, newExtensionMethods inherited from interface com.inductiveautomation.ignition.common.config.PropertyValueSourcecontains, get, getNonNull, getNonNull, getOrDefault, getOrElse, getProperties, getValues
- 
Field Details- 
profileName
- 
id
- 
roles
- 
contactInfo
- 
scheduleAdjustments
 
- 
- 
Constructor Details- 
BasicUser
- 
BasicUserpublic BasicUser(String profileName, Serializable id, Collection<String> roles, List<ContactInfo> contactInfo) 
 
- 
- 
Method Details- 
setRoles
- 
setContactInfo
- 
setScheduleAdjustments
- 
setProfileNameDescription copied from interface:UserScripting functions allow adding and editing of users, and profile names may need to change.- Specified by:
- setProfileNamein interface- User
 
- 
equals- Overrides:
- equalsin class- BasicPropertySet
 
- 
hashCodepublic int hashCode()
- 
getProfileNameDescription copied from interface:UserThe name of the user management profile this user was retrieved from.- Specified by:
- getProfileNamein interface- User
 
- 
getIdDescription 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
- 
getRolesDescription copied from interface:UserReturns all of the roles this user is a has. Not null.
- 
getContactInfoDescription copied from interface:UserReturns all of the contact information for the user- Specified by:
- getContactInfoin interface- User
 
- 
getScheduleAdjustmentsDescription copied from interface:UserReturns all of this user's upcoming schedule adjustments- Specified by:
- getScheduleAdjustmentsin interface- User
 
- 
getPathDescription copied from interface:UserGenerate an path that unambiguously references this user
 
-