org.rhq.enterprise.server.resource.group.definition
Interface GroupDefinitionManagerLocal

All Known Implementing Classes:
GroupDefinitionManagerBean

public interface GroupDefinitionManagerLocal


Method Summary
 java.lang.Integer calculateGroupMembership_helper(Subject subject, int groupDefinitionId, ExpressionEvaluator.Result result)
           
 void calculateGroupMembership(Subject subject, int groupDefinitionId)
           
 GroupDefinition createGroupDefinition(Subject subject, GroupDefinition newGroupDefinition)
           
 int getAutoRecalculationGroupDefinitionCount(Subject subject)
           
 GroupDefinition getById(int groupDefinitionId)
           
 int getDynaGroupCount(Subject subject)
           
 int getGroupDefinitionCount(Subject subject)
           
 PageList<GroupDefinition> getGroupDefinitions(Subject subject, PageControl pc)
           
 PageList<ResourceGroupComposite> getManagedResourceGroups(Subject subject, int groupDefinitionId, PageControl pc)
           
 void recalculateDynaGroups(Subject subject)
           
 void removeGroupDefinition(Subject subject, java.lang.Integer groupDefinitionId)
           
 void removeManagedResource_helper(Subject subject, int groupDefinitionId, java.lang.Integer doomedGroupId)
           
 GroupDefinition updateGroupDefinition(Subject subject, GroupDefinition updated)
           
 

Method Detail

recalculateDynaGroups

void recalculateDynaGroups(Subject subject)

getById

GroupDefinition getById(int groupDefinitionId)
                        throws GroupDefinitionNotFoundException
Throws:
GroupDefinitionNotFoundException

createGroupDefinition

GroupDefinition createGroupDefinition(Subject subject,
                                      GroupDefinition newGroupDefinition)
                                      throws GroupDefinitionAlreadyExistsException,
                                             GroupDefinitionCreateException
Throws:
GroupDefinitionAlreadyExistsException
GroupDefinitionCreateException

updateGroupDefinition

GroupDefinition updateGroupDefinition(Subject subject,
                                      GroupDefinition updated)
                                      throws GroupDefinitionAlreadyExistsException,
                                             GroupDefinitionUpdateException,
                                             InvalidExpressionException,
                                             ResourceGroupUpdateException
Throws:
GroupDefinitionAlreadyExistsException
GroupDefinitionUpdateException
InvalidExpressionException
ResourceGroupUpdateException

calculateGroupMembership

void calculateGroupMembership(Subject subject,
                              int groupDefinitionId)
                              throws GroupDefinitionDeleteException,
                                     GroupDefinitionNotFoundException,
                                     InvalidExpressionException
Throws:
GroupDefinitionDeleteException
GroupDefinitionNotFoundException
InvalidExpressionException

calculateGroupMembership_helper

java.lang.Integer calculateGroupMembership_helper(Subject subject,
                                                  int groupDefinitionId,
                                                  ExpressionEvaluator.Result result)
                                                  throws GroupDefinitionNotFoundException,
                                                         GroupDefinitionNotFoundException
Throws:
GroupDefinitionNotFoundException

getManagedResourceGroups

PageList<ResourceGroupComposite> getManagedResourceGroups(Subject subject,
                                                          int groupDefinitionId,
                                                          PageControl pc)
                                                          throws GroupDefinitionException
Throws:
GroupDefinitionException

getGroupDefinitions

PageList<GroupDefinition> getGroupDefinitions(Subject subject,
                                              PageControl pc)

getGroupDefinitionCount

int getGroupDefinitionCount(Subject subject)

getAutoRecalculationGroupDefinitionCount

int getAutoRecalculationGroupDefinitionCount(Subject subject)

getDynaGroupCount

int getDynaGroupCount(Subject subject)

removeGroupDefinition

void removeGroupDefinition(Subject subject,
                           java.lang.Integer groupDefinitionId)
                           throws GroupDefinitionNotFoundException,
                                  GroupDefinitionDeleteException
Throws:
GroupDefinitionNotFoundException
GroupDefinitionDeleteException

removeManagedResource_helper

void removeManagedResource_helper(Subject subject,
                                  int groupDefinitionId,
                                  java.lang.Integer doomedGroupId)
                                  throws GroupDefinitionDeleteException,
                                         GroupDefinitionNotFoundException
Throws:
GroupDefinitionDeleteException
GroupDefinitionNotFoundException


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