|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.hr.time.department.service.DepartmentServiceImpl
public class DepartmentServiceImpl
Constructor Summary | |
---|---|
DepartmentServiceImpl()
|
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. |
void |
populateDepartmentRoles(Department department)
A helper method to populate the roles for the given department. |
void |
setDepartmentDao(DepartmentDao departmentDao)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DepartmentServiceImpl()
Method Detail |
---|
public List<Department> getDepartments(String chart, Date asOfDate)
DepartmentService
getDepartments
in interface DepartmentService
chart
- The search criteriaasOfDate
- Effective date
public Department getDepartment(String department, Date asOfDate)
DepartmentService
getDepartment
in interface DepartmentService
public void setDepartmentDao(DepartmentDao departmentDao)
public void populateDepartmentRoles(Department department)
DepartmentService
populateDepartmentRoles
in interface DepartmentService
department
- The department for which we need roles populated.public Department getDepartment(String hrDeptId)
DepartmentService
getDepartment
in interface DepartmentService
public List<Department> getDepartmentByLocation(String location)
DepartmentService
getDepartmentByLocation
in interface DepartmentService
public int getDepartmentCount(String department)
DepartmentService
getDepartmentCount
in interface DepartmentService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |