org.rhq.enterprise.server.perspective.activator.context
Class GlobalActivationContext

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

Constructor Summary
GlobalActivationContext(Subject subject)
           
 
Method Summary
protected  EnumSet<Permission> getGlobalPermissions()
           
 EnumSet<LicenseFeature> getLicenseFeatures()
           
 ActivationContextScope getScope()
           
 Subject getSubject()
           
 boolean hasGlobalPermission(Permission permission)
           
 boolean isSuperuser()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalActivationContext

public GlobalActivationContext(Subject subject)
Method Detail

getScope

public ActivationContextScope getScope()
Specified by:
getScope in interface ActivationContext

getLicenseFeatures

@NotNull
public EnumSet<LicenseFeature> getLicenseFeatures()

getSubject

public Subject getSubject()

isSuperuser

public boolean isSuperuser()

hasGlobalPermission

public boolean hasGlobalPermission(Permission permission)

getGlobalPermissions

protected EnumSet<Permission> getGlobalPermissions()


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.