Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.context
Class UserServicesContext

java.lang.Object
  extended by 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

Constructor Summary
UserServicesContext()
           
 
Method Summary
 Boolean getDashboardEnabled()
           
 Boolean getSearchEnabled()
           
 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 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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.