|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DepartmentService
Method Summary | |
---|---|
Department |
getDepartment(String hrDeptId)
Fetch department by id |
Department |
getDepartment(String department,
Date asOfDate)
Get Department as of a particular date passed in |
List<Department> |
getDepartmentByLocation(String location)
Fetch department by location |
int |
getDepartmentCount(String department)
get count of department with given department |
List<Department> |
getDepartments(String chart,
Date asOfDate)
Fetches a list of Department objects as of the specified date all of which belong to the indicated chart. |
List<Department> |
getDepartments(String department,
String location,
String descr,
String active,
String showHistory)
|
void |
populateDepartmentRoles(Department department)
A helper method to populate the roles for the given department. |
Method Detail |
---|
@Cacheable(value="KPME/Department", key="\'department=\' + #p0 + \'|\' + \'asOfDate=\' + #p1") Department getDepartment(String department, Date asOfDate)
department
- asOfDate
-
@Cacheable(value="KPME/Department", key="\'chart=\' + #p0 + \'|\' + \'asOfDate=\' + #p1") List<Department> getDepartments(String chart, Date asOfDate)
chart
- The search criteriaasOfDate
- Effective date
void populateDepartmentRoles(Department department)
department
- The department for which we need roles populated.@Cacheable(value="KPME/Department", key="\'hrDeptId=\' + #p0") Department getDepartment(String hrDeptId)
hrDeptId
-
@Cacheable(value="KPME/Department", key="\'location=\' + #p0") List<Department> getDepartmentByLocation(String location)
location
-
int getDepartmentCount(String department)
department
-
List<Department> getDepartments(String department, String location, String descr, String active, String showHistory)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |