org.rhq.enterprise.server.resource.group
Interface ResourceGroupManagerRemote

All Known Subinterfaces:
WebservicesRemote

public interface ResourceGroupManagerRemote


Method Summary
 void addResourcesToGroup(Subject subject, int groupId, int[] resourceIds)
           
 ResourceGroup createResourceGroup(Subject subject, ResourceGroup resourceGroup)
           
 void deleteResourceGroup(Subject subject, int groupId)
           
 void deleteResourceGroups(Subject subject, int[] groupIds)
           
 PageList<ResourceGroup> findResourceGroupsByCriteria(Subject subject, ResourceGroupCriteria criteria)
           
 PageList<ResourceGroup> findResourceGroupsForRole(Subject subject, int roleId, PageControl pc)
           
 ResourceGroup getResourceGroup(Subject subject, int groupId)
           
 ResourceGroupComposite getResourceGroupComposite(Subject subject, int groupId)
           
 void removeResourcesFromGroup(Subject subject, int groupId, int[] resourceIds)
           
 void setRecursive(Subject subject, int groupId, boolean isRecursive)
           
 ResourceGroup updateResourceGroup(Subject subject, ResourceGroup newResourceGroup)
           
 

Method Detail

addResourcesToGroup

void addResourcesToGroup(Subject subject,
                         int groupId,
                         int[] resourceIds)

createResourceGroup

ResourceGroup createResourceGroup(Subject subject,
                                  ResourceGroup resourceGroup)

deleteResourceGroup

void deleteResourceGroup(Subject subject,
                         int groupId)
                         throws org.rhq.enterprise.server.resource.group.ResourceGroupNotFoundException,
                                org.rhq.enterprise.server.resource.group.ResourceGroupDeleteException
Throws:
org.rhq.enterprise.server.resource.group.ResourceGroupNotFoundException
org.rhq.enterprise.server.resource.group.ResourceGroupDeleteException

deleteResourceGroups

void deleteResourceGroups(Subject subject,
                          int[] groupIds)
                          throws org.rhq.enterprise.server.resource.group.ResourceGroupNotFoundException,
                                 org.rhq.enterprise.server.resource.group.ResourceGroupDeleteException
Throws:
org.rhq.enterprise.server.resource.group.ResourceGroupNotFoundException
org.rhq.enterprise.server.resource.group.ResourceGroupDeleteException

getResourceGroup

ResourceGroup getResourceGroup(Subject subject,
                               int groupId)

getResourceGroupComposite

ResourceGroupComposite getResourceGroupComposite(Subject subject,
                                                 int groupId)

findResourceGroupsForRole

PageList<ResourceGroup> findResourceGroupsForRole(Subject subject,
                                                  int roleId,
                                                  PageControl pc)

removeResourcesFromGroup

void removeResourcesFromGroup(Subject subject,
                              int groupId,
                              int[] resourceIds)

setRecursive

void setRecursive(Subject subject,
                  int groupId,
                  boolean isRecursive)

updateResourceGroup

ResourceGroup updateResourceGroup(Subject subject,
                                  ResourceGroup newResourceGroup)

findResourceGroupsByCriteria

PageList<ResourceGroup> findResourceGroupsByCriteria(Subject subject,
                                                     ResourceGroupCriteria criteria)


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