com.cgiams.esl.fp.pp
Class DefaultFPPreProcessManager

java.lang.Object
  extended bycom.cgiams.esl.fp.pp.DefaultFPPreProcessManager
All Implemented Interfaces:
FlowPreProcessManager

public class DefaultFPPreProcessManager
extends java.lang.Object
implements FlowPreProcessManager

This class provides default pre-processing services for the FlowProcessor. It does this by executing any update SQL defined in the FLOW_SUBMITTAL_MODEL_PRESQL table for the specified Submittal Code. These SQL statements are expected to be DDL statements (e.g., INSERT, UPDATE, or DELETE) and not SELECT. While the iBATIS SQL ids are configured within the Flow Processor Configuration Tables, the actual SQL Ids must be located in the Flow Submittal's iBATIS SQL files and not the Flow Processor's iBATIS SQL Files.

Modification History
Programmer Date Description
Scott Bowers 05/03/2005 Original Author

Author:
sbowers

Constructor Summary
DefaultFPPreProcessManager()
           
 
Method Summary
 java.util.Map executePreProcess(DataManager ao_dm_fp, DataManager ao_dm_fs, java.util.Map ao_submittal_model, java.util.Map ao_preprocess_manager_params, java.util.Map ao_previous_results, java.util.Map ao_operation_arguments)
          This method will execute a predefined set of DDL SQL specified for the incoming Submittal Model map.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFPPreProcessManager

public DefaultFPPreProcessManager()
Method Detail

executePreProcess

public java.util.Map executePreProcess(DataManager ao_dm_fp,
                                       DataManager ao_dm_fs,
                                       java.util.Map ao_submittal_model,
                                       java.util.Map ao_preprocess_manager_params,
                                       java.util.Map ao_previous_results,
                                       java.util.Map ao_operation_arguments)
                                throws FlowPreProcessException
This method will execute a predefined set of DDL SQL specified for the incoming Submittal Model map.

Specified by:
executePreProcess in interface FlowPreProcessManager
Parameters:
ao_dm_fp - The Flow Processor Data Manager.
ao_dm_fs - The Flow Submittal Data Manager.
ao_submittal_model - The Flow SubmissioLments defined in FP_SUBMITTAL_MODEL.
ao_preprocess_manager_params - 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.
Returns:
A map of informational messages and data identifiers.
Throws:
FlowPreProcessException - If an error occurres.