public class UserProfileServiceImpl extends DefaultComponent implements UserProfileService
UserProfileService
.UserProfileService
Constructor and Description |
---|
UserProfileServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Clears the user profile cache.
|
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.
|
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerContribution, registerExtension, setLastModified, unregisterContribution, unregisterExtension
public DocumentModel getUserProfileDocument(CoreSession session) throws ClientException
UserProfileService
getUserProfileDocument
in interface UserProfileService
ClientException
public DocumentModel getUserProfileDocument(String userName, CoreSession session) throws ClientException
UserProfileService
getUserProfileDocument
in interface UserProfileService
ClientException
public DocumentModel getUserProfile(DocumentModel userModel, CoreSession session) throws ClientException
UserProfileService
getUserProfile
in interface UserProfileService
ClientException
public void clearCache()
UserProfileService
clearCache
in interface UserProfileService
Copyright © 2014 Nuxeo SA. All rights reserved.