Package com.centraview.alert

Examples of com.centraview.alert.Alert


  private void deleteAlert(int individualID, int alertID, String dataSource)
  {
    try
    {
      AlertHome ah = (AlertHome)CVUtility.getHomeObject("com.centraview.alert.AlertHome", "Alert");
      Alert remote = ah.create();
      remote.setDataSource(dataSource);
      remote.deleteAlert(alertID, individualID);
    }catch(Exception e){
      logger.error("[AlertServlet] Exception thrown in deleteAlert(): ", e);
    }
  }
View Full Code Here


    hmConf.put("UserID", new Integer(individualID));
   
    try
    {
      AlertHome home = (AlertHome)CVUtility.getHomeObject("com.centraview.alert.AlertHome", "Alert");
      Alert remote = (Alert)home.create();
      remote.setDataSource(dataSource);
     
      Collection results = remote.getAlertList(hmConf);
      if (results != null && results.size() > 0)
      {
        Iterator it = results.iterator();
        while (it.hasNext())
        {
View Full Code Here

TOP

Related Classes of com.centraview.alert.Alert

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.