org.kuali.kpme.tklm.time.rules.clocklocation.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, org.joda.time.LocalDate asOfDate)
          Fetch Clock Location Rule based on criteria
 List<ClockLocationRule> getClockLocationRules(String userPrincipalId, org.joda.time.LocalDate fromEffdt, org.joda.time.LocalDate toEffdt, String principalId, String jobNumber, String dept, String workArea, String active, String showHistory)
           
 List<ClockLocationRule> getNewerVersionClockLocationRule(String dept, Long workArea, String principalId, Long jobNumber, org.joda.time.LocalDate asOfDate)
           
 void populateIPAddressesForCLR(ClockLocationRule clr)
          populate ip addresses for given ClockLocationRule
 void processClockLocationRule(ClockLog clockLog, org.joda.time.LocalDate asOfDate)
          Process clock location rule based on clock log passed in
 

Method Detail

getClockLocationRule

@Cacheable(value="http://kpme.kuali.org/tklm/ClockLocationRule",
           key="\'dept=\' + #p0+ \'|\' + \'workArea=\' + #p1+ \'|\' + \'principalId=\' + #p2+ \'|\' + \'jobNumber=\' + #p3+ \'|\' + \'asOfDate=\' + #p4")
List<ClockLocationRule> getClockLocationRule(String dept,
                                                       Long workArea,
                                                       String principalId,
                                                       Long jobNumber,
                                                       org.joda.time.LocalDate asOfDate)
Fetch Clock Location Rule based on criteria

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

processClockLocationRule

void processClockLocationRule(ClockLog clockLog,
                              org.joda.time.LocalDate asOfDate)
Process clock location rule based on clock log passed in

Parameters:
clockLog -
asOfDate -

getNewerVersionClockLocationRule

@Cacheable(value="http://kpme.kuali.org/tklm/ClockLocationRule",
           key="\'{getNewerVersionClockLocationRule}\' + \'dept=\' + #p0+ \'|\' + \'workArea=\' + #p1+ \'|\' + \'principalId=\' + #p2+ \'|\' + \'jobNumber=\' + #p3+ \'|\' + \'asOfDate=\' + #p4")
List<ClockLocationRule> getNewerVersionClockLocationRule(String dept,
                                                                   Long workArea,
                                                                   String principalId,
                                                                   Long jobNumber,
                                                                   org.joda.time.LocalDate asOfDate)
Parameters:
dept -
workArea -
principalId -
jobNumber -
asOfDate -
Returns:

getClockLocationRule

@Cacheable(value="http://kpme.kuali.org/tklm/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(String userPrincipalId,
                                              org.joda.time.LocalDate fromEffdt,
                                              org.joda.time.LocalDate toEffdt,
                                              String principalId,
                                              String jobNumber,
                                              String dept,
                                              String workArea,
                                              String active,
                                              String showHistory)


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