Interface UserSourceManager
- All Superinterfaces:
ExtensionPointManager<UserSourceExtensionPoint<?>>
-
Method Summary
Modifier and TypeMethodDescriptionfindContactType
(String contactTypeKey) Find the contact type matching the given key, or null if none matches.Property<?>
findUserProperty
(String keyName) Look up a registered property by key namegetProfile
(String name) Find the user source with this name.Return all of the contact types registered with the systemRetrieve all of the properties registered for user objects.Get theNamedResourceHandler
that is configured for all user source profiles.void
registerContactType
(ContactType contactType) Add a new contact type to the systemvoid
registerUserProperties
(ConfigurationProperty<?>... properties) Register new properties that will be available to add to User objects.void
unregisterContactType
(ContactType contactType) Removes a contact type from the systemvoid
unregisterUserProperties
(ConfigurationProperty<?>... properties) Unregister custom user properties previously registered usingregisterUserProperties(ConfigurationProperty[])
Methods inherited from interface com.inductiveautomation.ignition.gateway.config.ExtensionPointManager
getExtensionPointCollection, getExtensionPointResourceType
-
Method Details
-
getGatewayContext
GatewayContext getGatewayContext() -
getProfile
Find the user source with this name.- Throws:
IllegalArgumentException
- if no such user source was found
-
registerUserProperties
Register new properties that will be available to add to User objects. -
unregisterUserProperties
Unregister custom user properties previously registered usingregisterUserProperties(ConfigurationProperty[])
-
getRegisteredUserProperties
Set<ConfigurationProperty<?>> getRegisteredUserProperties()Retrieve all of the properties registered for user objects. -
findUserProperty
Look up a registered property by key name -
registerContactType
Add a new contact type to the system -
unregisterContactType
Removes a contact type from the system- Throws:
IllegalArgumentException
- if the contact type does not exist or is one of the built-in types
-
findContactType
Find the contact type matching the given key, or null if none matches. -
getRegisteredContactTypes
Set<ContactType> getRegisteredContactTypes()Return all of the contact types registered with the system -
getUserProfileHandler
NamedResourceHandler<ExtensionPointConfig<UserSourceProfileConfig,?>> getUserProfileHandler()Get theNamedResourceHandler
that is configured for all user source profiles.- Returns:
- The
NamedResourceHandler
for user source profiles.
-