public class AwardProjectPersonsAuditRule extends Object implements org.kuali.rice.krad.rules.rule.DocumentAuditRule
| Modifier and Type | Field and Description |
|---|---|
static String |
AWARD_PROJECT_PERSON_LIST_ERROR_KEY |
static String |
ERROR_AWARD_PROJECT_PERSON_LEAD_UNIT_REQUIRED |
static String |
ERROR_AWARD_PROJECT_PERSON_MULTIPLE_PI_EXISTS |
static String |
ERROR_AWARD_PROJECT_PERSON_NO_PI |
static String |
ERROR_AWARD_PROJECT_PERSON_UNCERTIFIED |
static String |
ERROR_AWARD_PROJECT_PERSON_UNIT_DETAILS_REQUIRED |
| Constructor and Description |
|---|
AwardProjectPersonsAuditRule()
Constructs a AwardContactAuditRule.java.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkCertifiedInvestigators(Award award) |
protected boolean |
checkLeadUnits(List<AwardPerson> awardPersons) |
protected boolean |
checkPrincipalInvestigators(List<AwardPerson> awardPersons) |
protected boolean |
checkUnits(List<AwardPerson> awardPersons) |
AwardService |
getAwardService() |
InstitutionalProposalService |
getInstitutionalProposalService() |
org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService() |
protected List<AwardPersonUnit> |
getPIUnits(List<AwardPerson> projectPersons) |
protected List<AwardPerson> |
getPrincipalInvestigators(List<AwardPerson> projectPersons) |
boolean |
processRunAuditBusinessRules(org.kuali.rice.krad.document.Document document) |
protected void |
reportAndCreateAuditCluster()
This method creates and adds the AuditCluster to the Global AuditErrorMap.
|
void |
setAwardService(AwardService awardService) |
void |
setInstitutionalProposalService(InstitutionalProposalService institutionalProposalService) |
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService) |
public static final String AWARD_PROJECT_PERSON_LIST_ERROR_KEY
public static final String ERROR_AWARD_PROJECT_PERSON_NO_PI
public static final String ERROR_AWARD_PROJECT_PERSON_MULTIPLE_PI_EXISTS
public static final String ERROR_AWARD_PROJECT_PERSON_UNIT_DETAILS_REQUIRED
public static final String ERROR_AWARD_PROJECT_PERSON_LEAD_UNIT_REQUIRED
public static final String ERROR_AWARD_PROJECT_PERSON_UNCERTIFIED
public AwardProjectPersonsAuditRule()
public boolean processRunAuditBusinessRules(org.kuali.rice.krad.document.Document document)
processRunAuditBusinessRules in interface org.kuali.rice.krad.rules.rule.DocumentAuditRuleorg.kuali.core.rule.DocumentAuditRule#processRunAuditBusinessRules(org.kuali.core.document.Document)protected void reportAndCreateAuditCluster()
protected boolean checkPrincipalInvestigators(List<AwardPerson> awardPersons)
protected boolean checkUnits(List<AwardPerson> awardPersons)
protected boolean checkLeadUnits(List<AwardPerson> awardPersons)
protected List<AwardPerson> getPrincipalInvestigators(List<AwardPerson> projectPersons)
protected List<AwardPersonUnit> getPIUnits(List<AwardPerson> projectPersons)
protected boolean checkCertifiedInvestigators(Award award)
public org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
public AwardService getAwardService()
public void setAwardService(AwardService awardService)
public InstitutionalProposalService getInstitutionalProposalService()
public void setInstitutionalProposalService(InstitutionalProposalService institutionalProposalService)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.