org.kuali.kfs.gl.batch.service
Interface PostTransaction

All Known Implementing Classes:
LaborGLLedgerEntryPoster, LaborLedgerBalancePoster, LaborLedgerEntryPoster, PostAccountBalance, PostBalance, PostEncumbrance, PostEntry, PostExpenditureTransaction, PostReversal, PostSufficientFundBalances

public interface PostTransaction

An interface that delcares the methods that the Poster needs to post a transaction.


Method Summary
 String getDestinationName()
          The name of the destination for the post (ie, the database table name where resultant records will be posted)
 String post(Transaction t, int mode, Date postDate, ReportWriterService posterReportWriterService)
          Post a single transaction to a single destination.
 

Method Detail

post

String post(Transaction t,
            int mode,
            Date postDate,
            ReportWriterService posterReportWriterService)
Post a single transaction to a single destination.

Parameters:
t - Transaction to post
mode - PosterService.MODE_ENTRIES or PosterService.MODE_REVERSAL
postDate - post date/time
posterReportWriterService - the writer service where the poster is writing its report
Returns:
The letter I if a row was inserted, U updated, D deleted. The string can have multiple codes.

getDestinationName

String getDestinationName()
The name of the destination for the post (ie, the database table name where resultant records will be posted)

Returns:
name


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