public class AwardAccountServiceImpl extends Object implements AwardAccountService
| Constructor and Description |
|---|
AwardAccountServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected List<AwardAccountDTO> |
getAwardAccountDTOs(List<Award> awards) |
List<AwardAccountDTO> |
getAwardAccounts(String financialAccountNumber,
String chartOfAccounts)
This method returns all the awards linked to a financial account number and the chart
|
protected List<Award> |
getAwards(String financialAccountNumber,
String chartOfAccounts)
This method returns awards based on the account number and chart of account
|
protected Long |
getProposalId(Award award)
This method returns the proposal ID related to an award
Can award have multiple P IDs?
|
protected boolean |
isFederalSponsor(Award award)
* Method checks if the award has a federal sponsor.
|
protected boolean |
isPrimeSponsorFederal(Award award,
String federalSponsorTypeCode)
This method checks if prime sponsor is federal
|
protected boolean |
isSponsorTypeFederal(Award award,
String federalSponsorTypeCode)
This method checks if sponsor is federal.
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value.
|
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
Sets the parameterService attribute value.
|
public List<AwardAccountDTO> getAwardAccounts(String financialAccountNumber, String chartOfAccounts)
getAwardAccounts in interface AwardAccountServiceorg.kuali.kra.external.award.AwardAccountService#getAwardAccount(java.lang.String)protected List<AwardAccountDTO> getAwardAccountDTOs(List<Award> awards)
protected Long getProposalId(Award award)
award - protected boolean isFederalSponsor(Award award)
org.kuali.kra.external.award.AwardAccountService#isFederalSponsor(java.lang.String)protected boolean isPrimeSponsorFederal(Award award, String federalSponsorTypeCode)
award - federalSponsorTypeCode - protected boolean isSponsorTypeFederal(Award award, String federalSponsorTypeCode)
award - federalSponsorTypeCode - protected List<Award> getAwards(String financialAccountNumber, String chartOfAccounts)
financialAccountNumber - chartOfAccounts - public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
businessObjectService - The businessObjectService to set.public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
parameterService - The parameterService to set.Copyright © 2013 The Kuali Foundation. All Rights Reserved.