org.rhq.enterprise.server.alert
Interface AlertTemplateManagerLocal
- All Known Implementing Classes:
- AlertTemplateManagerBean
public interface AlertTemplateManagerLocal
- Author:
- Joseph Marques
|
Method Summary |
int |
createAlertTemplate(Subject user,
AlertDefinition alertDefinition,
Integer resourceTypeId)
|
void |
disableAlertTemplates(Subject user,
Integer[] alertTemplateIds)
|
void |
enableAlertTemplates(Subject user,
Integer[] alertTemplateIds)
|
PageList<AlertDefinition> |
getAlertTemplates(Subject user,
int resourceTypeId,
PageControl pageControl)
|
void |
removeAlertTemplates(Subject user,
Integer[] alertTemplateIds)
|
void |
updateAlertDefinitionsForResource(Subject user,
Integer resourceId)
|
AlertDefinition |
updateAlertTemplate(Subject user,
AlertDefinition alertDefinition,
boolean purgeInternals)
|
getAlertTemplates
PageList<AlertDefinition> getAlertTemplates(Subject user,
int resourceTypeId,
PageControl pageControl)
createAlertTemplate
int createAlertTemplate(Subject user,
AlertDefinition alertDefinition,
Integer resourceTypeId)
throws InvalidAlertDefinitionException,
ResourceTypeNotFoundException,
AlertDefinitionCreationException
- Throws:
InvalidAlertDefinitionException
ResourceTypeNotFoundException
AlertDefinitionCreationException
updateAlertDefinitionsForResource
void updateAlertDefinitionsForResource(Subject user,
Integer resourceId)
throws AlertDefinitionCreationException,
InvalidAlertDefinitionException
- Throws:
AlertDefinitionCreationException
InvalidAlertDefinitionException
removeAlertTemplates
void removeAlertTemplates(Subject user,
Integer[] alertTemplateIds)
enableAlertTemplates
void enableAlertTemplates(Subject user,
Integer[] alertTemplateIds)
disableAlertTemplates
void disableAlertTemplates(Subject user,
Integer[] alertTemplateIds)
updateAlertTemplate
AlertDefinition updateAlertTemplate(Subject user,
AlertDefinition alertDefinition,
boolean purgeInternals)
throws InvalidAlertDefinitionException,
AlertDefinitionUpdateException
- Throws:
InvalidAlertDefinitionException
AlertDefinitionUpdateException
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.