com.cgiams.esl.fp.em
Class CDXExportManager

java.lang.Object
  extended bycom.cgiams.esl.fp.em.CDXExportManager
All Implemented Interfaces:
FlowExportManager

public class CDXExportManager
extends java.lang.Object
implements FlowExportManager

This implementation of FlowExportManager exports a data set to the CDX Network Node. This implementation requires the following parameters:

Parameter NameParameter Description
UID The user name used to log into CDX to submit the data set.
PWD The password for the user id defined by UID parameter used to log into CDX to submit the data set.
URL The URL of CDX to submit the data to.
DATA FLOW CODE COLUMN NAME The name of the column that stores the data flow code for the Flow Submittal.
DOC TYPE CODE COLUMN NAME The name of the column that stores the document type code for the Flow Submittal.


Modification History
Programmer Date Description
Jim Matysczak 03/18/2005 Original Author


Constructor Summary
CDXExportManager()
           
 
Method Summary
 java.util.Map exportResults(DataManager ao_dm_fp, DataManager ao_dm_fs, java.util.Map ao_arguments_submission, java.util.Map ao_arguments_export_mananger, java.util.Map ao_previous_results, java.util.Map ao_operation_arguments, java.lang.String as_results_file_name, byte[] ab_data_set)
          This method will export the specified results to the CDX Network Node.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDXExportManager

public CDXExportManager()
Method Detail

exportResults

public java.util.Map exportResults(DataManager ao_dm_fp,
                                   DataManager ao_dm_fs,
                                   java.util.Map ao_arguments_submission,
                                   java.util.Map ao_arguments_export_mananger,
                                   java.util.Map ao_previous_results,
                                   java.util.Map ao_operation_arguments,
                                   java.lang.String as_results_file_name,
                                   byte[] ab_data_set)
                            throws java.lang.Exception
This method will export the specified results to the CDX Network Node. The return map will contain the following keys:
Key NameKey Description
transaction_id The Transaction ID return from CDX when the result set was submitted.
ping_response The response returned from the Node Ping operation.
submit_status The status returned from CDX after the result set was submitted.

Specified by:
exportResults in interface FlowExportManager
Parameters:
ao_dm_fp - The Flow Processor Data Manager.
ao_dm_fs - The Flow Submittal Data Manager.
ao_arguments_submission - The Flow Submission arguments defined in FP_SUBMITTAL_MODEL.
ao_arguments_export_mananger - The Flow Export parameters defined in FP_SUBMITTAL_EXPORT_DTL_PARAM.
ao_previous_results - The results of all previous FlowExportManager executions.
ao_operation_arguments - The arguments to the operation being performed.
as_results_file_name - The name of the results file.
ab_data_set - The data set.
Returns:
A map of informational messages and data identifiers.
Throws:
java.lang.Exception - If an error occurres.