Package org.dlese.dpc.services.cas
Class Cas
java.lang.Object
org.dlese.dpc.services.cas.Cas
Creator Acknowledgement System main interface
- Author:
- Sonal Bhushan
-
Method Summary
-
Method Details
-
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:
CasExceptionMmdExceptionXMLExceptionMessagingExceptionIOExceptionNoSuchProviderException
-
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 DDSnumrecords- total number of Records- Throws:
CasExceptionMmdExceptionXMLException
-