com.rhi.architecture.parc.adapter
Class ValidRecordsTask

java.lang.Object
  extended bycom.rhi.architecture.parc.adapter.OutputRecordsTask
      extended bycom.rhi.architecture.parc.adapter.ValidRecordsTask
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Runnable

public class ValidRecordsTask
extends OutputRecordsTask

The ValidRecordsTask is responsible for performing processing specific to valid records by overriding processRecords method.

Since:
1.0
Author:
Chandra Ilindra

Field Summary
 
Fields inherited from class com.rhi.architecture.parc.adapter.OutputRecordsTask
parent
 
Constructor Summary
ValidRecordsTask(AbstractOutputAdapter aoa, int mr, ExceptionHandler eh)
          Constructor
 
Method Summary
 void processRecords(java.util.Collection records, Transaction transaction)
          Process Error records and update audit information.
 
Methods inherited from class com.rhi.architecture.parc.adapter.OutputRecordsTask
clone, run, setRecords
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidRecordsTask

public ValidRecordsTask(AbstractOutputAdapter aoa,
                        int mr,
                        ExceptionHandler eh)
Constructor

Parameters:
aoa - - reference to OutputAdapter
mr - - maximum number of retries for deadlocks
eh - - the exception handler to use when reporting asynch errors.
Since:
1.0
Method Detail

processRecords

public void processRecords(java.util.Collection records,
                           Transaction transaction)
                    throws TransactionException,
                           ProcessingException,
                           AuditException
Process Error records and update audit information.

Specified by:
processRecords in class OutputRecordsTask
Parameters:
records -
transaction -
Throws:
TransactionException
ProcessingException
AuditException
Since:
1.0


Copyright © 2002-2004 Robert Half International. All Rights Reserved.