Search in sources :

Example 1 with FlatFileTransactionInformation

use of org.kuali.kfs.sys.batch.FlatFileTransactionInformation in project cu-kfs by CU-CommunityApps.

the class AdvanceDepositServiceImpl method copyAllMessage.

private void copyAllMessage(Object parsedObject, PhysicalFlatFileInformation physicalFlatFileInformation) {
    List<AchIncomeFile> achIncomeFiles = (List<AchIncomeFile>) parsedObject;
    for (AchIncomeFile achIncomeFile : achIncomeFiles) {
        FlatFileInformation fileInformation = new FlatFileInformation();
        FlatFileTransactionInformation information = achIncomeFile.getFlatFileTransactionInformation();
        fileInformation.getOrAddFlatFileData(achIncomeFile.getInterchangeControlNumber(), information);
        fileInformation.addFileInfoMessage(achIncomeFile.getEmailMessageText());
        physicalFlatFileInformation.getFlatFileInfomationList().add(fileInformation);
    }
}
Also used : AchIncomeFile(edu.cornell.kfs.fp.businessobject.AchIncomeFile) List(java.util.List) ArrayList(java.util.ArrayList) PhysicalFlatFileInformation(org.kuali.kfs.sys.batch.PhysicalFlatFileInformation) FlatFileInformation(org.kuali.kfs.sys.batch.FlatFileInformation) FlatFileTransactionInformation(org.kuali.kfs.sys.batch.FlatFileTransactionInformation)

Aggregations

AchIncomeFile (edu.cornell.kfs.fp.businessobject.AchIncomeFile)1 ArrayList (java.util.ArrayList)1 List (java.util.List)1 FlatFileInformation (org.kuali.kfs.sys.batch.FlatFileInformation)1 FlatFileTransactionInformation (org.kuali.kfs.sys.batch.FlatFileTransactionInformation)1 PhysicalFlatFileInformation (org.kuali.kfs.sys.batch.PhysicalFlatFileInformation)1