org.kuali.kfs.integration.cg
Interface ContractsAndGrantsModuleService

All Known Implementing Classes:
ContractsAndGrantsModuleServiceImpl, ContractsAndGrantsModuleServiceImpl, ContractsAndGrantsModuleServiceNoOp

public interface ContractsAndGrantsModuleService


Method Summary
 List<Integer> getAllAccountReponsiblityIds()
          get all possible account responsibility ids on contracts & grants Accounts
 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
 

Method Detail

getProjectDirectorForAccount

org.kuali.rice.kim.bo.Person getProjectDirectorForAccount(String chartOfAccountsCode,
                                                          String accountNumber)

getProjectDirectorForAccount

org.kuali.rice.kim.bo.Person getProjectDirectorForAccount(Account account)

isAwardedByFederalAgency

boolean isAwardedByFederalAgency(String chartOfAccountsCode,
                                 String accountNumber,
                                 List<String> federalAgencyTypeCodes)
determine if the given account is awarded by a federal agency

Parameters:
chartOfAccountsCode - the given account's chart of accounts code
accountNumber - the given account's account number
federalAgencyTypeCodes - the given federal agency type code
Returns:
true if the given account is funded by a federal agency or associated with federal pass through indicator; otherwise, false

getAllAccountReponsiblityIds

List<Integer> getAllAccountReponsiblityIds()
get all possible account responsibility ids on contracts & grants Accounts

Returns:
all possible account responsibility ids on contracts & grants Accounts

hasValidAccountReponsiblityIdIfNotNull

boolean hasValidAccountReponsiblityIdIfNotNull(Account account)
determine whether the given account has a valid responsibility id if its responsibility id is not null

Parameters:
account - the given account
Returns:
true if the given account is a contracts & grants account with a valid responsibility id; otherwise, return false

getParentUnits

List<String> getParentUnits(String unitNumber)

getProposalNumberForAccountAndProjectDirector

String getProposalNumberForAccountAndProjectDirector(String chartOfAccountsCode,
                                                     String accountNumber,
                                                     String projectDirectorId)
Returns the proposal number for an award associated with an account and project director

Parameters:
chartOfAccountsCode -
accountNumber -
Returns:


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.