public class AwardCreditSplitBean extends Object implements Serializable
| Constructor and Description |
|---|
AwardCreditSplitBean(AwardDocument awardDocument)
This constructor should only be called when no AwardForm is not available
The AwardForm reference is stable during a session, but AwardDocument is not
However, in rule processing, a Form may not be available, especially if from a unit test.
|
AwardCreditSplitBean(AwardForm awardForm) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addToCreditSplit(AwardPerson person) |
protected String |
fetchParameterValue(String parmName)
This method fetches the Award Crddit Splits enabled system parm
|
protected org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
Collection<InvestigatorCreditType> |
getInvestigatorCreditTypes() |
List<AwardPerson> |
getInvestigators()
This method returns all Principal Investigators and Co-Investigators.
|
protected org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService()
Looks up and returns the ParameterService.
|
Map<String,org.kuali.rice.core.api.util.type.KualiDecimal> |
getPersonsTotalsMap()
This method returns the map of credit types to award personnel totals
|
AwardPerson |
getProjectPerson(int index) |
List<AwardPerson> |
getProjectPersons()
This method prepares all project personnel, and their units, with empty credit splits
for any InvestigatorCreditTypes that aren't already represented.
|
Map<String,Map<String,org.kuali.rice.core.api.util.type.KualiDecimal>> |
getUnitTotalsMap() |
boolean |
isAwardCreditsLimitApplicable()
Determines whether credit limits are applicable
|
boolean |
recalculateCreditSplit()
Apply calculation total rules
|
public AwardCreditSplitBean(AwardForm awardForm)
public AwardCreditSplitBean(AwardDocument awardDocument)
public Collection<InvestigatorCreditType> getInvestigatorCreditTypes()
public Map<String,org.kuali.rice.core.api.util.type.KualiDecimal> getPersonsTotalsMap()
public AwardPerson getProjectPerson(int index)
public List<AwardPerson> getProjectPersons()
public List<AwardPerson> getInvestigators()
getProjectPersons()public boolean addToCreditSplit(AwardPerson person)
public Map<String,Map<String,org.kuali.rice.core.api.util.type.KualiDecimal>> getUnitTotalsMap()
public boolean isAwardCreditsLimitApplicable()
public boolean recalculateCreditSplit()
protected String fetchParameterValue(String parmName)
parmName - protected org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
protected org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
Copyright © 2013 The Kuali Foundation. All Rights Reserved.