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)
ChartService
getByPrimaryId
in interface ChartService
ChartService.getByPrimaryId(java.lang.String)
@Cacheable(value="OLE/Chart", key="\'UniversityChart\'") public Chart getUniversityChart()
ChartService
getUniversityChart
in interface ChartService
ChartService.getUniversityChart()
@Cacheable(value="OLE/Chart", key="\'AllChartCodes\'") public List<String> getAllChartCodes()
ChartService
getAllChartCodes
in interface ChartService
ChartService.getAllChartCodes()
@Cacheable(value="OLE/Chart", key="\'AllActiveCharts\'") public Collection<Chart> getAllActiveCharts()
ChartService
getAllActiveCharts
in interface ChartService
@Cacheable(value="OLE/Chart", key="\'ReportsToHierarchy\'") public Map<String,String> getReportsToHierarchy()
ChartService
getReportsToHierarchy
in interface ChartService
org.kuali.module.chart.service.getReportsToHierarchy()
@Cacheable(value="OLE/Chart", key="\'{isParentChart?}\'+#p0+\'-->\'+#p1") public boolean isParentChart(String potentialChildChartCode, String potentialParentChartCode)
ChartService
isParentChart
in interface ChartService
public org.kuali.rice.kim.api.identity.Person getChartManager(String chartOfAccountsCode)
ChartService
getChartManager
in interface ChartService
chartOfAccountsCode
- chart code to get manager forPerson
ChartService.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–2014 The Kuali Foundation. All rights reserved.