com.sun.mdm.index.ejb.report
Class BatchReportGeneratorEJB

java.lang.Object
  extended bycom.sun.mdm.index.ejb.report.BatchReportGeneratorEJB
All Implemented Interfaces:
BatchReportGenerator, BatchReportGeneratorRemote

public class BatchReportGeneratorEJB
extends java.lang.Object
implements BatchReportGeneratorRemote

Session bean for batchreports


Field Summary
(package private) static java.lang.String DATEFORMAT
           
(package private) static java.lang.String DBDATEFORMAT
           
 
Constructor Summary
BatchReportGeneratorEJB()
          Creates a new instance of ReportGeneratorEJB
 
Method Summary
 AssumedMatchReport execAssumedMatchReport(AssumedMatchReportConfig config)
          Execute the assumed match report
 DeactivateReport execDeactivateReport(DeactivateReportConfig config)
          Execute the deactivate report
 MergeReport execMergeReport(MergeReportConfig config)
          Execute the merge report
 KeyStatisticsReport execMonthlyKeyStatisticsReport(KeyStatisticsReportConfig config)
          Execute the monthly key statistics report
 PotentialDuplicateReport execPotentialDuplicateReport(PotentialDuplicateReportConfig config)
          Execute the potential duplicate report
 UnmergeReport execUnmergeReport(UnmergeReportConfig config)
          Execute the unmerge report
 UpdateReport execUpdateReport(UpdateReportConfig config)
          Execute the update report
 KeyStatisticsReport execWeeklyKeyStatisticsReport(KeyStatisticsReportConfig config)
          Execute the weekly key statistics report
 KeyStatisticsReport execYearlyKeyStatisticsReport(KeyStatisticsReportConfig config)
          Execute the yearly key statistics report
 AssumedMatchReport getNextAssumedMatchRecords()
          To get the Assumed Match records page wise
 DeactivateReport getNextDeactivateRecords()
          Execute the deactivate report
 MergeReport getNextMergeRecords()
          To get the Assumed Match records page wise
 PotentialDuplicateReport getNextPotDupRecords()
          To get the range of Potential Duplicate records
 UnmergeReport getNextUnmergeRecords()
          To get the UnmergeReport records page wise
 UpdateReport getNextUpdateRecords()
          Get the next part of the Update Report
 void initialize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATEFORMAT

static final java.lang.String DATEFORMAT
See Also:
Constant Field Values

DBDATEFORMAT

static final java.lang.String DBDATEFORMAT
See Also:
Constant Field Values
Constructor Detail

BatchReportGeneratorEJB

public BatchReportGeneratorEJB()
Creates a new instance of ReportGeneratorEJB

Method Detail

execAssumedMatchReport

public AssumedMatchReport execAssumedMatchReport(AssumedMatchReportConfig config)
                                          throws ReportException
Execute the assumed match report

Specified by:
execAssumedMatchReport in interface BatchReportGenerator
Parameters:
config - Assumed Match Report Configuration
Returns:
Assumed Match Report
Throws:
ReportException - an error occured

execDeactivateReport

public DeactivateReport execDeactivateReport(DeactivateReportConfig config)
                                      throws ReportException
Execute the deactivate report

Specified by:
execDeactivateReport in interface BatchReportGenerator
Parameters:
config - Deactivate Report Configuration
Returns:
Deactivate Report
Throws:
ReportException - an error occured

execMergeReport

public MergeReport execMergeReport(MergeReportConfig config)
                            throws ReportException
Execute the merge report

Specified by:
execMergeReport in interface BatchReportGenerator
Parameters:
config - Merge Report Configuration
Returns:
Merge Report
Throws:
ReportException - an error occured

execMonthlyKeyStatisticsReport

public KeyStatisticsReport execMonthlyKeyStatisticsReport(KeyStatisticsReportConfig config)
                                                   throws ReportException
Execute the monthly key statistics report

Specified by:
execMonthlyKeyStatisticsReport in interface BatchReportGenerator
Parameters:
config - Key Statistics Report Configuration
Returns:
Monthly key statistics report
Throws:
ReportException - an error occured

execPotentialDuplicateReport

public PotentialDuplicateReport execPotentialDuplicateReport(PotentialDuplicateReportConfig config)
                                                      throws ReportException
Execute the potential duplicate report

Specified by:
execPotentialDuplicateReport in interface BatchReportGenerator
Parameters:
config - Potential Duplicate Report Configuration
Returns:
Potential Duplicate Report
Throws:
ReportException - an error occured

execUnmergeReport

public UnmergeReport execUnmergeReport(UnmergeReportConfig config)
                                throws ReportException
Execute the unmerge report

Specified by:
execUnmergeReport in interface BatchReportGenerator
Parameters:
config - Unmerge Report Configuration
Returns:
Unmerge Report
Throws:
ReportException - an error occured

execUpdateReport

public UpdateReport execUpdateReport(UpdateReportConfig config)
                              throws ReportException
Execute the update report

Specified by:
execUpdateReport in interface BatchReportGenerator
Parameters:
config - UpdateReportConfig
Returns:
Update Report
Throws:
ReportException - an error occured

execWeeklyKeyStatisticsReport

public KeyStatisticsReport execWeeklyKeyStatisticsReport(KeyStatisticsReportConfig config)
                                                  throws ReportException
Execute the weekly key statistics report

Specified by:
execWeeklyKeyStatisticsReport in interface BatchReportGenerator
Parameters:
config - Key Statistics Report Configuration
Returns:
Weekly key statistics report
Throws:
ReportException - an error occured

execYearlyKeyStatisticsReport

public KeyStatisticsReport execYearlyKeyStatisticsReport(KeyStatisticsReportConfig config)
                                                  throws ReportException
Execute the yearly key statistics report

Specified by:
execYearlyKeyStatisticsReport in interface BatchReportGenerator
Parameters:
config - Key Statistics Report Configuration
Returns:
Yearly key statistics report
Throws:
ReportException - an error occured

getNextAssumedMatchRecords

public AssumedMatchReport getNextAssumedMatchRecords()
                                              throws ReportException
To get the Assumed Match records page wise

Specified by:
getNextAssumedMatchRecords in interface BatchReportGenerator
Returns:
Assumed Match Report
Throws:
ReportException - an error occured

getNextDeactivateRecords

public DeactivateReport getNextDeactivateRecords()
                                          throws ReportException
Execute the deactivate report

Specified by:
getNextDeactivateRecords in interface BatchReportGenerator
Returns:
Next Deactivate Records
Throws:
ReportException - an error occured

getNextMergeRecords

public MergeReport getNextMergeRecords()
                                throws ReportException
To get the Assumed Match records page wise

Specified by:
getNextMergeRecords in interface BatchReportGenerator
Returns:
Next Merge Records
Throws:
ReportException - an error occured

getNextPotDupRecords

public PotentialDuplicateReport getNextPotDupRecords()
                                              throws ReportException
To get the range of Potential Duplicate records

Specified by:
getNextPotDupRecords in interface BatchReportGenerator
Returns:
PotentialDuplicateReport Returns the object of potential duplicate report
Throws:
ReportException - an error occured

getNextUnmergeRecords

public UnmergeReport getNextUnmergeRecords()
                                    throws ReportException
To get the UnmergeReport records page wise

Specified by:
getNextUnmergeRecords in interface BatchReportGenerator
Returns:
Next Unmerge Records
Throws:
ReportException - an error occured

getNextUpdateRecords

public UpdateReport getNextUpdateRecords()
                                  throws ReportException
Get the next part of the Update Report

Specified by:
getNextUpdateRecords in interface BatchReportGenerator
Returns:
Next Update Records
Throws:
ReportException - an error occured

initialize

public void initialize()


Sun Microsystems, Inc.