public class ChartServiceImpl extends Object implements ChartService
| Modifier and Type | Field and Description |
|---|---|
protected org.kuali.rice.krad.service.BusinessObjectService |
businessObjectService |
protected org.kuali.rice.coreservice.framework.parameter.ParameterService |
parameterService |
protected org.kuali.rice.kim.api.identity.PersonService |
personService |
protected org.kuali.rice.kim.api.role.RoleService |
roleService |
| Constructor and Description |
|---|
ChartServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Chart> |
getAllActiveCharts()
Retrieves all of the "active" charts in the system in chart code order.
|
List<String> |
getAllChartCodes()
Retrieves all of the charts in the system and returns them in a List.
|
Chart |
getByPrimaryId(String chartOfAccountsCode)
Retrieves a chart object by its primary key - the chart code.
|
org.kuali.rice.kim.api.identity.Person |
getChartManager(String chartOfAccountsCode)
Returns the chart manager form KIM for the given chart code
|
protected org.kuali.rice.kim.api.identity.PersonService |
getPersonService() |
Map<String,String> |
getReportsToHierarchy()
Retrieves a map of reportsTo relationships (e.g.
|
protected org.kuali.rice.kim.api.role.RoleService |
getRoleService() |
Chart |
getUniversityChart()
This method returns the university chart
|
boolean |
isParentChart(String potentialChildChartCode,
String potentialParentChartCode)
This method traverses the hierarchy to see if the potentialChildChartCode reports to the potentialParentChartCode
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService) |
protected org.kuali.rice.krad.service.BusinessObjectService businessObjectService
protected org.kuali.rice.kim.api.role.RoleService roleService
protected org.kuali.rice.kim.api.identity.PersonService personService
protected org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService
public ChartServiceImpl()
@Cacheable(value="OLE/Chart",
key="\'chartOfAccountsCode=\'+#p0")
public Chart getByPrimaryId(String chartOfAccountsCode)
ChartServicegetByPrimaryId in interface ChartServiceChartService.getByPrimaryId(java.lang.String)@Cacheable(value="OLE/Chart",
key="\'UniversityChart\'")
public Chart getUniversityChart()
ChartServicegetUniversityChart in interface ChartServiceChartService.getUniversityChart()@Cacheable(value="OLE/Chart",
key="\'AllChartCodes\'")
public List<String> getAllChartCodes()
ChartServicegetAllChartCodes in interface ChartServiceChartService.getAllChartCodes()@Cacheable(value="OLE/Chart",
key="\'AllActiveCharts\'")
public Collection<Chart> getAllActiveCharts()
ChartServicegetAllActiveCharts in interface ChartService@Cacheable(value="OLE/Chart",
key="\'ReportsToHierarchy\'")
public Map<String,String> getReportsToHierarchy()
ChartServicegetReportsToHierarchy in interface ChartServiceorg.kuali.module.chart.service.getReportsToHierarchy()@Cacheable(value="OLE/Chart",
key="\'{isParentChart?}\'+#p0+\'-->\'+#p1")
public boolean isParentChart(String potentialChildChartCode,
String potentialParentChartCode)
ChartServiceisParentChart in interface ChartServicepublic org.kuali.rice.kim.api.identity.Person getChartManager(String chartOfAccountsCode)
ChartServicegetChartManager in interface ChartServicechartOfAccountsCode - chart code to get manager forPersonChartService.getChartManager(java.lang.String)protected org.kuali.rice.kim.api.role.RoleService getRoleService()
protected org.kuali.rice.kim.api.identity.PersonService getPersonService()
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.