@ Override public List < ProposalPersonContract > getCoInvestigators ( ProposalDevelopmentDocumentContract pdDoc ) { List < ProposalPersonContract > investigators = new ArrayList <> ( ) ; if ( pdDoc != null ) { for ( ProposalPersonContract person : pdDoc . getDevelopmentProposal ( ) . getProposalPersons ( ) ) { //multi-pis are still considered co-i within S2S. if ( person . isCoInvestigator ( ) || person . isMultiplePi ( ) ) { investigators . add ( person ) ; } } } return investigators ; }
Finds all the Investigators associated with the provided pdDoc .