158159160161162163164
return (TaskData)getObject(TaskData.class, id); } public TaskData[] getCurrentTasksForPerson(int personId) throws DatabaseQueryException { return (TaskData[])toArray(TaskData.class, new TaskQueryHelper(personId).getCurrentActiveTasksForPerson()); }
163164165166167168169
new TaskQueryHelper(personId).getCurrentActiveTasksForPerson()); } public TaskData[] getPlannedTasksForPerson(int personId) throws DatabaseQueryException { return (TaskData[])toArray(TaskData.class, new TaskQueryHelper(personId).getCurrentPendingTasksForPerson()); }