org.kuali.hr.time.clock.location.service
Interface ClockLocationRuleService

All Known Implementing Classes:
ClockLocationRuleServiceImpl

public interface ClockLocationRuleService


Method Summary
 ClockLocationRule getClockLocationRule(String tkClockLocationRuleId)
           
 List<ClockLocationRule> getClockLocationRule(String dept, Long workArea, String principalId, Long jobNumber, Date asOfDate)
          Fetch Clock Location Rule based on criteria
 List<ClockLocationRule> getClockLocationRules(Date fromEffdt, Date toEffdt, String principalId, String jobNumber, String dept, String workArea, String active, String showHistory)
           
 List<ClockLocationRule> getNewerVersionClockLocationRule(String dept, Long workArea, String principalId, Long jobNumber, Date asOfDate)
           
 void populateIPAddressesForCLR(ClockLocationRule clr)
          populate ip addresses for given ClockLocationRule
 void processClockLocationRule(ClockLog clockLog, Date asOfDate)
          Process clock location rule based on clock log passed in
 

Method Detail

getClockLocationRule

@Cacheable(value="KPME/ClockLocationRule",
           key="\'dept=\' + #p0+ \'|\' + \'workArea=\' + #p1+ \'|\' + \'principalId=\' + #p2+ \'|\' + \'jobNumber=\' + #p3+ \'|\' + \'asOfDate=\' + #p4")
List<ClockLocationRule> getClockLocationRule(String dept,
                                                       Long workArea,
                                                       String principalId,
                                                       Long jobNumber,
                                                       Date asOfDate)
Fetch Clock Location Rule based on criteria

Parameters:
dept -
workArea -
principalId -
jobNumber -
asOfDate -
Returns:

processClockLocationRule

void processClockLocationRule(ClockLog clockLog,
                              Date asOfDate)
Process clock location rule based on clock log passed in

Parameters:
clockLog -
asOfDate -

getNewerVersionClockLocationRule

@Cacheable(value="KPME/ClockLocationRule",
           key="\'{getNewerVersionClockLocationRule}\' + \'dept=\' + #p0+ \'|\' + \'workArea=\' + #p1+ \'|\' + \'principalId=\' + #p2+ \'|\' + \'jobNumber=\' + #p3+ \'|\' + \'asOfDate=\' + #p4")
List<ClockLocationRule> getNewerVersionClockLocationRule(String dept,
                                                                   Long workArea,
                                                                   String principalId,
                                                                   Long jobNumber,
                                                                   Date asOfDate)
Parameters:
dept -
workArea -
principalId -
jobNumber -
asOfDate -
Returns:

getClockLocationRule

@Cacheable(value="KPME/ClockLocationRule",
           key="\'tkClockLocationRuleId=\' + #p0")
ClockLocationRule getClockLocationRule(String tkClockLocationRuleId)
Parameters:
tkClockLocationRuleId -
Returns:

populateIPAddressesForCLR

void populateIPAddressesForCLR(ClockLocationRule clr)
populate ip addresses for given ClockLocationRule

Parameters:
clr -

getClockLocationRules

List<ClockLocationRule> getClockLocationRules(Date fromEffdt,
                                              Date toEffdt,
                                              String principalId,
                                              String jobNumber,
                                              String dept,
                                              String workArea,
                                              String active,
                                              String showHistory)


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