@Transactional public class AwardReportsServiceImpl extends Object implements AwardReportsService
AwardReportsService interface.| Modifier and Type | Field and Description |
|---|---|
protected static String |
REPORT_CLASS_CODE_FIELD |
| Constructor and Description |
|---|
AwardReportsServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addEmptyNewAwardReportTermRecipients(Award award,
Map<String,Object> hashMap)
This method adds an empty AwardReportTermRecipient object to
an empty list for every AwardReportTerm object present in Award
and puts the list in a hashmap
|
protected void |
addEmptyNewAwardReportTerms(Map<String,Object> hashMap,
List<org.kuali.rice.core.api.util.KeyValue> reportClasses)
This method is a helper method for assignReportClassesForPanelHeaderDisplay
|
protected void |
assignReportClassesForPanelHeaderDisplay(Map<String,Object> hashMap)
This method puts an empty AwardReportTerm object to an empty
list for every report class and puts it in a hashmap.
|
protected org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService()
This method...
|
String |
getFrequencyBaseCodes(String frequencyCode)
This method gets called from the DWR script to populate Frequency Base based on
Frequency
|
protected FrequencyBaseCodeValuesFinder |
getFrequencyBaseCodeValuesFinder(String frequencyCode)
This method returns a new instance of FrequencyBaseCodeValuesFinder which can be overriden in unit test to test the service method only.
|
String |
getFrequencyCodes(String reportClassCode,
String reportCode)
This method gets called from the DWR script to populate to update frequency based on
Report Class and Type.
|
protected FrequencyCodeValuesFinder |
getFrequencyCodeValuesFinder(String reportClassCode,
String reportCode)
This method returns a new instance of FrequencyCodeValuesFinder which can be overriden in unit test to test the service method only.
|
protected org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService()
This method...
|
protected ReportClassValuesFinder |
getReportClassValuesFinder()
This method returns a new instance of ReportClassValuesFinder which can be overriden in unit test to test the service method only.
|
Map<String,Object> |
initializeObjectsForReportsAndPayments(Award award)
This method prepares the AwardReportTerm and related objects for the display of UI.
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
This method...
|
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
Sets the ParameterService.
|
protected void |
setReportClassForPaymentsAndInvoicesSubPanel(Map<String,Object> hashMap)
This method fetches the reportClass object from the database using system paramter as the primary
key and puts it in the map and returns it.
|
protected static final String REPORT_CLASS_CODE_FIELD
public Map<String,Object> initializeObjectsForReportsAndPayments(Award award)
AwardReportsServiceinitializeObjectsForReportsAndPayments in interface AwardReportsServiceAwardReportsService.initializeObjectsForReportsAndPayments(
org.kuali.kra.award.home.Award)protected void setReportClassForPaymentsAndInvoicesSubPanel(Map<String,Object> hashMap)
hashMap - protected void assignReportClassesForPanelHeaderDisplay(Map<String,Object> hashMap)
hashMap - protected void addEmptyNewAwardReportTerms(Map<String,Object> hashMap, List<org.kuali.rice.core.api.util.KeyValue> reportClasses)
hashMap - reportClasses - protected void addEmptyNewAwardReportTermRecipients(Award award, Map<String,Object> hashMap)
award - hashMap - public String getFrequencyCodes(String reportClassCode, String reportCode)
AwardReportsServicegetFrequencyCodes in interface AwardReportsServiceAwardReportsService.getFrequencyCodes(java.lang.String, java.lang.String)public String getFrequencyBaseCodes(String frequencyCode)
AwardReportsServicegetFrequencyBaseCodes in interface AwardReportsServiceAwardReportsService.getFrequencyBaseCodes(java.lang.String)public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
parameterService - the parameter service.protected org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
businessObjectService - protected org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
protected FrequencyCodeValuesFinder getFrequencyCodeValuesFinder(String reportClassCode, String reportCode)
reportClassCode - reportCode - protected FrequencyBaseCodeValuesFinder getFrequencyBaseCodeValuesFinder(String frequencyCode)
frequencyCode - protected ReportClassValuesFinder getReportClassValuesFinder()
Copyright © 2013 The Kuali Foundation. All Rights Reserved.