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,
java.lang.Integer[] alertDefinitionIds)
|
int |
createAlertDefinition(Subject subject,
AlertDefinition alertDefinition,
java.lang.Integer resourceId)
|
int |
disableAlertDefinitions(Subject subject,
java.lang.Integer[] alertDefinitionIds)
|
int |
enableAlertDefinitions(Subject subject,
java.lang.Integer[] alertDefinitionIds)
|
java.util.List<IntegerOptionItem> |
findAlertDefinitionOptionItemsForGroup(Subject subject,
int groupId)
|
java.util.List<IntegerOptionItem> |
findAlertDefinitionOptionItemsForResource(Subject subject,
int resourceId)
|
PageList<AlertDefinition> |
findAlertDefinitions(Subject subject,
int resourceId,
PageControl pageControl)
|
PageList<AlertDefinition> |
findAlertDefinitionsByCriteria(Subject subject,
AlertDefinitionCriteria criteria)
|
java.util.List<AlertDefinition> |
findAllRecoveryDefinitionsById(Subject subject,
java.lang.Integer alertDefinitionId)
|
AlertDefinition |
getAlertDefinition(Subject subject,
int alertDefinitionId)
|
AlertDefinition |
getAlertDefinitionById(Subject subject,
int alertDefinitionId)
|
boolean |
isEnabled(java.lang.Integer definitionId)
|
boolean |
isGroupAlertDefinition(java.lang.Integer definitionId)
|
boolean |
isTemplate(java.lang.Integer definitionId)
|
int |
purgeUnusedAlertDefinition()
|
int |
removeAlertDefinitions(Subject subject,
java.lang.Integer[] 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
java.util.List<IntegerOptionItem> findAlertDefinitionOptionItemsForResource(Subject subject,
int resourceId)
findAlertDefinitionOptionItemsForGroup
java.util.List<IntegerOptionItem> findAlertDefinitionOptionItemsForGroup(Subject subject,
int groupId)
createAlertDefinition
int createAlertDefinition(Subject subject,
AlertDefinition alertDefinition,
java.lang.Integer resourceId)
throws InvalidAlertDefinitionException
- Throws:
InvalidAlertDefinitionException
removeAlertDefinitions
int removeAlertDefinitions(Subject subject,
java.lang.Integer[] alertDefinitionIds)
enableAlertDefinitions
int enableAlertDefinitions(Subject subject,
java.lang.Integer[] alertDefinitionIds)
isEnabled
boolean isEnabled(java.lang.Integer definitionId)
isTemplate
boolean isTemplate(java.lang.Integer definitionId)
isGroupAlertDefinition
boolean isGroupAlertDefinition(java.lang.Integer definitionId)
disableAlertDefinitions
int disableAlertDefinitions(Subject subject,
java.lang.Integer[] alertDefinitionIds)
findAllRecoveryDefinitionsById
java.util.List<AlertDefinition> findAllRecoveryDefinitionsById(Subject subject,
java.lang.Integer alertDefinitionId)
copyAlertDefinitions
void copyAlertDefinitions(Subject subject,
java.lang.Integer[] alertDefinitionIds)
updateAlertDefinition
AlertDefinition updateAlertDefinition(Subject subject,
int alertDefinitionId,
AlertDefinition alertDefinition,
boolean updateInternals)
throws InvalidAlertDefinitionException,
AlertDefinitionUpdateException
- Throws:
InvalidAlertDefinitionException
AlertDefinitionUpdateException
purgeUnusedAlertDefinition
int purgeUnusedAlertDefinition()
getAlertDefinition
AlertDefinition getAlertDefinition(Subject subject,
int alertDefinitionId)
findAlertDefinitionsByCriteria
PageList<AlertDefinition> findAlertDefinitionsByCriteria(Subject subject,
AlertDefinitionCriteria criteria)
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.