org.kuali.kfs.gl.service
Interface PosterOutputSummaryService

All Known Implementing Classes:
PosterOutputSummaryServiceImpl

public interface PosterOutputSummaryService

Interface for service methods which support the poster output summary report


Method Summary
 void addAmountToAmountHolder(OriginEntryInformation oe, PosterOutputSummaryAmountHolder amountHolder)
          adds an origin entry amount to a given poster output summary amount holder
 void addAmountToAmountHolder(Transaction t, PosterOutputSummaryAmountHolder amountHolder)
          adds a transaction amount to a given poster output summary amount holder
 Comparator<PosterOutputSummaryEntry> getEntryComparator()
          Returns an instance of the comparator to use when sorting poster output summary entries
 void summarize(OriginEntryInformation originEntry, Map<String,PosterOutputSummaryEntry> entries)
          Summarizes the given origin entry to the map
 void summarize(Transaction transaction, Map<String,PosterOutputSummaryEntry> entries)
          Summarizes the given transaction to the map
 

Method Detail

addAmountToAmountHolder

void addAmountToAmountHolder(Transaction t,
                             PosterOutputSummaryAmountHolder amountHolder)
adds a transaction amount to a given poster output summary amount holder

Parameters:
t - the transaction with an amount to add
amountHolder - the amount holder to add the amount to

addAmountToAmountHolder

void addAmountToAmountHolder(OriginEntryInformation oe,
                             PosterOutputSummaryAmountHolder amountHolder)
adds an origin entry amount to a given poster output summary amount holder

Parameters:
oe - the origin entry with an amount to add
amountHolder - the amount holder to add the amount to

getEntryComparator

Comparator<PosterOutputSummaryEntry> getEntryComparator()
Returns an instance of the comparator to use when sorting poster output summary entries

Returns:
an instance of a good comparator

summarize

void summarize(Transaction transaction,
               Map<String,PosterOutputSummaryEntry> entries)
Summarizes the given transaction to the map

Parameters:
transaction - the transaction to summarize
entries - the map of entries

summarize

void summarize(OriginEntryInformation originEntry,
               Map<String,PosterOutputSummaryEntry> entries)
Summarizes the given origin entry to the map

Parameters:
originEntry - the origin entry to summarize
entries - the map of entries that holds all summarizations


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