public class ObjectCodeServiceImpl extends Object implements ObjectCodeService
Modifier and Type | Field and Description |
---|---|
protected ObjectCodeDao |
objectCodeDao |
protected UniversityDateService |
universityDateService |
Constructor and Description |
---|
ObjectCodeServiceImpl() |
Modifier and Type | Method and Description |
---|---|
ObjectCode |
getByPrimaryId(Integer universityFiscalYear,
String chartOfAccountsCode,
String financialObjectCode) |
ObjectCode |
getByPrimaryIdForCurrentYear(String chartOfAccountsCode,
String financialObjectCode)
This method returns an financial object code for the current fiscal year.
|
ObjectCode |
getByPrimaryIdWithCaching(Integer universityFiscalYear,
String chartOfAccountsCode,
String financialObjectCode) |
String |
getObjectCodeNamesByCharts(Integer universityFiscalYear,
String[] chartOfAccountCodes,
String financialObjectCode)
This method, written for use with DWR, returns a joined string representation of all of the names of the distinct object
codes associated with each of the chart codes given.
|
List |
getYearList(String chartOfAccountsCode,
String financialObjectCode) |
void |
setObjectCodeDao(ObjectCodeDao objectCodeDao) |
void |
setUniversityDateService(UniversityDateService universityDateService) |
protected ObjectCodeDao objectCodeDao
protected UniversityDateService universityDateService
public ObjectCodeServiceImpl()
@Cacheable(value="OLE/ObjectCode", key="#p0+\'-\'+#p1+\'-\'+#p2") public ObjectCode getByPrimaryId(Integer universityFiscalYear, String chartOfAccountsCode, String financialObjectCode)
getByPrimaryId
in interface ObjectCodeService
universityFiscalYear
- - University Fiscal YearchartOfAccountsCode
- - Chart of Accounts CodefinancialObjectCode
- - Financial Object CodeObjectCodeService.getByPrimaryId(java.lang.Integer, java.lang.String, java.lang.String)
@Cacheable(value="OLE/ObjectCode", key="#p0+\'-\'+#p1+\'-\'+#p2") public ObjectCode getByPrimaryIdWithCaching(Integer universityFiscalYear, String chartOfAccountsCode, String financialObjectCode)
getByPrimaryIdWithCaching
in interface ObjectCodeService
universityFiscalYear
- - University Fiscal YearchartOfAccountsCode
- - Chart of Accounts CodefinancialObjectCode
- - Financial Object CodeObjectCodeService.getByPrimaryIdWithCaching(java.lang.Integer, java.lang.String,
java.lang.String)
public void setObjectCodeDao(ObjectCodeDao objectCodeDao)
public void setUniversityDateService(UniversityDateService universityDateService)
public List getYearList(String chartOfAccountsCode, String financialObjectCode)
getYearList
in interface ObjectCodeService
chartOfAccountsCode
- - Chart of Accounts CodefinancialObjectCode
- - Financial Object CodeObjectCodeService.getYearList(java.lang.String, java.lang.String)
public String getObjectCodeNamesByCharts(Integer universityFiscalYear, String[] chartOfAccountCodes, String financialObjectCode)
ObjectCodeService
getObjectCodeNamesByCharts
in interface ObjectCodeService
universityFiscalYear
- the fiscal year of the financial object code to check.chartOfAccountCodes
- array of Chart of Accounts codes tofinancialObjectCode
- financial object code to look upObjectCodeService.getObjectCodeNamesByCharts(java.lang.Integer, java.lang.String[],
java.lang.String)
@Cacheable(value="OLE/ObjectCode", key="\'CurrentFY\'+\'-\'+#p0+\'-\'+#p1") public ObjectCode getByPrimaryIdForCurrentYear(String chartOfAccountsCode, String financialObjectCode)
ObjectCodeService
getByPrimaryIdForCurrentYear
in interface ObjectCodeService
chartOfAccountsCode
- chart of accounts code for object codefinancialObjectCode
- financial object codeObjectCodeService.getByPrimaryIdForCurrentYear(java.lang.String, java.lang.String)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.