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> 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 -


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