ICRE interface
The ICRE file creation extract contains the following interface:
com.ibm.paydir.izg.icre.userexit.UserControlICRERecordInterfaceThe interface defines the methods that are shown in the following table.
| Method | Description |
|---|---|
void getUserControlRecord (ICRERecord icrerecord) |
Returns the current user control record to the user exit. The object that is returned contains all records to be written in the binary file. |
ICRERecordInterface[] processICREBatchStatsRecord(ICREBatchStatsRecord
icreBatchStatsRecord,ICRERecordParams icreRecordParams) throws ICREException |
Modifies the ICRE batch statistics data before the binary file is written. |
ICRERecordInterface[] processICREDetailRecord(ICREDetailRecord
icreDetail,ICRERecordParams icreRecordParams) throws ICREException |
Modifies the ICRE item detail data before the binary file is written. If the method is to delete the current record, the record is also not written to the binary file. This method can also add new records, which are inserted into the array and returned. The records in the returned array are in the same order as they are written to the file. |
ICRERecordInterface[] processICREHeaderRecord(ICREHeaderRecord
icreHeaderRecord,ICRERecordParams icreRecordParams) throws ICREException |
Modifies the ICRE header data object before the binary file is written. If the method is to delete the current record, the record is also not written to the binary file. This method can also add new records, which are inserted into the array and returned. The records in the returned array are in the same order as they are written to the file. |
ICRERecordInterface[] processICRESTGHeaderRecord(ICRESTGRecord
icrestgHeaderRecord,ICRERecordParams icreRecordParams) throws ICREException |
Modifies the ICRE string header data object before the binary file is written. If the method is to delete the current record, the record is also not written to the binary file. This method can also add new records, which are inserted into the array and returned. The records in the returned array are in the same order as they are written to the file. |
void finalizeICRESTGRecords(ICRESTGRecord icrestgHeaderRecord) throws
ICREException |
Called to indicate that the end of the ICRE String header data was reached. |
ICRERecordInterface[] processICRESTGMicrRecord(ICRESTGRecord icreStgMicrRecord,
ICRERecordParams icreRecordParams) throws ICREException |
Modifies the ICRE MICR header data object before the binary file is written. If the method is to delete the current record, the record is also not written to the binary file. This method can also add new records, which are inserted into the array and returned. The records in the returned array are in the same order as they are written to the file. |
void finalize(Long[] entriesICREd, BusinessDay businessDay, String
taskCompletionStatus) |
This method is called at the end of the ICRE task. |