public interface ClockLocationRuleService
Modifier and Type | Method and Description |
---|---|
ClockLocationRule |
getClockLocationRule(String tkClockLocationRuleId) |
List<ClockLocationRule> |
getClockLocationRule(String groupKeyCode,
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,
List<ClockLocationRule> clockLocationRuleObjs) |
List<ClockLocationRule> |
getNewerVersionClockLocationRule(String groupKeyCode,
String dept,
Long workArea,
String principalId,
Long jobNumber,
org.joda.time.LocalDate asOfDate) |
boolean |
isInvalidIPClockLocation(String groupKeyCode,
String dept,
Long workArea,
String principalId,
Long jobNumber,
String ipAddress,
org.joda.time.LocalDate asOfDate) |
void |
populateIPAddressesForCLR(ClockLocationRule clr)
populate ip addresses for given ClockLocationRule
|
void |
processClockLocationRule(ClockLogBo clockLog,
org.joda.time.LocalDate asOfDate)
Process clock location rule based on clock log passed in
|
@Cacheable(value="http://kpme.kuali.org/tklm/ClockLocationRule", key="\'dept=\' + #p0+ \'|\' + \'workArea=\' + #p1+ \'|\' + \'principalId=\' + #p2+ \'|\' + \'jobNumber=\' + #p3+ \'|\' + \'asOfDate=\' + #p4") List<ClockLocationRule> getClockLocationRule(String groupKeyCode, String dept, Long workArea, String principalId, Long jobNumber, org.joda.time.LocalDate asOfDate)
dept
- workArea
- principalId
- jobNumber
- asOfDate
- void processClockLocationRule(ClockLogBo clockLog, org.joda.time.LocalDate asOfDate)
clockLog
- asOfDate
- @Cacheable(value="http://kpme.kuali.org/tklm/ClockLocationRule", key="\'{getNewerVersionClockLocationRule}\' + \'dept=\' + #p0+ \'|\' + \'workArea=\' + #p1+ \'|\' + \'principalId=\' + #p2+ \'|\' + \'jobNumber=\' + #p3+ \'|\' + \'asOfDate=\' + #p4") List<ClockLocationRule> getNewerVersionClockLocationRule(String groupKeyCode, String dept, Long workArea, String principalId, Long jobNumber, org.joda.time.LocalDate asOfDate)
dept
- workArea
- principalId
- jobNumber
- asOfDate
- @Cacheable(value="http://kpme.kuali.org/tklm/ClockLocationRule", key="\'tkClockLocationRuleId=\' + #p0") ClockLocationRule getClockLocationRule(String tkClockLocationRuleId)
tkClockLocationRuleId
- void populateIPAddressesForCLR(ClockLocationRule clr)
clr
- boolean isInvalidIPClockLocation(String groupKeyCode, String dept, Long workArea, String principalId, Long jobNumber, String ipAddress, org.joda.time.LocalDate asOfDate)
List<ClockLocationRule> getClockLocationRules(String userPrincipalId, List<ClockLocationRule> clockLocationRuleObjs)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.