@Component(value="s2SProposalPersonService") public class S2SProposalPersonServiceImpl extends Object implements S2SProposalPersonService
Constructor and Description |
---|
S2SProposalPersonServiceImpl() |
Modifier and Type | Method and Description |
---|---|
CitizenshipType |
getCitizenship(org.kuali.coeus.propdev.api.person.ProposalPersonContract proposalPerson)
Implementation should return one of the enums defined in PHS398CareerDevelopmentAwardSup11V11 form schema.
|
List<org.kuali.coeus.propdev.api.person.ProposalPersonContract> |
getCoInvestigators(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract pdDoc)
Finds all the Investigators associated with the provided pdDoc.
|
List<org.kuali.coeus.propdev.api.person.ProposalPersonContract> |
getKeyPersons(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract pdDoc)
Finds all the key Person associated with the provided pdDoc.
|
List<org.kuali.coeus.propdev.api.person.ProposalPersonContract> |
getNKeyPersons(List<? extends org.kuali.coeus.propdev.api.person.ProposalPersonContract> proposalPersons,
boolean firstN,
int n)
This method limits the number of key persons to n, returns list of key persons, first n in case firstN is true, or all other
than first n, in case of firstN being false
|
org.kuali.coeus.propdev.api.person.ProposalPersonContract |
getPrincipalInvestigator(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract pdDoc)
This method is to get PrincipalInvestigator from person list
|
public S2SProposalPersonServiceImpl()
public List<org.kuali.coeus.propdev.api.person.ProposalPersonContract> getNKeyPersons(List<? extends org.kuali.coeus.propdev.api.person.ProposalPersonContract> proposalPersons, boolean firstN, int n)
getNKeyPersons
in interface S2SProposalPersonService
proposalPersons
- list of ProposalPersonContract
firstN
- value that determines whether the returned list should contain first n persons or the rest of personsn
- number of key persons that are considered as not extra personsProposalPersonContract
public org.kuali.coeus.propdev.api.person.ProposalPersonContract getPrincipalInvestigator(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract pdDoc)
getPrincipalInvestigator
in interface S2SProposalPersonService
pdDoc
- Proposal development document.public List<org.kuali.coeus.propdev.api.person.ProposalPersonContract> getCoInvestigators(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract pdDoc)
getCoInvestigators
in interface S2SProposalPersonService
ProposalPersonContract
.public List<org.kuali.coeus.propdev.api.person.ProposalPersonContract> getKeyPersons(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract pdDoc)
getKeyPersons
in interface S2SProposalPersonService
ProposalPersonContract
.public CitizenshipType getCitizenship(org.kuali.coeus.propdev.api.person.ProposalPersonContract proposalPerson)
getCitizenship
in interface S2SProposalPersonService
Copyright © 2014–2015 The Kuali Foundation. All rights reserved.