org.rhq.enterprise.server.perspective.activator.context
Class GlobalActivationContext
java.lang.Object
org.rhq.enterprise.server.perspective.activator.context.GlobalActivationContext
- All Implemented Interfaces:
- ActivationContext
- Direct Known Subclasses:
- AbstractResourceOrGroupActivationContext
public class GlobalActivationContext
- extends Object
- implements ActivationContext
- Author:
- Ian Springer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlobalActivationContext
public GlobalActivationContext(org.rhq.core.domain.auth.Subject subject)
getScope
public ActivationContextScope getScope()
- Specified by:
getScope in interface ActivationContext
getLicenseFeatures
@NotNull
public EnumSet<LicenseFeature> getLicenseFeatures()
getSubject
public org.rhq.core.domain.auth.Subject getSubject()
isSuperuser
public boolean isSuperuser()
hasGlobalPermission
public boolean hasGlobalPermission(org.rhq.core.domain.authz.Permission permission)
getGlobalPermissions
protected EnumSet<org.rhq.core.domain.authz.Permission> getGlobalPermissions()
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.