JavaScript is disabled on your browser.
Method Summary
All Methods Instance Methods Abstract Methods
void
Adds a new type of user source into the system.
Find the contact type matching the given key, or null if none matches.
Look up a registered property by key name
Returns all roles across the various user profiles.
Find the user source with this name.
Return all of the contact types registered with the system
Retrieve all of the properties registered for user objects.
Notify the manager that a user or group in this profile has been changed.
void
Add a new contact type to the system
void
Register new properties that will be available to add to User objects.
void
Remove a UserSourceProfileType with the given type ID.
void
Removes a contact type from the system
void
Method Details
addUserSourceProfileType
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:
Exception
- if automatic schema updating fails.
removeUserSourceProfileType
void removeUserSourceProfileType (String typeId)
Remove a UserSourceProfileType with the given type ID.
Parameters:
typeId
- The typeId associated with the UserSourceProfileType to remove.
Throws:
IllegalArgumentException
- if the typeId to remove is associated with a built-in UserSourceProfileType or a
type which does not exist
registerUserProperties
Register new properties that will be available to add to User objects.
getRegisteredUserProperties
Retrieve all of the properties registered for user objects.
findUserProperty
Look up a registered property by key name
notifyUserAltered
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).
getAllRoles
Returns all roles across the various user profiles. Will return an empty set if no roles are defined.