|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.module.external.kc.service.impl.ContractsAndGrantsModuleServiceImpl
public class ContractsAndGrantsModuleServiceImpl
Constructor Summary | |
---|---|
ContractsAndGrantsModuleServiceImpl()
|
Method Summary | |
---|---|
protected AwardAccount |
determineAwardAccountForFederalAgency(List<AwardAccount> awardAccounts)
Looks for the newest award account object, otherwise returns null. |
protected AwardAccount |
determineAwardAccountForProjectDirector(List<AwardAccount> awardAccounts)
Looks for first non-blank project director id within a list of award accounts sorted newest first and returns the award account object, otherwise returns null. |
List<Integer> |
getAllAccountReponsiblityIds()
get all possible account responsibility ids on contracts & grants Accounts |
protected List<AwardAccount> |
getAwardAccounts(String chartCode,
String accountNumber)
|
protected InstitutionalUnitService |
getInstitutionalUnitWebService()
|
protected int |
getMaxiumAccountResponsibilityId()
retieve the maxium account responsiblity id from system parameter |
org.kuali.rice.kns.service.ParameterService |
getParameterService()
Returns an implementation of the parameterService |
List<String> |
getParentUnits(String unitNumber)
|
org.kuali.rice.kim.bo.Person |
getProjectDirectorForAccount(Account account)
|
org.kuali.rice.kim.bo.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,
List<String> federalAgencyTypeCodes)
determine if the given account is awarded by a federal agency |
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContractsAndGrantsModuleServiceImpl()
Method Detail |
---|
protected List<AwardAccount> getAwardAccounts(String chartCode, String accountNumber)
protected InstitutionalUnitService getInstitutionalUnitWebService()
public List<String> getParentUnits(String unitNumber)
getParentUnits
in interface ContractsAndGrantsModuleService
public org.kuali.rice.kim.bo.Person getProjectDirectorForAccount(String chartOfAccountsCode, String accountNumber)
getProjectDirectorForAccount
in interface ContractsAndGrantsModuleService
ContractsAndGrantsModuleService.getProjectDirectorForAccount(java.lang.String,
java.lang.String)
protected AwardAccount determineAwardAccountForProjectDirector(List<AwardAccount> awardAccounts)
awardAccountDTOs
-
public org.kuali.rice.kim.bo.Person getProjectDirectorForAccount(Account account)
getProjectDirectorForAccount
in interface ContractsAndGrantsModuleService
org.kuali.kfs.integration.service.ContractsAndGrantsModuleService#getProjectDirectorForAccount(org.kuali.kfs.coa.businessobject.Account)
public boolean isAwardedByFederalAgency(String chartOfAccountsCode, String accountNumber, List<String> federalAgencyTypeCodes)
ContractsAndGrantsModuleService
isAwardedByFederalAgency
in interface ContractsAndGrantsModuleService
chartOfAccountsCode
- the given account's chart of accounts codeaccountNumber
- the given account's account numberfederalAgencyTypeCodes
- the given federal agency type code
org.kuali.kfs.integration.service.ContractsAndGrantsModuleService#isAwardedByFederalAgency(java.lang.String,
java.lang.String, java.util.List)
protected AwardAccount determineAwardAccountForFederalAgency(List<AwardAccount> awardAccounts)
awardAccounts
-
public List<Integer> getAllAccountReponsiblityIds()
ContractsAndGrantsModuleService
getAllAccountReponsiblityIds
in interface ContractsAndGrantsModuleService
ContractsAndGrantsModuleService.getAllAccountReponsiblityIds()
public boolean hasValidAccountReponsiblityIdIfNotNull(Account account)
ContractsAndGrantsModuleService
hasValidAccountReponsiblityIdIfNotNull
in interface ContractsAndGrantsModuleService
account
- the given account
org.kuali.kfs.integration.cg.ContractsAndGrantsModuleService#hasValidAccountReponsiblityIdIfExists(org.kuali.kfs.coa.businessobject.Account)
public String getProposalNumberForAccountAndProjectDirector(String chartOfAccountsCode, String accountNumber, String projectDirectorId)
ContractsAndGrantsModuleService
getProposalNumberForAccountAndProjectDirector
in interface ContractsAndGrantsModuleService
protected int getMaxiumAccountResponsibilityId()
public org.kuali.rice.kns.service.ParameterService getParameterService()
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |