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

All Known Implementing Classes:
GroupDefinitionManagerBean

public interface GroupDefinitionManagerLocal


Method Summary
 Integer calculateGroupMembership_helper(Subject subject, int groupDefinitionId, ExpressionEvaluator.Result result)
           
 void calculateGroupMembership(Subject subject, int groupDefinitionId)
           
 GroupDefinition createGroupDefinition(Subject subject, GroupDefinition newGroupDefinition)
           
 PageList<GroupDefinition> findGroupDefinitionsByCriteria(Subject subject, ResourceGroupDefinitionCriteria criteria)
           
 int getAutoRecalculationGroupDefinitionCount(Subject subject)
           
 GroupDefinition getById(int groupDefinitionId)
           
 int getDynaGroupCount(Subject subject)
           
 int getGroupDefinitionCount(Subject subject)
           
 PageList<GroupDefinition> getGroupDefinitions(Subject subject, PageControl pc)
           
 void recalculateDynaGroups(Subject subject)
           
 void removeGroupDefinition(Subject subject, Integer groupDefinitionId)
           
 void removeManagedResource_helper(Subject subject, int groupDefinitionId, 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 ResourceGroupDeleteException,
                                     GroupDefinitionDeleteException,
                                     GroupDefinitionNotFoundException,
                                     InvalidExpressionException
Throws:
ResourceGroupDeleteException
GroupDefinitionDeleteException
GroupDefinitionNotFoundException
InvalidExpressionException

calculateGroupMembership_helper

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

getGroupDefinitions

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

findGroupDefinitionsByCriteria

PageList<GroupDefinition> findGroupDefinitionsByCriteria(Subject subject,
                                                         ResourceGroupDefinitionCriteria criteria)

getGroupDefinitionCount

int getGroupDefinitionCount(Subject subject)

getAutoRecalculationGroupDefinitionCount

int getAutoRecalculationGroupDefinitionCount(Subject subject)

getDynaGroupCount

int getDynaGroupCount(Subject subject)

removeGroupDefinition

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

removeManagedResource_helper

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


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