com.sap.ip.me.api.ccms
Class AlertManager

java.lang.Object
  extended bycom.sap.ip.me.api.ccms.AlertManager
All Implemented Interfaces:
java.io.Serializable

public abstract class AlertManager
extends java.lang.Object
implements java.io.Serializable

Central instance that implements a registry for all Alerts. Each Alert must be registered in order to be checked and uploaded during Sync.

Since:
MI 2.5
Author:
SAP
See Also:
Alert, Serialized Form

Constructor Summary
AlertManager()
           
 
Method Summary
static AlertManager getInstance()
          Get the singleton instance of the AlertManager
abstract  boolean isRegistered(java.lang.String anAlert)
          Check if an alert is already registered
abstract  void register(Alert anAlert)
          Register an alert
abstract  boolean removeAlert(Alert anAlert)
          Remove an alert from the registry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlertManager

public AlertManager()
Method Detail

getInstance

public static AlertManager getInstance()
Get the singleton instance of the AlertManager


register

public abstract void register(Alert anAlert)
Register an alert


isRegistered

public abstract boolean isRegistered(java.lang.String anAlert)
Check if an alert is already registered

Returns:
if an alert with that name already exists in AlertManager's registry

removeAlert

public abstract boolean removeAlert(Alert anAlert)
Remove an alert from the registry



Copyright © 2005 SAP AG. All Rights Reserved.