org.nuxeo.ecm.webapp.context
Class UserServicesContext
java.lang.Object
org.nuxeo.ecm.webapp.context.UserServicesContext
- All Implemented Interfaces:
- Serializable
@Name(value="userServicesContext")
@Scope(value=SESSION)
@Startup
public class UserServicesContext
- extends Object
- implements Serializable
This should not refer other beans that may require heavy initialization. This
component is initialized and used earlier than some resources become
available.
- Author:
- DM
- See Also:
- Serialized Form
UserServicesContext
public UserServicesContext()
invalidate
@Observer(value="locationSelectionChanged",
create=false)
@BypassInterceptors
public void invalidate()
getSearchEnabled
public Boolean getSearchEnabled()
getDashboardEnabled
public Boolean getDashboardEnabled()
getUserManagerEnabled
public Boolean getUserManagerEnabled()
getVocabulariesEnabled
public boolean getVocabulariesEnabled()
- Checks if an user has the right to see the vocabularies
management link.
- Returns:
- - true if the user has this right
- false otherwise
Copyright © 2011 Nuxeo SAS. All Rights Reserved.