1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.time.position.service;
17
18 import org.kuali.hr.time.position.Position;
19 import org.springframework.cache.annotation.Cacheable;
20
21 import java.sql.Date;
22 import java.util.List;
23
24 public interface PositionService {
25 @Cacheable(value= Position.CACHE_NAME, key="'hrPositionId=' + #p0")
26 public Position getPosition(String hrPositionId);
27
28 @Cacheable(value= Position.CACHE_NAME, key="'hrPositionNbr=' + #p0 + '|' + 'effectiveDate=' + #p1")
29 public Position getPosition(String hrPositionNbr, Date effectiveDate);
30
31 List<Position> getPositions(String positionNum, String workArea, String descr, Date fromEffdt, Date toEffdt, String active, String showHist);
32 }