| java.lang.Object org.kuali.module.gl.util.LedgerEntryHolder
LedgerEntryHolder | public class LedgerEntryHolder (Code) | | A collection of many LedgerEntry records, which appropriately groups the records
|
LedgerEntryHolder | public LedgerEntryHolder()(Code) | | Constructs a LedgerEntryHolder.java.
|
getGrandTotal | public LedgerEntry getGrandTotal()(Code) | | Gets the grandTotal attribute.
Returns the grandTotal. |
getLedgerEntries | public Map getLedgerEntries()(Code) | | Gets the ledgerEntries attribute.
Returns the ledgerEntries. |
getSubtotals | public Map getSubtotals()(Code) | | Gets the subtotals attribute.
Returns the subtotals. |
insertLedgerEntry | public void insertLedgerEntry(LedgerEntry newLedgerEntry, boolean calculateTotal)(Code) | | add a given ledger entry into the holder. If there exists a ledger entry with the same key, then update the amount and count
fields of the ledger entry; otherwise, insert it into the holder.
Parameters: newLedgerEntry - the given ledger entry Parameters: calculateTotals - indicate if the subtotals and grand total need to be calculated |
|
|