org.rhq.enterprise.server.alert
Class GroupAlertDefinitionManagerBean
java.lang.Object
org.rhq.enterprise.server.alert.GroupAlertDefinitionManagerBean
- All Implemented Interfaces:
- GroupAlertDefinitionManagerLocal
public class GroupAlertDefinitionManagerBean
- extends Object
- implements GroupAlertDefinitionManagerLocal
- Author:
- Joseph Marques
|
Method Summary |
void |
addGroupAlertDefinitions(Subject subject,
int resourceGroupId,
int[] resourcesIdsToAdd)
|
int |
createGroupAlertDefinitions(Subject subject,
AlertDefinition groupAlertDefinition,
Integer resourceGroupId)
|
int |
disableGroupAlertDefinitions(Subject subject,
Integer[] groupAlertDefinitionIds)
|
int |
enableGroupAlertDefinitions(Subject subject,
Integer[] groupAlertDefinitionIds)
|
PageList<AlertDefinition> |
findGroupAlertDefinitions(Subject subject,
int resourceGroupId,
PageControl pageControl)
|
void |
purgeAllGroupAlertDefinitions(Subject subject,
int resourceGroupId)
|
int |
removeGroupAlertDefinitions(Subject subject,
Integer[] groupAlertDefinitionIds)
|
void |
removeGroupAlertDefinitions(Subject subject,
int resourceGroupId,
int[] resourceIdsToRemove)
|
AlertDefinition |
updateGroupAlertDefinitions(Subject subject,
AlertDefinition groupAlertDefinition,
boolean purgeInternals)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupAlertDefinitionManagerBean
public GroupAlertDefinitionManagerBean()
findGroupAlertDefinitions
public PageList<AlertDefinition> findGroupAlertDefinitions(Subject subject,
int resourceGroupId,
PageControl pageControl)
- Specified by:
findGroupAlertDefinitions in interface GroupAlertDefinitionManagerLocal
removeGroupAlertDefinitions
public int removeGroupAlertDefinitions(Subject subject,
Integer[] groupAlertDefinitionIds)
- Specified by:
removeGroupAlertDefinitions in interface GroupAlertDefinitionManagerLocal
createGroupAlertDefinitions
public int createGroupAlertDefinitions(Subject subject,
AlertDefinition groupAlertDefinition,
Integer resourceGroupId)
throws InvalidAlertDefinitionException,
AlertDefinitionCreationException
- Specified by:
createGroupAlertDefinitions in interface GroupAlertDefinitionManagerLocal
- Throws:
InvalidAlertDefinitionException
AlertDefinitionCreationException
disableGroupAlertDefinitions
public int disableGroupAlertDefinitions(Subject subject,
Integer[] groupAlertDefinitionIds)
- Specified by:
disableGroupAlertDefinitions in interface GroupAlertDefinitionManagerLocal
enableGroupAlertDefinitions
public int enableGroupAlertDefinitions(Subject subject,
Integer[] groupAlertDefinitionIds)
- Specified by:
enableGroupAlertDefinitions in interface GroupAlertDefinitionManagerLocal
updateGroupAlertDefinitions
public AlertDefinition updateGroupAlertDefinitions(Subject subject,
AlertDefinition groupAlertDefinition,
boolean purgeInternals)
throws InvalidAlertDefinitionException,
AlertDefinitionUpdateException
- Specified by:
updateGroupAlertDefinitions in interface GroupAlertDefinitionManagerLocal
- Throws:
InvalidAlertDefinitionException
AlertDefinitionUpdateException
addGroupAlertDefinitions
public void addGroupAlertDefinitions(Subject subject,
int resourceGroupId,
int[] resourcesIdsToAdd)
throws AlertDefinitionCreationException
- Specified by:
addGroupAlertDefinitions in interface GroupAlertDefinitionManagerLocal
- Throws:
AlertDefinitionCreationException
purgeAllGroupAlertDefinitions
public void purgeAllGroupAlertDefinitions(Subject subject,
int resourceGroupId)
- Specified by:
purgeAllGroupAlertDefinitions in interface GroupAlertDefinitionManagerLocal
removeGroupAlertDefinitions
public void removeGroupAlertDefinitions(Subject subject,
int resourceGroupId,
int[] resourceIdsToRemove)
- Specified by:
removeGroupAlertDefinitions in interface GroupAlertDefinitionManagerLocal
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.