Interface S2SProposalPersonService
- All Known Implementing Classes:
S2SProposalPersonServiceImpl
public interface S2SProposalPersonService
-
Method Summary
Modifier and TypeMethodDescriptionorg.kuali.coeus.common.api.person.attr.CitizenshipTypegetCitizenship(org.kuali.coeus.propdev.api.person.ProposalPersonContract proposalPerson) This method is used to get the citizenship from either warehouse or from person custom elementList<org.kuali.coeus.propdev.api.person.ProposalPersonContract>getCoInvestigators(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract pdDoc) Finds all the co-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> keyPersons, int n) This method limits the number of key persons to n, returns list of key persons.getPersonUei(org.kuali.coeus.propdev.api.person.ProposalPersonContract proposalPerson) Return the UEI of a proposal person, at this time will only return a value if the person is a rolodex contact.org.kuali.coeus.propdev.api.person.ProposalPersonContractgetPrincipalInvestigator(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract pdDoc) This method is to get PrincipalInvestigator from person list
-
Method Details
-
getNKeyPersons
List<org.kuali.coeus.propdev.api.person.ProposalPersonContract> getNKeyPersons(List<? extends org.kuali.coeus.propdev.api.person.ProposalPersonContract> keyPersons, int n) This method limits the number of key persons to n, returns list of key persons.- Parameters:
keyPersons- list ofProposalPersonContractn- number of key persons that are considered as not extra persons- Returns:
- list of
ProposalPersonContract
-
getPrincipalInvestigator
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- Parameters:
pdDoc- Proposal development document.- Returns:
- ProposalPerson PrincipalInvestigator for the proposal.
-
getCoInvestigators
List<org.kuali.coeus.propdev.api.person.ProposalPersonContract> getCoInvestigators(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract pdDoc) Finds all the co-investigators associated with the provided pdDoc.- Returns:
- List of Co-Investigators
ProposalPersonContract.
-
getKeyPersons
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.- Returns:
- List of Key Persons
ProposalPersonContract.
-
getCitizenship
org.kuali.coeus.common.api.person.attr.CitizenshipType getCitizenship(org.kuali.coeus.propdev.api.person.ProposalPersonContract proposalPerson) This method is used to get the citizenship from either warehouse or from person custom element -
getPersonUei
Return the UEI of a proposal person, at this time will only return a value if the person is a rolodex contact.- Returns:
- UEI from rolodex contact or null
-