DLESE Tools
v1.6.0

org.dlese.dpc.services.cas
Class Cas

java.lang.Object
  extended by org.dlese.dpc.services.cas.Cas

public class Cas
extends Object

Creator Acknowledgement System main interface

Author:
Sonal Bhushan

Method Summary
static void main(String[] args)
          The main program for the Cas class
 void storeinDB(org.dlese.dpc.services.cas.Rec[] records, int numrecords)
          store the records' info in the CAS database
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
                 throws CasException,
                        MmdException,
                        MessagingException,
                        IOException,
                        NoSuchProviderException,
                        XMLException
The main program for the Cas class

Parameters:
args - The command line arguments which are props = [properties file name] #Required send_emails = [true|false]
Throws:
CasException
MmdException
XMLException
MessagingException
IOException
NoSuchProviderException

storeinDB

public void storeinDB(org.dlese.dpc.services.cas.Rec[] records,
                      int numrecords)
               throws CasException,
                      MmdException,
                      XMLException
store the records' info in the CAS database

Parameters:
records - array of Records returned by the DDS
numrecords - total number of Records
Throws:
CasException
MmdException
XMLException

DLESE Tools
v1.6.0