org.rhq.enterprise.server.perspective.activator.context
Class AbstractResourceOrGroupActivationContext
java.lang.Object
org.rhq.enterprise.server.perspective.activator.context.GlobalActivationContext
org.rhq.enterprise.server.perspective.activator.context.AbstractResourceOrGroupActivationContext
- All Implemented Interfaces:
- ActivationContext
- Direct Known Subclasses:
- GroupActivationContext, ResourceActivationContext
public abstract class AbstractResourceOrGroupActivationContext
- extends GlobalActivationContext
- Author:
- Ian Springer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractResourceOrGroupActivationContext
protected AbstractResourceOrGroupActivationContext(org.rhq.core.domain.auth.Subject subject)
getScope
public ActivationContextScope getScope()
- Specified by:
getScope in interface ActivationContext- Overrides:
getScope in class GlobalActivationContext
getResourceType
public abstract org.rhq.core.domain.resource.ResourceType getResourceType()
getFacets
public abstract EnumSet<org.rhq.core.domain.resource.ResourceTypeFacet> getFacets()
getResources
public abstract Set<org.rhq.core.domain.resource.Resource> getResources()
getResourcePermissions
protected abstract EnumSet<org.rhq.core.domain.authz.Permission> getResourcePermissions()
hasResourcePermission
public boolean hasResourcePermission(org.rhq.core.domain.authz.Permission permission)
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.