public class AwardPersonCreditSplitAuditRule extends Object implements org.kuali.rice.krad.rules.rule.DocumentAuditRule
| Modifier and Type | Field and Description |
|---|---|
static String |
AWARD_CREDIT_SPLIT_LIST_ERROR_KEY |
static String |
AWARD_PERSON_CREDIT_SPLIT_ERROR_MSG_KEY |
static String |
AWARD_PERSON_UNIT_CREDIT_SPLIT_ERROR_MSG_KEY |
static String |
AWARD_UNIT_CREDIT_SPLIT_LIST_ERROR_KEY |
| Constructor and Description |
|---|
AwardPersonCreditSplitAuditRule() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
fetchParameterValue(String parmName)
This method fetches the Award Credit Splits enabled system parm
|
protected org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
Collection<InvestigatorCreditType> |
getInvestigatorCreditTypes() |
protected org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService()
Looks up and returns the ParameterService.
|
List<AwardPerson> |
getProjectPersons(AwardDocument awardDocument)
This method prepares all project personnel, and their units, with empty credit splits
for any InvestigatorCreditTypes that aren't already represented.
|
boolean |
isAwardCreditsLimitApplicable()
Determines whether credit limits are applicable
|
boolean |
processRunAuditBusinessRules(org.kuali.rice.krad.document.Document document) |
boolean |
recalculateCreditSplit(AwardDocument awardDocument)
Apply calculation total rules
|
protected void |
reportAndCreateAuditCluster()
This method creates and adds the AuditCluster to the Global AuditErrorMap.
|
public static final String AWARD_CREDIT_SPLIT_LIST_ERROR_KEY
public static final String AWARD_PERSON_CREDIT_SPLIT_ERROR_MSG_KEY
public static final String AWARD_UNIT_CREDIT_SPLIT_LIST_ERROR_KEY
public static final String AWARD_PERSON_UNIT_CREDIT_SPLIT_ERROR_MSG_KEY
public Collection<InvestigatorCreditType> getInvestigatorCreditTypes()
public List<AwardPerson> getProjectPersons(AwardDocument awardDocument)
public boolean isAwardCreditsLimitApplicable()
public boolean recalculateCreditSplit(AwardDocument awardDocument)
protected String fetchParameterValue(String parmName)
parmName - protected org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
protected org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public boolean processRunAuditBusinessRules(org.kuali.rice.krad.document.Document document)
processRunAuditBusinessRules in interface org.kuali.rice.krad.rules.rule.DocumentAuditRuleprotected void reportAndCreateAuditCluster()
Copyright © 2013 The Kuali Foundation. All Rights Reserved.