TaskLIstItem
's overall information and list of
+ * TaskSummaryItem
with more detailed information specific for each user.
+ *
+ * @author Andrey Balan
+ */
+public class TaskSummary {
+
+ private TaskListItem taskListItem;
+
+ private TaskSummaryItem[] taskSummaryItems;
+
+ public TaskSummary(TaskListItem taskListItem, TaskSummaryItem[] taskSummaryItems) {
+ this.taskListItem = taskListItem;
+
+ this.taskSummaryItems = taskSummaryItems;
+ }
+
+ // **********************************************************
+ // Get/Set methods
+ // **********************************************************
+
+ public TaskListItem getTaskListItem() {
+ return taskListItem;
+ }
+ public void setTaskListItem(TaskListItem taskListItem) {
+ this.taskListItem = taskListItem;
+ }
+
+ public TaskSummaryItem[] getTaskSummaryItems() {
+ return taskSummaryItems;
+ }
+
+
+}
+
\ No newline at end of file
Index: lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/dto/TaskSummaryItem.java
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/dto/Attic/TaskSummaryItem.java,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/dto/TaskSummaryItem.java 28 Mar 2008 02:21:27 -0000 1.1
@@ -0,0 +1,88 @@
+/****************************************************************
+ * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ * =============================================================
+ * License Information: http://lamsfoundation.org/licensing/lams/2.0/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2.0
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA
+ *
+ * http://www.gnu.org/licenses/gpl.txt
+ * ****************************************************************
+ */
+
+/* $Id: TaskSummaryItem.java,v 1.1 2008/03/28 02:21:27 andreyb Exp $ */
+package org.lamsfoundation.lams.tool.taskList.dto;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+import org.lamsfoundation.lams.tool.taskList.model.TaskListItemAttachment;
+import org.lamsfoundation.lams.tool.taskList.model.TaskListItemComment;
+import org.lamsfoundation.lams.tool.taskList.model.TaskListUser;
+
+/**
+ * DTO object which is used in a task summary page in monitoring. Contains
+ * partial information for TaskSummary
object specific for
+ * current user and TaskLIstItem
object.
+ *
+ * @author Andrey Balan
+ */
+public class TaskSummaryItem {
+
+ private TaskListUser user;
+ private boolean completed;
+ private Date date;
+
+ private List
- |
- |||
- |
-
- |
-
- |
- |
---|---|---|---|
-
-
- |
- |||
- ${item.itemTitle} - | -
- |
-
- |
- |
+ |
+
+ |
+
+ |
+ |
+
+
+ |
+ |||
+ ${item.title} + | ++ ${item.createBy.loginName} + | ++ ${summary.visitNumbers[status.index]} + | +