public class UserProfileServiceImpl extends DefaultComponent implements UserProfileService
UserProfileService.UserProfileService| Constructor and Description |
|---|
UserProfileServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
applicationStarted(ComponentContext context)
Notify the component that Nuxeo Framework finished starting all Nuxeo bundles.
|
void |
clearCache()
Clears the user profile cache.
|
ImporterConfig |
getImporterConfig()
Get the user profile XMap descriptor for the importer config
|
DocumentModel |
getUserProfile(DocumentModel userModel,
CoreSession session)
Get a DocumentModel containing both user and user profile schemas
|
DocumentModel |
getUserProfileDocument(CoreSession session)
Get the current user profile.
|
DocumentModel |
getUserProfileDocument(String userName,
CoreSession session)
Get the profile of a specific user.
|
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, unregisterExtensionpublic static final String CONFIG_EP
public DocumentModel getUserProfileDocument(CoreSession session) throws ClientException
UserProfileServicegetUserProfileDocument in interface UserProfileServiceClientExceptionpublic DocumentModel getUserProfileDocument(String userName, CoreSession session) throws ClientException
UserProfileServicegetUserProfileDocument in interface UserProfileServiceClientExceptionpublic DocumentModel getUserProfile(DocumentModel userModel, CoreSession session) throws ClientException
UserProfileServicegetUserProfile in interface UserProfileServiceClientExceptionpublic void clearCache()
UserProfileServiceclearCache in interface UserProfileServicepublic ImporterConfig getImporterConfig()
UserProfileServicegetImporterConfig in interface UserProfileServicepublic void applicationStarted(ComponentContext context)
ComponentapplicationStarted in interface ComponentapplicationStarted in class DefaultComponentpublic void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution in class DefaultComponentpublic void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution in class DefaultComponentCopyright © 2015 Nuxeo SA. All rights reserved.