public class UserPreferencesValuesGenerator extends AbstractCurrentUserProviderServiceableGenerator
Modifier and Type | Field and Description |
---|---|
protected UserPreferencesExtensionPoint |
_userPrefEP
The user preferences extension point.
|
protected UserPreferencesManager |
_userPrefManager
The user preferences manager.
|
_currentUserProvider
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
UserPreferencesValuesGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
generate() |
protected Map<String,String> |
getContextVars(Request request)
Get the preferences context.
|
protected UserIdentity |
getUser()
Get the user in the user manager.
|
void |
service(ServiceManager serviceManager) |
_getCurrentUser
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
protected UserPreferencesManager _userPrefManager
protected UserPreferencesExtensionPoint _userPrefEP
public UserPreferencesValuesGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class AbstractCurrentUserProviderServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
protected UserIdentity getUser()
protected Map<String,String> getContextVars(Request request)
request
- the request.