org.kuali.hr.time.task.service
Class TaskServiceImpl

java.lang.Object
  extended by org.kuali.hr.time.task.service.TaskServiceImpl
All Implemented Interfaces:
TaskService

public class TaskServiceImpl
extends Object
implements TaskService


Constructor Summary
TaskServiceImpl()
           
 
Method Summary
 Task getMaxTask()
           
 Task getTask(Long task, Date asOfDate)
          Fetch Task of a particular date
 Task getTask(String tkTaskId)
          Fetch Task of a particular id
 int getTaskCount(Long task)
          get the count of Tasks by given task
 List<Task> getTasks(String task, String description, String workArea, Date fromEffdt, Date toEffdt)
           
 void saveTask(Task task)
          Save a given Task
 void saveTasks(List<Task> tasks)
          Save a List of Tasks
 void setTaskDao(TaskDao taskDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskServiceImpl

public TaskServiceImpl()
Method Detail

getTask

public Task getTask(String tkTaskId)
Description copied from interface: TaskService
Fetch Task of a particular id

Specified by:
getTask in interface TaskService
Returns:

getTask

public Task getTask(Long task,
                    Date asOfDate)
Description copied from interface: TaskService
Fetch Task of a particular date

Specified by:
getTask in interface TaskService
Returns:

saveTask

public void saveTask(Task task)
Description copied from interface: TaskService
Save a given Task

Specified by:
saveTask in interface TaskService

saveTasks

public void saveTasks(List<Task> tasks)
Description copied from interface: TaskService
Save a List of Tasks

Specified by:
saveTasks in interface TaskService

setTaskDao

public void setTaskDao(TaskDao taskDao)

getMaxTask

public Task getMaxTask()
Specified by:
getMaxTask in interface TaskService

getTasks

public List<Task> getTasks(String task,
                           String description,
                           String workArea,
                           Date fromEffdt,
                           Date toEffdt)
Specified by:
getTasks in interface TaskService

getTaskCount

public int getTaskCount(Long task)
Description copied from interface: TaskService
get the count of Tasks by given task

Specified by:
getTaskCount in interface TaskService
Returns:
int


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.