public class PosterOutputSummaryServiceImpl extends Object implements PosterOutputSummaryService
Constructor and Description |
---|
PosterOutputSummaryServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addAmountToAmountHolder(OriginEntryInformation originEntry,
PosterOutputSummaryAmountHolder amountHolder)
Default implementation
|
void |
addAmountToAmountHolder(Transaction transaction,
PosterOutputSummaryAmountHolder amountHolder)
Default implementation
|
protected String |
buildKey(String balanceTypeCode,
Integer universityFiscalYear,
String fiscalPeriodCode,
String chartOfAccountsCode,
String accountNumber)
Builds a map key based on the given information
|
AccountingCycleCachingService |
getAccountingCycleCachingService()
Gets the accountingCycleCachingService attribute.
|
Comparator<PosterOutputSummaryEntry> |
getEntryComparator()
Returns an instance of the comparator to use when sorting poster output summary entries
|
protected String |
getFundGroupCodeForAccount(String chartOfAccountsCode,
String accountNumber)
Returns the sub fund group for the given origin entry
|
protected String |
getPosterOutputSummaryEntryMapKey(OriginEntryInformation originEntry) |
protected String |
getPosterOutputSummaryEntryMapKey(Transaction transaction) |
void |
setAccountingCycleCachingService(AccountingCycleCachingService accountingCycleCachingService)
Sets the accountingCycleCachingService attribute value.
|
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
|
public PosterOutputSummaryServiceImpl()
public void addAmountToAmountHolder(OriginEntryInformation originEntry, PosterOutputSummaryAmountHolder amountHolder)
addAmountToAmountHolder
in interface PosterOutputSummaryService
originEntry
- the origin entry with an amount to addamountHolder
- the amount holder to add the amount toorg.kuali.ole.gl.service.PosterOutputSummaryService#addOriginEntryAmountToAmountHolder(org.kuali.ole.gl.businessobject.OriginEntryInformation, org.kuali.ole.gl.businessobject.PosterOutputSummaryAmountHolder)
public void addAmountToAmountHolder(Transaction transaction, PosterOutputSummaryAmountHolder amountHolder)
addAmountToAmountHolder
in interface PosterOutputSummaryService
transaction
- the transaction with an amount to addamountHolder
- the amount holder to add the amount toorg.kuali.ole.gl.service.PosterOutputSummaryService#addTransactionAmountToAmountHolder(org.kuali.ole.gl.businessobject.Transaction, org.kuali.ole.gl.businessobject.PosterOutputSummaryAmountHolder)
public Comparator<PosterOutputSummaryEntry> getEntryComparator()
PosterOutputSummaryService
getEntryComparator
in interface PosterOutputSummaryService
PosterOutputSummaryService.getEntryComparator()
protected String getPosterOutputSummaryEntryMapKey(OriginEntryInformation originEntry)
org.kuali.ole.gl.service.PosterOutputSummaryService#getPosterOutputSummaryEntryMapKey(org.kuali.ole.gl.businessobject.OriginEntryInformation)
protected String getPosterOutputSummaryEntryMapKey(Transaction transaction)
org.kuali.ole.gl.service.PosterOutputSummaryService#getPosterOutputSummaryEntryMapKey(org.kuali.ole.gl.businessobject.Transaction)
protected String buildKey(String balanceTypeCode, Integer universityFiscalYear, String fiscalPeriodCode, String chartOfAccountsCode, String accountNumber)
balanceTypeCode
- the balance type code to put in the keyuniversityFiscalYear
- the fiscal year to put in the keyfiscalPeriodCode
- the period code to put in the keysubFundGroupCode
- the sub fund group code to put in the keyprotected String getFundGroupCodeForAccount(String chartOfAccountsCode, String accountNumber)
originEntry
- the origin entry to find the sub fund group for, from its accountpublic void summarize(OriginEntryInformation originEntry, Map<String,PosterOutputSummaryEntry> entries)
PosterOutputSummaryService
summarize
in interface PosterOutputSummaryService
originEntry
- the origin entry to summarizeentries
- the map of entries that holds all summarizationsorg.kuali.ole.gl.service.PosterOutputSummaryService#summarizeOriginEntry(org.kuali.ole.gl.businessobject.OriginEntryInformation, java.util.Map)
public void summarize(Transaction transaction, Map<String,PosterOutputSummaryEntry> entries)
PosterOutputSummaryService
summarize
in interface PosterOutputSummaryService
transaction
- the transaction to summarizeentries
- the map of entriesorg.kuali.ole.gl.service.PosterOutputSummaryService#summarizeTransaction(org.kuali.ole.gl.businessobject.Transaction, java.util.Map)
public AccountingCycleCachingService getAccountingCycleCachingService()
public void setAccountingCycleCachingService(AccountingCycleCachingService accountingCycleCachingService)
accountingCycleCachingService
- The accountingCycleCachingService to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.