org.rhq.enterprise.server.alert
Interface GroupAlertDefinitionManagerLocal

All Known Implementing Classes:
GroupAlertDefinitionManagerBean

public interface GroupAlertDefinitionManagerLocal

Author:
Joseph Marques

Method Summary
 void addGroupAlertDefinitions(Subject subject, int groupId, int[] resourcesIdsToAdd)
           
 int createGroupAlertDefinitions(Subject subject, AlertDefinition alertDefinition, java.lang.Integer resourceGroupId)
           
 int disableGroupAlertDefinitions(Subject subject, java.lang.Integer[] groupAlertDefinitionIds)
           
 int enableGroupAlertDefinitions(Subject subject, java.lang.Integer[] groupAlertDefinitionIds)
           
 PageList<AlertDefinition> findGroupAlertDefinitions(Subject subject, int resourceGroupId, PageControl pageControl)
           
 void purgeAllGroupAlertDefinitions(Subject subject, int groupId)
           
 int removeGroupAlertDefinitions(Subject subject, java.lang.Integer[] groupAlertDefinitionIds)
           
 void removeGroupAlertDefinitions(Subject subject, int groupId, int[] resourceIdsToRemove)
           
 void updateAlertDefinitionsForResource(Subject subject, AlertDefinition alertTemplate, java.lang.Integer resourceGroupId)
           
 AlertDefinition updateGroupAlertDefinitions(Subject subject, AlertDefinition groupAlertDefinition, boolean purgeInternals)
           
 

Method Detail

findGroupAlertDefinitions

PageList<AlertDefinition> findGroupAlertDefinitions(Subject subject,
                                                    int resourceGroupId,
                                                    PageControl pageControl)

createGroupAlertDefinitions

int createGroupAlertDefinitions(Subject subject,
                                AlertDefinition alertDefinition,
                                java.lang.Integer resourceGroupId)
                                throws InvalidAlertDefinitionException
Throws:
InvalidAlertDefinitionException

updateAlertDefinitionsForResource

void updateAlertDefinitionsForResource(Subject subject,
                                       AlertDefinition alertTemplate,
                                       java.lang.Integer resourceGroupId)
                                       throws AlertDefinitionCreationException,
                                              InvalidAlertDefinitionException
Throws:
AlertDefinitionCreationException
InvalidAlertDefinitionException

removeGroupAlertDefinitions

int removeGroupAlertDefinitions(Subject subject,
                                java.lang.Integer[] groupAlertDefinitionIds)

enableGroupAlertDefinitions

int enableGroupAlertDefinitions(Subject subject,
                                java.lang.Integer[] groupAlertDefinitionIds)

disableGroupAlertDefinitions

int disableGroupAlertDefinitions(Subject subject,
                                 java.lang.Integer[] groupAlertDefinitionIds)

updateGroupAlertDefinitions

AlertDefinition updateGroupAlertDefinitions(Subject subject,
                                            AlertDefinition groupAlertDefinition,
                                            boolean purgeInternals)
                                            throws InvalidAlertDefinitionException
Throws:
InvalidAlertDefinitionException

addGroupAlertDefinitions

void addGroupAlertDefinitions(Subject subject,
                              int groupId,
                              int[] resourcesIdsToAdd)

removeGroupAlertDefinitions

void removeGroupAlertDefinitions(Subject subject,
                                 int groupId,
                                 int[] resourceIdsToRemove)

purgeAllGroupAlertDefinitions

void purgeAllGroupAlertDefinitions(Subject subject,
                                   int groupId)


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