org.kuali.kfs.integration.cg
Class ContractsAndGrantsModuleServiceNoOp

java.lang.Object
  extended by org.kuali.kfs.integration.cg.ContractsAndGrantsModuleServiceNoOp
All Implemented Interfaces:
ContractsAndGrantsModuleService

public class ContractsAndGrantsModuleServiceNoOp
extends Object
implements ContractsAndGrantsModuleService


Constructor Summary
ContractsAndGrantsModuleServiceNoOp()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContractsAndGrantsModuleServiceNoOp

public ContractsAndGrantsModuleServiceNoOp()
Method Detail

getAllAccountReponsiblityIds

public List<Integer> getAllAccountReponsiblityIds()
Description copied from interface: ContractsAndGrantsModuleService
get all possible account responsibility ids on contracts & grants Accounts

Specified by:
getAllAccountReponsiblityIds in interface ContractsAndGrantsModuleService
Returns:
all possible account responsibility ids on contracts & grants Accounts

getProjectDirectorForAccount

public org.kuali.rice.kim.bo.Person getProjectDirectorForAccount(String chartOfAccountsCode,
                                                                 String accountNumber)
Specified by:
getProjectDirectorForAccount in interface ContractsAndGrantsModuleService

getProjectDirectorForAccount

public org.kuali.rice.kim.bo.Person getProjectDirectorForAccount(Account account)
Specified by:
getProjectDirectorForAccount in interface ContractsAndGrantsModuleService

hasValidAccountReponsiblityIdIfNotNull

public boolean hasValidAccountReponsiblityIdIfNotNull(Account account)
Description copied from interface: ContractsAndGrantsModuleService
determine whether the given account has a valid responsibility id if its responsibility id is not null

Specified by:
hasValidAccountReponsiblityIdIfNotNull in interface ContractsAndGrantsModuleService
Parameters:
account - the given account
Returns:
true if the given account is a contracts & grants account with a valid responsibility id; otherwise, return false

isAwardedByFederalAgency

public boolean isAwardedByFederalAgency(String chartOfAccountsCode,
                                        String accountNumber,
                                        List<String> federalAgencyTypeCodes)
Description copied from interface: ContractsAndGrantsModuleService
determine if the given account is awarded by a federal agency

Specified by:
isAwardedByFederalAgency in interface ContractsAndGrantsModuleService
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

getParentUnits

public List<String> getParentUnits(String unitNumber)
Specified by:
getParentUnits in interface ContractsAndGrantsModuleService

getProposalNumberForAccountAndProjectDirector

public String getProposalNumberForAccountAndProjectDirector(String chartOfAccountsCode,
                                                            String accountNumber,
                                                            String projectDirectorId)
Description copied from interface: ContractsAndGrantsModuleService
Returns the proposal number for an award associated with an account and project director

Specified by:
getProposalNumberForAccountAndProjectDirector in interface ContractsAndGrantsModuleService
Returns:


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