org.rhq.enterprise.server.alert
Class AlertConditionLogManagerBean

java.lang.Object
  extended by org.rhq.enterprise.server.alert.AlertConditionLogManagerBean
All Implemented Interfaces:
AlertConditionLogManagerLocal

public class AlertConditionLogManagerBean
extends Object
implements AlertConditionLogManagerLocal

Author:
Joseph Marques

Constructor Summary
AlertConditionLogManagerBean()
           
 
Method Summary
 void checkForCompletedAlertConditionSet(int alertConditionId)
           
 int getConditionCount(int alertDefinitionId)
          Used for internal processing, exposed here so the tiniest amount of data can be gotten in a new transaction
 org.rhq.core.domain.alert.BooleanExpression getConditionExpression(int alertDefinitionId)
          Used for internal processing, exposed here so the tiniest amount of data can be gotten in a new transaction
 org.rhq.core.domain.alert.AlertConditionLog getUnmatchedLogByAlertConditionId(int alertConditionId)
           
 List<org.rhq.core.domain.alert.AlertConditionLog> getUnmatchedLogsByAlertDefinitionId(int alertDefinitionId)
           
 void removeUnmatchedLogByAlertConditionId(int alertConditionId)
           
 void updateUnmatchedLogByAlertConditionId(int alertConditionId, long ctime, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlertConditionLogManagerBean

public AlertConditionLogManagerBean()
Method Detail

getUnmatchedLogByAlertConditionId

public org.rhq.core.domain.alert.AlertConditionLog getUnmatchedLogByAlertConditionId(int alertConditionId)
Specified by:
getUnmatchedLogByAlertConditionId in interface AlertConditionLogManagerLocal

getUnmatchedLogsByAlertDefinitionId

public List<org.rhq.core.domain.alert.AlertConditionLog> getUnmatchedLogsByAlertDefinitionId(int alertDefinitionId)
Specified by:
getUnmatchedLogsByAlertDefinitionId in interface AlertConditionLogManagerLocal

updateUnmatchedLogByAlertConditionId

public void updateUnmatchedLogByAlertConditionId(int alertConditionId,
                                                 long ctime,
                                                 String value)
Specified by:
updateUnmatchedLogByAlertConditionId in interface AlertConditionLogManagerLocal

removeUnmatchedLogByAlertConditionId

public void removeUnmatchedLogByAlertConditionId(int alertConditionId)
Specified by:
removeUnmatchedLogByAlertConditionId in interface AlertConditionLogManagerLocal

checkForCompletedAlertConditionSet

public void checkForCompletedAlertConditionSet(int alertConditionId)
Specified by:
checkForCompletedAlertConditionSet in interface AlertConditionLogManagerLocal

getConditionExpression

public org.rhq.core.domain.alert.BooleanExpression getConditionExpression(int alertDefinitionId)
Description copied from interface: AlertConditionLogManagerLocal
Used for internal processing, exposed here so the tiniest amount of data can be gotten in a new transaction

Specified by:
getConditionExpression in interface AlertConditionLogManagerLocal
Parameters:
alertDefinitionId - the definition whose conditionExpression will be looked up
Returns:
the BooleanException for the AlertDefinition represented by the id argument

getConditionCount

public int getConditionCount(int alertDefinitionId)
Description copied from interface: AlertConditionLogManagerLocal
Used for internal processing, exposed here so the tiniest amount of data can be gotten in a new transaction

Specified by:
getConditionCount in interface AlertConditionLogManagerLocal
Parameters:
alertDefinitionId - the definition whose conditionExpression will be looked up
Returns:
the count of AlertConditions for the AlertDefinition represented by the id argument


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