org.kuali.kfs.module.bc.document.validation.impl
Class SalarySettingRules

java.lang.Object
  extended by org.kuali.kfs.module.bc.document.validation.impl.SalarySettingRules
All Implemented Interfaces:
SalarySettingRule, org.kuali.rice.kns.rule.BusinessRule

public class SalarySettingRules
extends Object
implements SalarySettingRule

the rule implementation for the actions of salary setting component


Constructor Summary
SalarySettingRules()
           
 
Method Summary
 boolean processAddAppointmentFunding(List<PendingBudgetConstructionAppointmentFunding> existingAppointmentFundings, PendingBudgetConstructionAppointmentFunding appointmentFunding)
          process the rules before the given appointment funding is created
 boolean processAdjustSalaraySettingLinePercent(PendingBudgetConstructionAppointmentFunding appointmentFunding)
          process the rules before adjusting the salary amount of the given appointment funding
 boolean processNormalizePayrateAndAmount(PendingBudgetConstructionAppointmentFunding appointmentFunding)
          process the rules before the pay rate and salary amount of the given appointment funding can be normalized
 boolean processQuickSaveAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding)
          process the rules before the given appointment funding is saved
 boolean processSaveAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding)
          process the rules before the given appointment funding is saved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SalarySettingRules

public SalarySettingRules()
Method Detail

processQuickSaveAppointmentFunding

public boolean processQuickSaveAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding)
Description copied from interface: SalarySettingRule
process the rules before the given appointment funding is saved

Specified by:
processQuickSaveAppointmentFunding in interface SalarySettingRule
Parameters:
appointmentFunding - the given appointment funding
Returns:
true if the appointment funding can pass all rule before saved, otherwise, false
See Also:
SalarySettingRule.processQuickSaveAppointmentFunding(org.kuali.kfs.module.bc.businessobject.PendingBudgetConstructionAppointmentFunding)

processSaveAppointmentFunding

public boolean processSaveAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding)
Description copied from interface: SalarySettingRule
process the rules before the given appointment funding is saved

Specified by:
processSaveAppointmentFunding in interface SalarySettingRule
Parameters:
appointmentFunding - the given appointment funding
Returns:
true if the appointment funding can pass all rule before saved, otherwise, false
See Also:
org.kuali.kfs.module.bc.document.validation.SalarySettingRule#processSaveAppointmentFunding(java.util.List, org.kuali.kfs.module.bc.businessobject.PendingBudgetConstructionAppointmentFunding)

processAddAppointmentFunding

public boolean processAddAppointmentFunding(List<PendingBudgetConstructionAppointmentFunding> existingAppointmentFundings,
                                            PendingBudgetConstructionAppointmentFunding appointmentFunding)
Description copied from interface: SalarySettingRule
process the rules before the given appointment funding is created

Specified by:
processAddAppointmentFunding in interface SalarySettingRule
Parameters:
existingAppointmentFundings - the existing appointment fundings
appointmentFunding - the given appointment funding
Returns:
true if the appointment funding can pass all rule before created, otherwise, false
See Also:
SalarySettingRule.processAddAppointmentFunding(java.util.List, org.kuali.kfs.module.bc.businessobject.PendingBudgetConstructionAppointmentFunding)

processAdjustSalaraySettingLinePercent

public boolean processAdjustSalaraySettingLinePercent(PendingBudgetConstructionAppointmentFunding appointmentFunding)
Description copied from interface: SalarySettingRule
process the rules before adjusting the salary amount of the given appointment funding

Specified by:
processAdjustSalaraySettingLinePercent in interface SalarySettingRule
Parameters:
appointmentFunding - the given appointment funding
Returns:
true if the appointment funding can pass all rule before adjusting, otherwise, false
See Also:
SalarySettingRule.processAdjustSalaraySettingLinePercent(org.kuali.kfs.module.bc.businessobject.PendingBudgetConstructionAppointmentFunding)

processNormalizePayrateAndAmount

public boolean processNormalizePayrateAndAmount(PendingBudgetConstructionAppointmentFunding appointmentFunding)
Description copied from interface: SalarySettingRule
process the rules before the pay rate and salary amount of the given appointment funding can be normalized

Specified by:
processNormalizePayrateAndAmount in interface SalarySettingRule
Parameters:
appointmentFunding - the given appointment funding
Returns:
true if the appointment funding can pass all rule before normalizing, otherwise, false
See Also:
SalarySettingRule.processNormalizePayrateAndAmount(org.kuali.kfs.module.bc.businessobject.PendingBudgetConstructionAppointmentFunding)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.