|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkAreaService
Method Summary | |
---|---|
Long |
getNextWorkAreaKey()
|
WorkArea |
getWorkArea(Long workArea,
Date asOfDate)
Fetch WorkArea as of a particular date |
WorkArea |
getWorkArea(String tkWorkAreaId)
|
int |
getWorkAreaCount(String dept,
Long workArea)
Fetch the count of the work areas with the given department and workarea |
List<WorkArea> |
getWorkAreas(String department,
Date asOfDate)
Fetch a List of WorkArea objects for a given department as of the indicated date. |
List<WorkArea> |
getWorkAreas(String dept,
String workArea,
String workAreaDescr,
Date fromEffdt,
Date toEffdt,
String active,
String showHistory)
|
void |
populateWorkAreaRoles(WorkArea workArea)
A helper method to populate the roles for the given WorkArea. |
void |
saveOrUpdate(WorkArea workArea)
Save or Update given work area |
Method Detail |
---|
@Cacheable(value="KPME/WorkArea", key="\'workArea=\' + #p0 + \'|\' + \'asOfDate=\' + #p1") WorkArea getWorkArea(Long workArea, Date asOfDate)
workArea
- asOfDate
-
@Cacheable(value="KPME/WorkArea", key="\'department=\' + #p0 + \'|\' + \'asOfDate=\' + #p1") List<WorkArea> getWorkAreas(String department, Date asOfDate)
department
- The department we want to use.asOfDate
- An effective date.
@CacheEvict(value="KPME/WorkArea", allEntries=true) void saveOrUpdate(WorkArea workArea)
workArea
- void populateWorkAreaRoles(WorkArea workArea)
workArea
- The WorkArea for which we need roles populated.@Cacheable(value="KPME/WorkArea", key="\'tkWorkAreaId=\' + #p0") WorkArea getWorkArea(String tkWorkAreaId)
Long getNextWorkAreaKey()
List<WorkArea> getWorkAreas(String dept, String workArea, String workAreaDescr, Date fromEffdt, Date toEffdt, String active, String showHistory)
int getWorkAreaCount(String dept, Long workArea)
dept
- workArea
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |