|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.hr.time.workarea.service.WorkAreaServiceImpl
public class WorkAreaServiceImpl
Constructor Summary | |
---|---|
WorkAreaServiceImpl()
|
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 |
WorkAreaDao |
getWorkAreaDao()
|
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 |
populateWorkAreaTasks(WorkArea workArea)
A helper method to populate the tasks for the given WorkArea. |
void |
saveOrUpdate(WorkArea workArea)
Save or Update given work area |
void |
setWorkAreaDao(WorkAreaDao workAreaDao)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkAreaServiceImpl()
Method Detail |
---|
public List<WorkArea> getWorkAreas(String department, Date asOfDate)
WorkAreaService
getWorkAreas
in interface WorkAreaService
department
- The department we want to use.asOfDate
- An effective date.
public WorkArea getWorkArea(Long workArea, Date asOfDate)
WorkAreaService
getWorkArea
in interface WorkAreaService
public void saveOrUpdate(WorkArea workArea)
WorkAreaService
saveOrUpdate
in interface WorkAreaService
public WorkAreaDao getWorkAreaDao()
public void setWorkAreaDao(WorkAreaDao workAreaDao)
public void populateWorkAreaTasks(WorkArea workArea)
WorkAreaService
populateWorkAreaTasks
in interface WorkAreaService
workArea
- The WorkArea for which we need roles populated.public void populateWorkAreaRoles(WorkArea workArea)
WorkAreaService
populateWorkAreaRoles
in interface WorkAreaService
workArea
- The WorkArea for which we need roles populated.public WorkArea getWorkArea(String tkWorkAreaId)
getWorkArea
in interface WorkAreaService
public Long getNextWorkAreaKey()
getNextWorkAreaKey
in interface WorkAreaService
public List<WorkArea> getWorkAreas(String dept, String workArea, String workAreaDescr, Date fromEffdt, Date toEffdt, String active, String showHistory)
getWorkAreas
in interface WorkAreaService
public int getWorkAreaCount(String dept, Long workArea)
WorkAreaService
getWorkAreaCount
in interface WorkAreaService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |