org.kuali.hr.time.task.service
Interface TaskService

All Known Implementing Classes:
TaskServiceImpl

public interface TaskService


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
 

Method Detail

getTask

@Cacheable(value="KPME/Task",
           key="\'tkTaskId=\' + #p0")
Task getTask(String tkTaskId)
Fetch Task of a particular id

Parameters:
tkTaskId -
Returns:

getTask

@Cacheable(value="KPME/Task",
           key="\'task=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
Task getTask(Long task,
                       Date asOfDate)
Fetch Task of a particular date

Parameters:
task -
asOfDate -
Returns:

saveTask

@CacheEvict(value="KPME/Task",
            allEntries=true)
void saveTask(Task task)
Save a given Task

Parameters:
task -

saveTasks

@CacheEvict(value="KPME/Task",
            allEntries=true)
void saveTasks(List<Task> tasks)
Save a List of Tasks

Parameters:
tasks -

getMaxTask

Task getMaxTask()

getTasks

List<Task> getTasks(String task,
                    String description,
                    String workArea,
                    Date fromEffdt,
                    Date toEffdt)

getTaskCount

int getTaskCount(Long task)
get the count of Tasks by given task

Parameters:
task -
Returns:
int


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