org.rhq.enterprise.server.alert
Interface AlertTemplateManagerLocal

All Known Implementing Classes:
AlertTemplateManagerBean

public interface AlertTemplateManagerLocal

Author:
Joseph Marques

Method Summary
 int createAlertTemplate(org.rhq.core.domain.auth.Subject user, org.rhq.core.domain.alert.AlertDefinition alertDefinition, Integer resourceTypeId)
           
 void disableAlertTemplates(org.rhq.core.domain.auth.Subject user, Integer[] alertTemplateIds)
           
 void enableAlertTemplates(org.rhq.core.domain.auth.Subject user, Integer[] alertTemplateIds)
           
 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)
           
 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 alertDefinition, boolean purgeInternals)
           
 

Method Detail

getAlertTemplates

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)

createAlertTemplate

int createAlertTemplate(org.rhq.core.domain.auth.Subject user,
                        org.rhq.core.domain.alert.AlertDefinition alertDefinition,
                        Integer resourceTypeId)
                        throws InvalidAlertDefinitionException,
                               ResourceTypeNotFoundException,
                               AlertDefinitionCreationException
Throws:
InvalidAlertDefinitionException
ResourceTypeNotFoundException
AlertDefinitionCreationException

updateAlertDefinitionsForResource

void updateAlertDefinitionsForResource(org.rhq.core.domain.auth.Subject user,
                                       Integer resourceId)
                                       throws AlertDefinitionCreationException,
                                              InvalidAlertDefinitionException
Throws:
AlertDefinitionCreationException
InvalidAlertDefinitionException

removeAlertTemplates

void removeAlertTemplates(org.rhq.core.domain.auth.Subject user,
                          Integer[] alertTemplateIds)

enableAlertTemplates

void enableAlertTemplates(org.rhq.core.domain.auth.Subject user,
                          Integer[] alertTemplateIds)

disableAlertTemplates

void disableAlertTemplates(org.rhq.core.domain.auth.Subject user,
                           Integer[] alertTemplateIds)

updateAlertTemplate

org.rhq.core.domain.alert.AlertDefinition updateAlertTemplate(org.rhq.core.domain.auth.Subject user,
                                                              org.rhq.core.domain.alert.AlertDefinition alertDefinition,
                                                              boolean purgeInternals)
                                                              throws InvalidAlertDefinitionException,
                                                                     AlertDefinitionUpdateException
Throws:
InvalidAlertDefinitionException
AlertDefinitionUpdateException


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.