public class ContractsAndGrantsModuleServiceImpl extends Object implements ContractsAndGrantsModuleService
| Constructor and Description |
|---|
ContractsAndGrantsModuleServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
AgencyService |
getAgencyService()
Returns the default implementation of the C&G AgencyService
|
List<Integer> |
getAllAccountReponsiblityIds()
get all possible account responsibility ids on contracts & grants Accounts
|
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService()
Returns an implementation of the BusinessObjectService
|
CfdaService |
getCfdaService()
Returns an implementation of the CfdaService
|
protected int |
getMaxiumAccountResponsibilityId()
retieve the maxium account responsiblity id from system parameter
|
org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService()
Returns an implementation of the parameterService
|
List<String> |
getParentUnits(String unitNumber) |
protected AwardAccount |
getPrimaryAwardAccount(String chartOfAccountsCode,
String accountNumber)
get the primary award account for the given account
|
org.kuali.rice.kim.api.identity.Person |
getProjectDirectorForAccount(Account account) |
org.kuali.rice.kim.api.identity.Person |
getProjectDirectorForAccount(String chartOfAccountsCode,
String accountNumber) |
String |
getProposalNumberForAccountAndProjectDirector(String chartOfAccountsCode,
String accountNumber,
String projectDirectorId)
Returns the proposal number for an award associated with an account and project director
|
boolean |
hasValidAccountReponsiblityIdIfNotNull(Account account)
determine whether the given account has a valid responsibility id if its responsibility id is not null
|
boolean |
isAwardedByFederalAgency(String chartOfAccountsCode,
String accountNumber,
Collection<String> federalAgencyTypeCodes)
determine if the given account is awarded by a federal agency
|
public ContractsAndGrantsModuleServiceImpl()
public org.kuali.rice.kim.api.identity.Person getProjectDirectorForAccount(String chartOfAccountsCode, String accountNumber)
public org.kuali.rice.kim.api.identity.Person getProjectDirectorForAccount(Account account)
getProjectDirectorForAccount in interface ContractsAndGrantsModuleServiceorg.kuali.ole.integration.service.ContractsAndGrantsModuleService#getProjectDirectorForAccount(org.kuali.ole.coa.businessobject.Account)public boolean isAwardedByFederalAgency(String chartOfAccountsCode, String accountNumber, Collection<String> federalAgencyTypeCodes)
ContractsAndGrantsModuleServiceisAwardedByFederalAgency in interface ContractsAndGrantsModuleServicechartOfAccountsCode - the given account's chart of accounts codeaccountNumber - the given account's account numberfederalAgencyTypeCodes - the given federal agency type codeorg.kuali.ole.integration.service.ContractsAndGrantsModuleService#isAwardedByFederalAgency(java.lang.String,
java.lang.String, java.util.List)protected AwardAccount getPrimaryAwardAccount(String chartOfAccountsCode, String accountNumber)
account - the given accountpublic List<Integer> getAllAccountReponsiblityIds()
ContractsAndGrantsModuleServicegetAllAccountReponsiblityIds in interface ContractsAndGrantsModuleServiceContractsAndGrantsModuleService.getAllAccountReponsiblityIds()public boolean hasValidAccountReponsiblityIdIfNotNull(Account account)
ContractsAndGrantsModuleServicehasValidAccountReponsiblityIdIfNotNull in interface ContractsAndGrantsModuleServiceaccount - the given accountorg.kuali.ole.integration.cg.ContractsAndGrantsModuleService#hasValidAccountReponsiblityIdIfExists(org.kuali.ole.coa.businessobject.Account)protected int getMaxiumAccountResponsibilityId()
public org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
public AgencyService getAgencyService()
public CfdaService getCfdaService()
public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public List<String> getParentUnits(String unitNumber)
getParentUnits in interface ContractsAndGrantsModuleServicepublic String getProposalNumberForAccountAndProjectDirector(String chartOfAccountsCode, String accountNumber, String projectDirectorId)
ContractsAndGrantsModuleServicegetProposalNumberForAccountAndProjectDirector in interface ContractsAndGrantsModuleServiceCopyright © 2004–2015 The Kuali Foundation. All rights reserved.