public interface UserSourceManager extends ExtensionPointManager
Modifier and Type | Method and Description |
---|---|
void |
addUserSourceProfileType(UserSourceProfileType type)
Adds a new type of user source into the system.
|
ContactType |
findContactType(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 name
|
java.util.Set<java.lang.String> |
getAllRoles()
Returns all roles across the various user profiles.
|
GatewayContext |
getGatewayContext() |
UserSourceProfile |
getProfile(long id) |
UserSourceProfile |
getProfile(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 system
|
java.util.Set<CategorizedProperty<?>> |
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.
|
void |
registerContactType(ContactType contactType)
Add a new contact type to the system
|
void |
registerUserProperties(CategorizedProperty<?>... properties)
Register new properties that will be available to add to User objects.
|
getExtensionPoint, getExtensionPoints
GatewayContext getGatewayContext()
UserSourceProfile getProfile(long id)
UserSourceProfile getProfile(java.lang.String name)
name
- java.lang.IllegalArgumentException
- if no such user source was foundvoid addUserSourceProfileType(UserSourceProfileType type) throws java.lang.Exception
java.lang.Exception
- if automatic schema updating fails.void registerUserProperties(CategorizedProperty<?>... properties)
java.util.Set<CategorizedProperty<?>> getRegisteredUserProperties()
Property<?> findUserProperty(java.lang.String keyName)
void registerContactType(ContactType contactType)
ContactType findContactType(java.lang.String contactTypeKey)
java.util.Set<ContactType> getRegisteredContactTypes()
java.util.concurrent.Future<?> notifyUserAltered(long profileId)
profileId
- java.util.Set<java.lang.String> getAllRoles()