public class AlertTemplateManagerBean extends Object implements AlertTemplateManagerLocal
| Constructor and Description |
|---|
AlertTemplateManagerBean() |
| Modifier and Type | Method and Description |
|---|---|
int |
createAlertTemplate(org.rhq.core.domain.auth.Subject user,
org.rhq.core.domain.alert.AlertDefinition alertTemplate,
Integer resourceTypeId) |
void |
disableAlertTemplates(org.rhq.core.domain.auth.Subject subject,
Integer[] alertTemplateIds)
This can update a lot of resource-level alert definitions.
|
void |
enableAlertTemplates(org.rhq.core.domain.auth.Subject subject,
Integer[] alertTemplateIds)
This can update a lot of resource-level alert definitions.
|
org.rhq.core.domain.util.PageList<org.rhq.core.domain.alert.AlertDefinition> |
getAlertTemplates(org.rhq.core.domain.auth.Subject user,
int resourceTypeId,
org.rhq.core.domain.util.PageControl pageControl) |
void |
removeAlertTemplates(org.rhq.core.domain.auth.Subject user,
Integer[] alertTemplateIds)
This can update a lot of resource-level alert definitions.
|
void |
updateAlertDefinitionsForResource(org.rhq.core.domain.auth.Subject user,
Integer resourceId) |
org.rhq.core.domain.alert.AlertDefinition |
updateAlertTemplate(org.rhq.core.domain.auth.Subject user,
org.rhq.core.domain.alert.AlertDefinition alertTemplate,
boolean resetMatching) |
public org.rhq.core.domain.util.PageList<org.rhq.core.domain.alert.AlertDefinition> getAlertTemplates(org.rhq.core.domain.auth.Subject user,
int resourceTypeId,
org.rhq.core.domain.util.PageControl pageControl)
getAlertTemplates in interface AlertTemplateManagerLocalpublic int createAlertTemplate(org.rhq.core.domain.auth.Subject user,
org.rhq.core.domain.alert.AlertDefinition alertTemplate,
Integer resourceTypeId)
throws InvalidAlertDefinitionException,
ResourceTypeNotFoundException,
AlertDefinitionCreationException
createAlertTemplate in interface AlertTemplateManagerLocalInvalidAlertDefinitionExceptionResourceTypeNotFoundExceptionAlertDefinitionCreationExceptionpublic void updateAlertDefinitionsForResource(org.rhq.core.domain.auth.Subject user,
Integer resourceId)
throws AlertDefinitionCreationException,
InvalidAlertDefinitionException
updateAlertDefinitionsForResource in interface AlertTemplateManagerLocalAlertDefinitionCreationExceptionInvalidAlertDefinitionExceptionpublic void removeAlertTemplates(org.rhq.core.domain.auth.Subject user,
Integer[] alertTemplateIds)
AlertTemplateManagerLocalRequires MANAGE_SETTINGS
removeAlertTemplates in interface AlertTemplateManagerLocalpublic void enableAlertTemplates(org.rhq.core.domain.auth.Subject subject,
Integer[] alertTemplateIds)
AlertTemplateManagerLocalRequires MANAGE_SETTINGS
enableAlertTemplates in interface AlertTemplateManagerLocalpublic void disableAlertTemplates(org.rhq.core.domain.auth.Subject subject,
Integer[] alertTemplateIds)
AlertTemplateManagerLocalRequires MANAGE_SETTINGS
disableAlertTemplates in interface AlertTemplateManagerLocalpublic org.rhq.core.domain.alert.AlertDefinition updateAlertTemplate(org.rhq.core.domain.auth.Subject user,
org.rhq.core.domain.alert.AlertDefinition alertTemplate,
boolean resetMatching)
throws InvalidAlertDefinitionException,
AlertDefinitionUpdateException,
AlertNotificationValidationException
updateAlertTemplate in interface AlertTemplateManagerLocalInvalidAlertDefinitionExceptionAlertDefinitionUpdateExceptionAlertNotificationValidationExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.