Class S2SProposalPersonServiceImpl

java.lang.Object
org.kuali.coeus.s2sgen.impl.person.S2SProposalPersonServiceImpl
All Implemented Interfaces:
S2SProposalPersonService

@Component("s2SProposalPersonService") public class S2SProposalPersonServiceImpl extends Object implements S2SProposalPersonService
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.kuali.coeus.common.api.person.attr.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, 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.ProposalPersonContract
    getPrincipalInvestigator(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract pdDoc)
    This method is to get PrincipalInvestigator from person list

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • S2SProposalPersonServiceImpl

      public S2SProposalPersonServiceImpl()
  • Method Details

    • getNKeyPersons

      public List<org.kuali.coeus.propdev.api.person.ProposalPersonContract> getNKeyPersons(List<? extends org.kuali.coeus.propdev.api.person.ProposalPersonContract> proposalPersons, int n)
      This method limits the number of key persons to n, returns list of key persons.
      Specified by:
      getNKeyPersons in interface S2SProposalPersonService
      Parameters:
      proposalPersons - list of ProposalPersonContract
      n - number of key persons that are considered as not extra persons
      Returns:
      list of ProposalPersonContract
    • getPrincipalInvestigator

      public 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
      Specified by:
      getPrincipalInvestigator in interface S2SProposalPersonService
      Parameters:
      pdDoc - Proposal development document.
      Returns:
      ProposalPerson PrincipalInvestigator for the proposal.
    • getCoInvestigators

      public 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.
      Specified by:
      getCoInvestigators in interface S2SProposalPersonService
      Returns:
      List of Co-Investigators ProposalPersonContract.
    • getKeyPersons

      public 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.
      Specified by:
      getKeyPersons in interface S2SProposalPersonService
      Returns:
      List of Key Persons ProposalPersonContract.
    • getCitizenship

      public org.kuali.coeus.common.api.person.attr.CitizenshipType getCitizenship(org.kuali.coeus.propdev.api.person.ProposalPersonContract proposalPerson)
      Implementation should return one of the enums defined in PHS398CareerDevelopmentAwardSup11V11 form schema. For now, it returns US RESIDENT as default
      Specified by:
      getCitizenship in interface S2SProposalPersonService
    • getPersonUei

      public String getPersonUei(org.kuali.coeus.propdev.api.person.ProposalPersonContract proposalPerson)
      Description copied from interface: S2SProposalPersonService
      Return the UEI of a proposal person, at this time will only return a value if the person is a rolodex contact.
      Specified by:
      getPersonUei in interface S2SProposalPersonService
      Returns:
      UEI from rolodex contact or null