Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webapp.context
Class UserServicesContext

java.lang.Object
  extended by org.nuxeo.ecm.webapp.context.UserServicesContext
All Implemented Interfaces:
java.io.Serializable

@Name(value="userServicesContext")
@Scope(value=SESSION)
@Startup
public class UserServicesContext
extends java.lang.Object
implements java.io.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

Constructor Summary
UserServicesContext()
           
 
Method Summary
 java.lang.Boolean getDashboardEnabled()
           
 java.lang.Boolean getSearchEnabled()
           
 java.lang.Boolean getUserManagerEnabled()
           
 boolean getVocabulariesEnabled()
          Checks if an user has the right to see the vocabularies management link.
 void invalidate()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserServicesContext

public UserServicesContext()
Method Detail

invalidate

@Observer(value="locationSelectionChanged",
          create=false)
@BypassInterceptors
public void invalidate()

getSearchEnabled

public java.lang.Boolean getSearchEnabled()

getDashboardEnabled

public java.lang.Boolean getDashboardEnabled()

getUserManagerEnabled

public java.lang.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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.