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