public class ContractsAndGrantsModuleServiceNoOp extends Object implements ContractsAndGrantsModuleService
Constructor and Description |
---|
ContractsAndGrantsModuleServiceNoOp() |
Modifier and Type | Method and Description |
---|---|
List<Integer> |
getAllAccountReponsiblityIds()
get all possible account responsibility ids on contracts & grants Accounts
|
List<String> |
getParentUnits(String unitNumber) |
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 ContractsAndGrantsModuleServiceNoOp()
public List<Integer> getAllAccountReponsiblityIds()
ContractsAndGrantsModuleService
getAllAccountReponsiblityIds
in interface ContractsAndGrantsModuleService
public org.kuali.rice.kim.api.identity.Person getProjectDirectorForAccount(String chartOfAccountsCode, String accountNumber)
getProjectDirectorForAccount
in interface ContractsAndGrantsModuleService
public org.kuali.rice.kim.api.identity.Person getProjectDirectorForAccount(Account account)
getProjectDirectorForAccount
in interface ContractsAndGrantsModuleService
public boolean hasValidAccountReponsiblityIdIfNotNull(Account account)
ContractsAndGrantsModuleService
hasValidAccountReponsiblityIdIfNotNull
in interface ContractsAndGrantsModuleService
account
- the given accountpublic boolean isAwardedByFederalAgency(String chartOfAccountsCode, String accountNumber, Collection<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 codepublic List<String> getParentUnits(String unitNumber)
getParentUnits
in interface ContractsAndGrantsModuleService
public String getProposalNumberForAccountAndProjectDirector(String chartOfAccountsCode, String accountNumber, String projectDirectorId)
ContractsAndGrantsModuleService
getProposalNumberForAccountAndProjectDirector
in interface ContractsAndGrantsModuleService
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.