org.kuali.kfs.pdp.service.impl
Class PendingTransactionServiceImpl

java.lang.Object
  extended by org.kuali.kfs.pdp.service.impl.PendingTransactionServiceImpl
All Implemented Interfaces:
PendingTransactionService

@Transactional
public class PendingTransactionServiceImpl
extends Object
implements PendingTransactionService

See Also:
PendingTransactionService

Field Summary
protected static String FDOC_TYP_CD_CANCEL_ACH
           
protected static String FDOC_TYP_CD_CANCEL_CHECK
           
protected static String FDOC_TYP_CD_CANCEL_REISSUE_ACH
           
protected static String FDOC_TYP_CD_CANCEL_REISSUE_CHECK
           
protected static String FDOC_TYP_CD_PROCESS_ACH
           
protected static String FDOC_TYP_CD_PROCESS_CHECK
           
 
Constructor Summary
PendingTransactionServiceImpl()
           
 
Method Summary
 void clearExtractedTransactions()
          Deletes transactions records that have been copied to the GL
 void generateCancellationGeneralLedgerPendingEntry(PaymentGroup paymentGroup)
          Creates GLPE entries for a payment cancel and stores to PDP pending entry table.
 void generatePaymentGeneralLedgerPendingEntry(PaymentGroup paymentGroup)
          Creates GLPE entries for the Payment record and stores to PDP pending entry table
 void generateReissueGeneralLedgerPendingEntry(PaymentGroup paymentGroup)
          Creates GLPE entries for a reissue and stores to PDP pending entry table.
protected  BankService getBankService()
          Gets the bankService attribute.
 Iterator<GlPendingTransaction> getUnextractedTransactions()
          Get all of the GL transactions where the extract flag is null
protected  void populateBankOffsetEntry(PaymentGroup paymentGroup, GlPendingTransaction glPendingTransaction, GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
          Generates the bank offset for an entry (when enabled in the system)
protected  void populatePaymentGeneralLedgerPendingEntry(PaymentGroup paymentGroup, String achFdocTypeCode, String checkFdocTypeCod, boolean reversal)
          Populates and stores a new GLPE for each account detail in the payment group.
 void save(GlPendingTransaction tran)
          Save a transaction
 void setAccountingPeriodService(AccountingPeriodService accountingPeriodService)
          Sets the accountingPeriodService attribute value.
 void setBankService(BankService bankService)
          Sets the bankService attribute value.
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
          Sets the business object service
 void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
          Sets the dateTimeService attribute value.
 void setGlPendingTransactionDao(PendingTransactionDao glPendingTransactionDao)
          Sets the glPendingTransactionDao attribute value.
 void setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
          Sets the kualiConfigurationService attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FDOC_TYP_CD_PROCESS_ACH

protected static String FDOC_TYP_CD_PROCESS_ACH

FDOC_TYP_CD_PROCESS_CHECK

protected static String FDOC_TYP_CD_PROCESS_CHECK

FDOC_TYP_CD_CANCEL_REISSUE_ACH

protected static String FDOC_TYP_CD_CANCEL_REISSUE_ACH

FDOC_TYP_CD_CANCEL_REISSUE_CHECK

protected static String FDOC_TYP_CD_CANCEL_REISSUE_CHECK

FDOC_TYP_CD_CANCEL_ACH

protected static String FDOC_TYP_CD_CANCEL_ACH

FDOC_TYP_CD_CANCEL_CHECK

protected static String FDOC_TYP_CD_CANCEL_CHECK
Constructor Detail

PendingTransactionServiceImpl

public PendingTransactionServiceImpl()
Method Detail

generatePaymentGeneralLedgerPendingEntry

public void generatePaymentGeneralLedgerPendingEntry(PaymentGroup paymentGroup)
Description copied from interface: PendingTransactionService
Creates GLPE entries for the Payment record and stores to PDP pending entry table

Specified by:
generatePaymentGeneralLedgerPendingEntry in interface PendingTransactionService
Parameters:
paymentGroup - payment group record to create GLPE for
See Also:
PendingTransactionService.generatePaymentGeneralLedgerPendingEntry(org.kuali.kfs.pdp.businessobject.PaymentGroup)

generateCancellationGeneralLedgerPendingEntry

public void generateCancellationGeneralLedgerPendingEntry(PaymentGroup paymentGroup)
Description copied from interface: PendingTransactionService
Creates GLPE entries for a payment cancel and stores to PDP pending entry table. Debit/Credit codes are reversed backing out the original GLPEs for the payment.

Specified by:
generateCancellationGeneralLedgerPendingEntry in interface PendingTransactionService
Parameters:
paymentGroup - payment group record to create GLPE for
See Also:
PendingTransactionService.generateCancellationGeneralLedgerPendingEntry(org.kuali.kfs.pdp.businessobject.PaymentGroup)

generateReissueGeneralLedgerPendingEntry

public void generateReissueGeneralLedgerPendingEntry(PaymentGroup paymentGroup)
Description copied from interface: PendingTransactionService
Creates GLPE entries for a reissue and stores to PDP pending entry table. Debit/Credit codes are reversed backing out the original GLPEs for the payment.

Specified by:
generateReissueGeneralLedgerPendingEntry in interface PendingTransactionService
Parameters:
paymentGroup - payment group record to create GLPE for
See Also:
PendingTransactionService.generateReissueGeneralLedgerPendingEntry(org.kuali.kfs.pdp.businessobject.PaymentGroup)

populatePaymentGeneralLedgerPendingEntry

protected void populatePaymentGeneralLedgerPendingEntry(PaymentGroup paymentGroup,
                                                        String achFdocTypeCode,
                                                        String checkFdocTypeCod,
                                                        boolean reversal)
Populates and stores a new GLPE for each account detail in the payment group.

Parameters:
paymentGroup - payment group to generate entries for
achFdocTypeCode - doc type for ach disbursements
checkFdocTypeCod - doc type for check disbursements
reversal - boolean indicating if this is a reversal

populateBankOffsetEntry

protected void populateBankOffsetEntry(PaymentGroup paymentGroup,
                                       GlPendingTransaction glPendingTransaction,
                                       GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
Generates the bank offset for an entry (when enabled in the system)

Parameters:
paymentGroup - PaymentGroup for which entries are being generated, contains the Bank
glPendingTransaction - PDP entry created for payment detail
sequenceHelper - holds current entry sequence value

getBankService

protected BankService getBankService()
Gets the bankService attribute.

Returns:
Returns the bankService.

setBankService

public void setBankService(BankService bankService)
Sets the bankService attribute value.

Parameters:
bankService - The bankService to set.

setGlPendingTransactionDao

public void setGlPendingTransactionDao(PendingTransactionDao glPendingTransactionDao)
Sets the glPendingTransactionDao attribute value.

Parameters:
glPendingTransactionDao - The glPendingTransactionDao to set.

setAccountingPeriodService

public void setAccountingPeriodService(AccountingPeriodService accountingPeriodService)
Sets the accountingPeriodService attribute value.

Parameters:
accountingPeriodService - The accountingPeriodService to set.

setDateTimeService

public void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
Sets the dateTimeService attribute value.

Parameters:
dateTimeService - The dateTimeService to set.

setKualiConfigurationService

public void setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
Sets the kualiConfigurationService attribute value.

Parameters:
kualiConfigurationService - The kualiConfigurationService to set.

save

public void save(GlPendingTransaction tran)
Description copied from interface: PendingTransactionService
Save a transaction

Specified by:
save in interface PendingTransactionService
See Also:
PendingTransactionService.save(org.kuali.kfs.pdp.businessobject.GlPendingTransaction)

getUnextractedTransactions

public Iterator<GlPendingTransaction> getUnextractedTransactions()
Description copied from interface: PendingTransactionService
Get all of the GL transactions where the extract flag is null

Specified by:
getUnextractedTransactions in interface PendingTransactionService
Returns:
Iterator of all the transactions
See Also:
PendingTransactionService.getUnextractedTransactions()

clearExtractedTransactions

public void clearExtractedTransactions()
Description copied from interface: PendingTransactionService
Deletes transactions records that have been copied to the GL

Specified by:
clearExtractedTransactions in interface PendingTransactionService
See Also:
PendingTransactionService.clearExtractedTransactions()

setBusinessObjectService

public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the business object service

Parameters:
businessObjectService -


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.