Interface UserSourceManager
- 
- All Superinterfaces:
- ExtensionPointManager
 
 public interface UserSourceManager extends ExtensionPointManager 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddUserSourceProfileType(UserSourceProfileType type)Adds a new type of user source into the system.ContactTypefindContactType(java.lang.String contactTypeKey)Find the contact type matching the given key, or null if none matches.Property<?>findUserProperty(java.lang.String keyName)Look up a registered property by key namejava.util.Set<java.lang.String>getAllRoles()Returns all roles across the various user profiles.GatewayContextgetGatewayContext()UserSourceProfilegetProfile(long id)UserSourceProfilegetProfile(java.lang.String name)Find the user source with this name.java.util.Set<ContactType>getRegisteredContactTypes()Return all of the contact types registered with the systemjava.util.Set<ConfigurationProperty<?>>getRegisteredUserProperties()Retrieve all of the properties registered for user objects.java.util.concurrent.Future<?>notifyUserAltered(long profileId)Notify the manager that a user or group in this profile has been changed.voidregisterContactType(ContactType contactType)Add a new contact type to the systemvoidregisterUserProperties(ConfigurationProperty<?>... properties)Register new properties that will be available to add to User objects.- 
Methods inherited from interface com.inductiveautomation.ignition.gateway.model.ExtensionPointManagergetExtensionPoint, getExtensionPoints
 
- 
 
- 
- 
- 
Method Detail- 
getGatewayContextGatewayContext getGatewayContext() 
 - 
getProfileUserSourceProfile getProfile(long id) 
 - 
getProfileUserSourceProfile getProfile(java.lang.String name) Find the user source with this name.- Throws:
- java.lang.IllegalArgumentException- if no such user source was found
 
 - 
addUserSourceProfileTypevoid addUserSourceProfileType(UserSourceProfileType type) throws java.lang.Exception Adds a new type of user source into the system. Also ensures that the persistent settings record indicated by the type is known to the schema system.- Throws:
- java.lang.Exception- if automatic schema updating fails.
 
 - 
registerUserPropertiesvoid registerUserProperties(ConfigurationProperty<?>... properties) Register new properties that will be available to add to User objects.
 - 
getRegisteredUserPropertiesjava.util.Set<ConfigurationProperty<?>> getRegisteredUserProperties() Retrieve all of the properties registered for user objects.
 - 
findUserPropertyProperty<?> findUserProperty(java.lang.String keyName) Look up a registered property by key name
 - 
registerContactTypevoid registerContactType(ContactType contactType) Add a new contact type to the system
 - 
findContactTypeContactType findContactType(java.lang.String contactTypeKey) Find the contact type matching the given key, or null if none matches.
 - 
getRegisteredContactTypesjava.util.Set<ContactType> getRegisteredContactTypes() Return all of the contact types registered with the system
 - 
notifyUserAlteredjava.util.concurrent.Future<?> notifyUserAltered(long profileId) Notify the manager that a user or group in this profile has been changed. The manager maintains a cache of the users in a profile because the act of fetching users/groups for many profiles is very expensive (slow).
 - 
getAllRolesjava.util.Set<java.lang.String> getAllRoles() Returns all roles across the various user profiles. Will return an empty set if no roles are defined.
 
- 
 
-