org.apache.lokahi.core.api.alert
Class AlertModel
java.lang.Object
org.apache.lokahi.core.common.interfaces.LokahiModel
org.apache.lokahi.core.api.alert.AlertModel
public class AlertModel
- extends LokahiModel
- Version:
- $Id: AlertModel.java,v 1.5 2006/03/07 20:18:56 drtobes Exp $
- Author:
- Stephen Toback
Fields inherited from class org.apache.lokahi.core.common.interfaces.LokahiModel |
jp, tpe |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlertModel
public AlertModel()
addAlert
public void addAlert(User u,
AlertDAO fi,
Function f)
throws AuthorizationException,
TMCIllegalArgumentException,
java.sql.SQLException,
java.io.IOException
- Throws:
AuthorizationException
TMCIllegalArgumentException
java.sql.SQLException
java.io.IOException
deleteAlert
public void deleteAlert(User u,
AlertDAO fi,
Function f)
throws java.sql.SQLException,
AuthorizationException,
TMCIllegalArgumentException
- Throws:
java.sql.SQLException
AuthorizationException
TMCIllegalArgumentException
updateAlert
public void updateAlert(User u,
AlertDAO fi,
Function f)
throws AuthorizationException,
TMCIllegalArgumentException,
java.sql.SQLException,
java.io.IOException
- Throws:
AuthorizationException
TMCIllegalArgumentException
java.sql.SQLException
java.io.IOException
getObjects
public java.util.Collection<TMCDao> getObjects()
throws java.sql.SQLException
- Specified by:
getObjects
in class LokahiModel
- Throws:
java.sql.SQLException
getObject
public TMCDao getObject(int id)
throws java.sql.SQLException
- Specified by:
getObject
in class LokahiModel
- Throws:
java.sql.SQLException