org.kuali.hr.time.shiftdiff.rule.service
Interface ShiftDifferentialRuleService

All Known Implementing Classes:
ShiftDifferentialRuleServiceImpl

public interface ShiftDifferentialRuleService


Method Summary
 List<ShiftDifferentialRule> getShiftDifferentalRules(String location, String hrSalGroup, String payGrade, String pyCalendarGroup, Date asOfDate)
          Fetch a given ShiftDifferentialRule based on criteria passed in
 ShiftDifferentialRule getShiftDifferentialRule(String tkShiftDifferentialRuleId)
          Fetch a ShiftDifferentialRule object for a given id
 void processShiftDifferentialRules(TimesheetDocument timesheetDocument, TkTimeBlockAggregate aggregate)
          Process a given TkTimeBlockAggregate with appropriate shift differential rules
 void saveOrUpdate(List<ShiftDifferentialRule> shiftDifferentialRules)
          Save or Update List of ShiftDifferentialRule objects
 void saveOrUpdate(ShiftDifferentialRule shiftDifferentialRule)
          Save or Update a ShiftDifferentialRule object
 

Method Detail

saveOrUpdate

@CacheEvict(value="KPME/ShiftDifferentialRule",
            allEntries=true)
void saveOrUpdate(List<ShiftDifferentialRule> shiftDifferentialRules)
Save or Update List of ShiftDifferentialRule objects

Parameters:
shiftDifferentialRules -

saveOrUpdate

@CacheEvict(value="KPME/ShiftDifferentialRule",
            allEntries=true)
void saveOrUpdate(ShiftDifferentialRule shiftDifferentialRule)
Save or Update a ShiftDifferentialRule object

Parameters:
shiftDifferentialRule -

getShiftDifferentialRule

@Cacheable(value="KPME/ShiftDifferentialRule",
           key="\'tkShiftDifferentialRuleId=\' + #p0")
ShiftDifferentialRule getShiftDifferentialRule(String tkShiftDifferentialRuleId)
Fetch a ShiftDifferentialRule object for a given id

Parameters:
tkShiftDifferentialRuleId -
Returns:

getShiftDifferentalRules

@Cacheable(value="KPME/ShiftDifferentialRule",
           key="\'location=\' + #p0+ \'|\' + \'hrSalGroup=\' + #p1+ \'|\' + \'payGrade=\' + #p2+ \'|\' + \'pyCalendarGroup=\' + #p3+ \'|\' + \'asOfDate=\' + #p4")
List<ShiftDifferentialRule> getShiftDifferentalRules(String location,
                                                               String hrSalGroup,
                                                               String payGrade,
                                                               String pyCalendarGroup,
                                                               Date asOfDate)
Fetch a given ShiftDifferentialRule based on criteria passed in

Parameters:
location -
hrSalGroup -
payGrade -
pyCalendarGroup -
asOfDate -
Returns:

processShiftDifferentialRules

void processShiftDifferentialRules(TimesheetDocument timesheetDocument,
                                   TkTimeBlockAggregate aggregate)
Process a given TkTimeBlockAggregate with appropriate shift differential rules

Parameters:
timesheetDocument -
aggregate -


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