public interface KeyPersonnelService
ProposalPerson,
ProposalDevelopmentKeyPersonnelAction,
ProposalDevelopmentForm| Modifier and Type | Method and Description |
|---|---|
void |
addUnitToPerson(ProposalPerson person,
ProposalPersonUnit unit)
Add a
instance to a . |
void |
assignLeadUnit(ProposalPerson person,
String unitNumber)
Assigns the lead unit of the proposal to the given principal investigator
|
Map |
calculateCreditSplitTotals(ProposalDevelopmentDocument document)
Everytime something changes that will effect credit split values, this gets called to generate a graph of the
new data.
|
ProposalPersonUnit |
createProposalPersonUnit(String unitId,
ProposalPerson person)
Uses a
obtained from the lookup on the
to create a instance. |
Collection<InvestigatorCreditType> |
getInvestigatorCreditTypes()
Create a
from all the ACTIVE
stored persistently. |
String |
getPersonnelRoleDesc(PersonRolodex person) |
String |
getPrincipalInvestigatorRoleDescription(ProposalDevelopmentDocument document) |
boolean |
hasPrincipalInvestigator(ProposalDevelopmentDocument document)
Determines if a {@link ProposalDevelopmentDocument has a PI composited in it anywhere
|
boolean |
isCoInvestigator(ProposalPerson person)
Determines if a given
ProposalPerson instance is considered a COI. |
boolean |
isCreditSplitEnabled()
Checks if the application-level configuration parameter for credit splits is enabled.
|
boolean |
isInvestigator(ProposalPerson person)
Determines if a given
ProposalPerson instance is considered a PI or COI. |
boolean |
isKeyPerson(ProposalPerson person)
Determines if a given
ProposalPerson instance is considered a KP. |
boolean |
isPrincipalInvestigator(ProposalPerson person)
Determines if a given
ProposalPerson instance is considered a PI. |
boolean |
isRoleReadOnly(ProposalPersonRole role)
Compares the
roleId of the given ProposalPersonRole against the personrole.readonly.roles to see if it is
read only or not. |
boolean |
isRoleReadOnly(String roleId)
Compares the given
roleId against the personrole.readonly.roles to see if it is
read only or not. |
Map<String,String> |
loadKeyPersonnelRoleDescriptions(boolean sponsorIsNih)
Load role descriptions based on whether sponsor is NIH-related
|
void |
populateDocument(ProposalDevelopmentDocument document)
Part of a complete breakfast, it has everything you need to populate Key Personnel into a
|
void |
populateProposalPerson(ProposalPerson person,
ProposalDevelopmentDocument document)
Part of a complete breakfast, it has everything you need to populate Key Personnel
|
void populateDocument(ProposalDevelopmentDocument document)
ProposalDevelopmentDocumentdocument - void populateProposalPerson(ProposalPerson person, ProposalDevelopmentDocument document)
person - document - Collection<InvestigatorCreditType> getInvestigatorCreditTypes()
Collection from all the ACTIVE InvestigatorCreditTypes
stored persistently.Collection of InvestigatorCreditType instances.void addUnitToPerson(ProposalPerson person, ProposalPersonUnit unit)
ProposalPersonUnit instance to a ProposalPerson.person - unit - Map calculateCreditSplitTotals(ProposalDevelopmentDocument document)
document - ProposalPersonUnit createProposalPersonUnit(String unitId, ProposalPerson person)
Unit obtained from the Unit lookup on the
ProposalDevelopmentForm to create a ProposalPersonUnit instance.unitId - boolean isPrincipalInvestigator(ProposalPerson person)
ProposalPerson instance is considered a PI. This is done by comparing the ProposalPersonRole of the
ProposalPerson as a PI role.person - ProposalPerson instance to compareProposalPerson is a PIboolean isCoInvestigator(ProposalPerson person)
ProposalPerson instance is considered a COI. This is done by comparing the ProposalPersonRole of the
ProposalPerson as a COI role.person - ProposalPerson instance to compareProposalPerson is a COIboolean isKeyPerson(ProposalPerson person)
ProposalPerson instance is considered a KP. This is done by comparing the ProposalPersonRole of the
ProposalPerson as a COI role.person - ProposalPerson instance to compareProposalPerson is a COIboolean isInvestigator(ProposalPerson person)
ProposalPerson instance is considered a PI or COI. This is done by comparing the ProposalPersonRole of the
ProposalPerson as a PI or COI role.person - ProposalPerson instance to compareProposalPerson is a PI or COIboolean hasPrincipalInvestigator(ProposalDevelopmentDocument document)
document - ProposalDevelopmentDocument has a PIboolean isCreditSplitEnabled()
CreditSplitboolean isRoleReadOnly(String roleId)
roleId against the personrole.readonly.roles to see if it is
read only or not.roleId - to checkroleId is a value in the personrole.readonly.roles system parameter, and false
if the isRoleReadOnly(ProposalPersonRole)boolean isRoleReadOnly(ProposalPersonRole role)
roleId of the given ProposalPersonRole against the personrole.readonly.roles to see if it is
read only or not.role - to checkrole is a value in the personrole.readonly.roles system parameter, and false
if the role is nullisRoleReadOnly(String)String getPrincipalInvestigatorRoleDescription(ProposalDevelopmentDocument document)
document - to get Sponsor statusvoid assignLeadUnit(ProposalPerson person, String unitNumber)
document - person - PrincipalMap<String,String> loadKeyPersonnelRoleDescriptions(boolean sponsorIsNih)
sponsorIsNih - String getPersonnelRoleDesc(PersonRolodex person)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.