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

java.lang.Object
  extended by org.rhq.enterprise.server.perspective.activator.context.GlobalActivationContext
      extended by org.rhq.enterprise.server.perspective.activator.context.AbstractResourceOrGroupActivationContext
          extended by org.rhq.enterprise.server.perspective.activator.context.GroupActivationContext
All Implemented Interfaces:
ActivationContext

public class GroupActivationContext
extends AbstractResourceOrGroupActivationContext

Author:
Ian Springer

Constructor Summary
GroupActivationContext(org.rhq.core.domain.auth.Subject subject, org.rhq.core.domain.resource.group.ResourceGroup group)
           
 
Method Summary
 EnumSet<org.rhq.core.domain.resource.ResourceTypeFacet> getFacets()
           
 org.rhq.core.domain.resource.group.ResourceGroup getGroup()
           
 EnumSet<org.rhq.core.domain.authz.Permission> getResourcePermissions()
           
 Set<org.rhq.core.domain.resource.Resource> getResources()
           
 org.rhq.core.domain.resource.ResourceType getResourceType()
           
 
Methods inherited from class org.rhq.enterprise.server.perspective.activator.context.AbstractResourceOrGroupActivationContext
getScope, hasResourcePermission
 
Methods inherited from class org.rhq.enterprise.server.perspective.activator.context.GlobalActivationContext
getGlobalPermissions, getLicenseFeatures, getSubject, hasGlobalPermission, isSuperuser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupActivationContext

public GroupActivationContext(org.rhq.core.domain.auth.Subject subject,
                              org.rhq.core.domain.resource.group.ResourceGroup group)
Method Detail

getResourceType

public org.rhq.core.domain.resource.ResourceType getResourceType()
Specified by:
getResourceType in class AbstractResourceOrGroupActivationContext

getFacets

public EnumSet<org.rhq.core.domain.resource.ResourceTypeFacet> getFacets()
Specified by:
getFacets in class AbstractResourceOrGroupActivationContext

getResourcePermissions

public EnumSet<org.rhq.core.domain.authz.Permission> getResourcePermissions()
Specified by:
getResourcePermissions in class AbstractResourceOrGroupActivationContext

getResources

public Set<org.rhq.core.domain.resource.Resource> getResources()
Specified by:
getResources in class AbstractResourceOrGroupActivationContext

getGroup

public org.rhq.core.domain.resource.group.ResourceGroup getGroup()


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