asit.moa.moazs.notifier
Class UtilsProtocolEntry

java.lang.Object
  extended byasit.moa.moazs.notifier.UtilsProtocolEntry

public class UtilsProtocolEntry
extends Object

Author:
atauber TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
UtilsProtocolEntry()
           
 
Method Summary
static void addProtocolEntry(DeliveryResponse response)
           
static void addProtocolEntry(ProtocolEntry entry)
           
static void deleteProtocolEntry(ProtocolEntry entry)
           
static List doSearchProtocolEntries(String moazsId, String appId, String dateFrom, String dateTo, String errorCode, String errorMessage)
           
static InputStream getMailBody(ProtocolEntry entry)
           
static List getProtocolEntries(Date refDate)
           
static ProtocolEntry getProtocolEntry(String mzsId)
           
static String getSMTPHost()
           
static String getSMTPSender()
           
static void sendEmail()
           
static void sendEmail(ProtocolEntry entry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UtilsProtocolEntry

public UtilsProtocolEntry()
Method Detail

doSearchProtocolEntries

public static List doSearchProtocolEntries(String moazsId,
                                           String appId,
                                           String dateFrom,
                                           String dateTo,
                                           String errorCode,
                                           String errorMessage)
                                    throws net.sf.hibernate.HibernateException
Throws:
net.sf.hibernate.HibernateException

deleteProtocolEntry

public static void deleteProtocolEntry(ProtocolEntry entry)
                                throws net.sf.hibernate.HibernateException
Throws:
net.sf.hibernate.HibernateException

addProtocolEntry

public static void addProtocolEntry(ProtocolEntry entry)
                             throws net.sf.hibernate.HibernateException
Throws:
net.sf.hibernate.HibernateException

getProtocolEntry

public static ProtocolEntry getProtocolEntry(String mzsId)
                                      throws net.sf.hibernate.HibernateException
Throws:
net.sf.hibernate.HibernateException

getProtocolEntries

public static List getProtocolEntries(Date refDate)
                               throws net.sf.hibernate.HibernateException
Throws:
net.sf.hibernate.HibernateException

sendEmail

public static void sendEmail()
                      throws Exception
Throws:
Exception

getSMTPHost

public static String getSMTPHost()
                          throws net.sf.hibernate.HibernateException
Throws:
net.sf.hibernate.HibernateException

getSMTPSender

public static String getSMTPSender()
                            throws net.sf.hibernate.HibernateException
Throws:
net.sf.hibernate.HibernateException

sendEmail

public static void sendEmail(ProtocolEntry entry)
                      throws Exception
Throws:
Exception

getMailBody

public static InputStream getMailBody(ProtocolEntry entry)
                               throws Exception
Throws:
Exception

addProtocolEntry

public static void addProtocolEntry(DeliveryResponse response)
                             throws net.sf.hibernate.HibernateException
Throws:
net.sf.hibernate.HibernateException


Copyright 2007 Institut fuer Angewandte Informationsverarbeitung und Kommunikationstechnologie. All Rights Reserved.