|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.gl.service.impl.PreScrubberServiceImpl
public class PreScrubberServiceImpl
This class assumes that an account number may only belong to one chart code (i.e. as if the account number were the only primary key column of the account table) Based on that assumption, this code will attempt to fill in the chart code for an origin entry if it is blank and the account number is valid
Constructor Summary | |
---|---|
PreScrubberServiceImpl()
|
Method Summary | |
---|---|
boolean |
deriveChartOfAccountsCodeIfSpaces()
Returns whether chart of accounts codes that are spaces should be derived from the account number. |
protected int |
getExclusiveAccountNumberEndPosition()
Returns the position of the end of the chart of accounts code on an origin entry line, |
protected int |
getExclusiveChartOfAccountsCodeEndPosition()
Returns the position of the end of the chart of accounts code on an origin entry line, |
protected int |
getInclusiveAccountNumberStartPosition()
Returns the position of the chart of accounts code on an origin entry line |
protected int |
getInclusiveChartOfAccountsCodeStartPosition()
Returns the position of the chart of accounts code on an origin entry line |
int |
getMaxCacheSize()
|
PreScrubberReportData |
preprocessOriginEntries(Iterator<String> inputOriginEntries,
String outputFileName)
|
void |
setMaxCacheSize(int maxCacheSize)
|
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Sets the parameterService attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PreScrubberServiceImpl()
Method Detail |
---|
public PreScrubberReportData preprocessOriginEntries(Iterator<String> inputOriginEntries, String outputFileName) throws IOException
preprocessOriginEntries
in interface PreScrubberService
IOException
protected int getInclusiveChartOfAccountsCodeStartPosition()
protected int getExclusiveChartOfAccountsCodeEndPosition()
protected int getInclusiveAccountNumberStartPosition()
protected int getExclusiveAccountNumberEndPosition()
public int getMaxCacheSize()
public void setMaxCacheSize(int maxCacheSize)
public boolean deriveChartOfAccountsCodeIfSpaces()
PreScrubberService
deriveChartOfAccountsCodeIfSpaces
in interface PreScrubberService
public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
parameterService
- The parameterService to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |