public class BudgetPersonnelRule extends Object
| Constructor and Description |
|---|
BudgetPersonnelRule()
Creates a new BudgetPersonnelRule setting the required services using the
KraServiceLocator. |
BudgetPersonnelRule(org.kuali.rice.krad.service.BusinessObjectService boService,
org.kuali.rice.coreservice.framework.parameter.ParameterService paramService,
BudgetService budgetService)
Creates a new BudgetPersonnelRule setting the required services.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
processBudgetPersonnelBusinessRules(BudgetDocument budgetDocument) |
boolean |
processCheckBaseSalaryFormat(BudgetDocument budgetDocument) |
boolean |
processCheckCompleteEntriesBusinessRules(BudgetDocument budgetDocument)
This method is to give an error if the person drop down list is not complete because the person entries
is not complete.
|
boolean |
processCheckExistBudgetPersonnelDetailsBusinessRules(BudgetDocument budgetDocument,
BudgetPerson budgetPerson)
This method to check the 'selected' person to delete is not associate with budget personnel details
|
boolean |
processCheckForJobCodeChange(BudgetDocument budgetDocument,
int viewBudgetPeriod)
This method executes the job code change validation rules against the budget document
for a specific budget period.
|
boolean |
processCheckJobCodeObjectCodeCombo(BudgetDocument budgetDocument,
BudgetPersonnelDetails newBudgetPersonnelDetails,
boolean save) |
public BudgetPersonnelRule()
KraServiceLocator.public BudgetPersonnelRule(org.kuali.rice.krad.service.BusinessObjectService boService,
org.kuali.rice.coreservice.framework.parameter.ParameterService paramService,
BudgetService budgetService)
Default access for easy unit testing.
boService - the BusinessObjectServiceparamService - the ParameterServicebudgetService - the BudgetServiceNullPointerException - if any of the services are null.public boolean processCheckCompleteEntriesBusinessRules(BudgetDocument budgetDocument)
budgetDocument - public boolean processCheckExistBudgetPersonnelDetailsBusinessRules(BudgetDocument budgetDocument, BudgetPerson budgetPerson)
budgetDocument - budgetPerson - public boolean processCheckBaseSalaryFormat(BudgetDocument budgetDocument)
public boolean processBudgetPersonnelBusinessRules(BudgetDocument budgetDocument)
public boolean processCheckForJobCodeChange(BudgetDocument budgetDocument, int viewBudgetPeriod)
budgetDocument - the budget documentviewBudgetPeriod - the budget period number.NullPointerException - if the budgetDocument is nullIllegalArgumentException - if the viewBudgetPeriod < 1public boolean processCheckJobCodeObjectCodeCombo(BudgetDocument budgetDocument, BudgetPersonnelDetails newBudgetPersonnelDetails, boolean save)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.