org.rhq.core.domain.alert.notification
Class AlertNotification

java.lang.Object
  extended by org.rhq.core.domain.alert.notification.AlertNotification
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EmailNotification, RoleNotification, SnmpNotification, SubjectNotification

public abstract class AlertNotification
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static String DELETE_BY_ID
           
static String QUERY_DELETE_BY_RESOURCES
           
static String QUERY_DELETE_ORPHANED
           
 
Constructor Summary
protected AlertNotification()
           
  AlertNotification(AlertDefinition alertDefinition)
           
 
Method Summary
protected abstract  AlertNotification copy()
           
 AlertNotification copy(boolean copyIds)
           
 AlertDefinition getAlertDefinition()
           
 int getId()
           
 void prepareForOrphanDelete()
           
 void setAlertDefinition(AlertDefinition alertDefinition)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DELETE_BY_ID

public static final String DELETE_BY_ID
See Also:
Constant Field Values

QUERY_DELETE_BY_RESOURCES

public static final String QUERY_DELETE_BY_RESOURCES
See Also:
Constant Field Values

QUERY_DELETE_ORPHANED

public static final String QUERY_DELETE_ORPHANED
See Also:
Constant Field Values
Constructor Detail

AlertNotification

protected AlertNotification()

AlertNotification

public AlertNotification(@NotNull
                         AlertDefinition alertDefinition)
Method Detail

getId

public int getId()

getAlertDefinition

@NotNull
public AlertDefinition getAlertDefinition()

setAlertDefinition

public void setAlertDefinition(AlertDefinition alertDefinition)

copy

public AlertNotification copy(boolean copyIds)

copy

protected abstract AlertNotification copy()

prepareForOrphanDelete

public void prepareForOrphanDelete()


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.