org.rhq.enterprise.server.alert
Interface AlertDefinitionManagerLocal
- All Known Implementing Classes:
- AlertDefinitionManagerBean
public interface AlertDefinitionManagerLocal
all methods that aren't getters appropriately update the contents of the AlertConditionCache
- Author:
- Joseph Marques
|
Method Summary |
void |
copyAlertDefinitions(Subject subject,
Integer[] alertDefinitionIds)
|
int |
createAlertDefinition(Subject subject,
AlertDefinition alertDefinition,
Integer resourceId)
|
int |
disableAlertDefinitions(Subject subject,
int[] alertDefinitionIds)
|
int |
enableAlertDefinitions(Subject subject,
int[] alertDefinitionIds)
|
List<IntegerOptionItem> |
findAlertDefinitionOptionItemsForGroup(Subject subject,
int groupId)
|
List<IntegerOptionItem> |
findAlertDefinitionOptionItemsForResource(Subject subject,
int resourceId)
|
PageList<AlertDefinition> |
findAlertDefinitions(Subject subject,
int resourceId,
PageControl pageControl)
|
PageList<AlertDefinition> |
findAlertDefinitionsByCriteria(Subject subject,
AlertDefinitionCriteria criteria)
|
List<AlertDefinition> |
findAllRecoveryDefinitionsById(Subject subject,
Integer alertDefinitionId)
|
AlertDefinition |
getAlertDefinition(Subject subject,
int alertDefinitionId)
|
AlertDefinition |
getAlertDefinitionById(Subject subject,
int alertDefinitionId)
|
String[] |
getAlertNotificationConfigurationPreview(Subject sessionSubject,
AlertNotification[] notifications)
|
boolean |
isEnabled(Integer definitionId)
|
boolean |
isGroupAlertDefinition(Integer definitionId)
|
boolean |
isResourceAlertDefinition(Integer definitionId)
|
boolean |
isTemplate(Integer definitionId)
|
void |
purgeInternals(int alertDefinitionId)
|
int |
purgeUnusedAlertDefinitions()
|
int |
removeAlertDefinitions(Subject subject,
int[] alertDefinitionIds)
|
AlertDefinition |
updateAlertDefinition(Subject subject,
int alertDefinitionId,
AlertDefinition alertDefinition,
boolean updateInternals)
|
findAlertDefinitions
PageList<AlertDefinition> findAlertDefinitions(Subject subject,
int resourceId,
PageControl pageControl)
getAlertDefinitionById
AlertDefinition getAlertDefinitionById(Subject subject,
int alertDefinitionId)
findAlertDefinitionOptionItemsForResource
List<IntegerOptionItem> findAlertDefinitionOptionItemsForResource(Subject subject,
int resourceId)
findAlertDefinitionOptionItemsForGroup
List<IntegerOptionItem> findAlertDefinitionOptionItemsForGroup(Subject subject,
int groupId)
createAlertDefinition
int createAlertDefinition(Subject subject,
AlertDefinition alertDefinition,
Integer resourceId)
throws InvalidAlertDefinitionException
- Throws:
InvalidAlertDefinitionException
isEnabled
boolean isEnabled(Integer definitionId)
isTemplate
boolean isTemplate(Integer definitionId)
isGroupAlertDefinition
boolean isGroupAlertDefinition(Integer definitionId)
isResourceAlertDefinition
boolean isResourceAlertDefinition(Integer definitionId)
findAllRecoveryDefinitionsById
List<AlertDefinition> findAllRecoveryDefinitionsById(Subject subject,
Integer alertDefinitionId)
copyAlertDefinitions
void copyAlertDefinitions(Subject subject,
Integer[] alertDefinitionIds)
updateAlertDefinition
AlertDefinition updateAlertDefinition(Subject subject,
int alertDefinitionId,
AlertDefinition alertDefinition,
boolean updateInternals)
throws InvalidAlertDefinitionException,
AlertDefinitionUpdateException
- Throws:
InvalidAlertDefinitionException
AlertDefinitionUpdateException
purgeUnusedAlertDefinitions
int purgeUnusedAlertDefinitions()
purgeInternals
void purgeInternals(int alertDefinitionId)
getAlertDefinition
AlertDefinition getAlertDefinition(Subject subject,
int alertDefinitionId)
findAlertDefinitionsByCriteria
PageList<AlertDefinition> findAlertDefinitionsByCriteria(Subject subject,
AlertDefinitionCriteria criteria)
enableAlertDefinitions
int enableAlertDefinitions(Subject subject,
int[] alertDefinitionIds)
disableAlertDefinitions
int disableAlertDefinitions(Subject subject,
int[] alertDefinitionIds)
removeAlertDefinitions
int removeAlertDefinitions(Subject subject,
int[] alertDefinitionIds)
getAlertNotificationConfigurationPreview
String[] getAlertNotificationConfigurationPreview(Subject sessionSubject,
AlertNotification[] notifications)
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.