Index: lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/dao/TaskListItemVisitDAO.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/dao/TaskListItemVisitDAO.java,v diff -u -r1.4 -r1.4.2.1 --- lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/dao/TaskListItemVisitDAO.java 17 Jan 2014 22:18:14 -0000 1.4 +++ lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/dao/TaskListItemVisitDAO.java 9 Feb 2016 18:41:24 -0000 1.4.2.1 @@ -35,32 +35,37 @@ */ public interface TaskListItemVisitDAO extends DAO { - /** - * Returns TaskListItemVisitLog which corresponds to specified taskListItemUid and userId. - * - * @param itemUid specified taskListItemUid - * @param userId specified userId - * @return TaskListItemVisitLog wich corresponds to specified taskListItemUid and userId - */ - public TaskListItemVisitLog getTaskListItemLog(Long itemUid,Long userId); - - /** - * Return list of taskListItemVisitLogs which corresponds to specified sessionId and itemUid - * - * @param sessionId specified sessionId - * @param itemUid specified itemUid - * @return list of taskListItemVisitLogs which corresponds to specified sessionId and itemUid - */ - public List getTaskListItemLogBySession(Long sessionId,Long itemUid); - + /** + * Returns TaskListItemVisitLog which corresponds to specified taskListItemUid and userId. + * + * @param itemUid + * specified taskListItemUid + * @param userId + * specified userId + * @return TaskListItemVisitLog wich corresponds to specified taskListItemUid and userId + */ + TaskListItemVisitLog getTaskListItemLog(Long itemUid, Long userId); - /** - * - * - * @param toolSessionId - * @param userUid - * @return - */ - public int getTasksCompletedCountByUser(Long toolSessionId ,Long userUid); + /** + * Return list of taskListItemVisitLogs which corresponds to specified sessionId and itemUid + * + * @param sessionId + * specified sessionId + * @param itemUid + * specified itemUid + * @return list of taskListItemVisitLogs which corresponds to specified sessionId and itemUid + */ + List getTaskListItemLogBySession(Long sessionId, Long itemUid); + /** + * + * + * @param toolSessionId + * @param userId + * @return + */ + int getCountCompletedTasksByUser(Long toolSessionId, Long userId); + + int getCountCompletedTasksBySessionAndItem(Long toolSessionId, Long itemUid); + } Index: lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/dao/TaskListUserDAO.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/dao/TaskListUserDAO.java,v diff -u -r1.2 -r1.2.12.1 --- lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/dao/TaskListUserDAO.java 2 Apr 2008 05:07:56 -0000 1.2 +++ lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/dao/TaskListUserDAO.java 9 Feb 2016 18:41:24 -0000 1.2.12.1 @@ -23,8 +23,10 @@ /* $$Id$$ */ package org.lamsfoundation.lams.tool.taskList.dao; +import java.util.Collection; import java.util.List; +import org.lamsfoundation.lams.tool.taskList.dto.TaskListUserDTO; import org.lamsfoundation.lams.tool.taskList.model.TaskListUser; /** @@ -35,29 +37,72 @@ */ public interface TaskListUserDAO extends DAO { - /** - * Returns user with the specified userID and sessionId. - * - * @param userID specified userID - * @param sessionId specified sessionId - * @return user with the specified userID and sessionId - */ - TaskListUser getUserByUserIDAndSessionID(Long userID, Long sessionId); + /** + * Returns user with the specified userID and sessionId. + * + * @param userID + * specified userID + * @param sessionId + * specified sessionId + * @return user with the specified userID and sessionId + */ + TaskListUser getUserByUserIDAndSessionID(Long userID, Long sessionId); - /** - * Returns user with the specified userID and contentId. - * - * @param userId specified userID - * @param contentId specified contentId - * @return user with the specified userID and contentId - */ - TaskListUser getUserByUserIDAndContentID(Long userId, Long contentId); + /** + * Returns user with the specified userID and contentId. + * + * @param userId + * specified userID + * @param contentId + * specified contentId + * @return user with the specified userID and contentId + */ + TaskListUser getUserByUserIDAndContentID(Long userId, Long contentId); - /** - * Returns list of users corresponds to specified sessionId. - * - * @param sessionId specified sessionId - * @return list of users corresponds to specified sessionId - */ - List getBySessionID(Long sessionId); + /** + * Returns list of users corresponds to specified sessionId. + * + * @param sessionId + * specified sessionId + * @return list of users corresponds to specified sessionId + */ + List getBySessionID(Long sessionId); + + /** + * Returns paged users for jqGrid based on sessionId. + * + * @param sessionId + * @param page + * @param size + * @param sortBy + * @param sortOrder + * @param searchString + * @return + */ + Collection getPagedUsersBySession(Long sessionId, int page, int size, String sortBy, + String sortOrder, String searchString); + + /** + * Returns paged users for jqGrid based on sessionId and taskListItemUid. + * + * @param sessionId + * @param taskListItemUid + * @param page + * @param size + * @param sortBy + * @param sortOrder + * @param searchString + * @return + */ + Collection getPagedUsersBySessionAndItem(Long sessionId, Long taskListItemUid, int page, int size, String sortBy, + String sortOrder, String searchString); + + /** + * Returns total number of users in a specified session. + * + * @param sessionId + * @param searchString + * @return + */ + int getCountPagedUsersBySession(Long sessionId, String searchString); } Index: lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/dto/ReflectDTO.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/dto/ReflectDTO.java,v diff -u -r1.3 -r1.3.12.1 --- lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/dto/ReflectDTO.java 30 May 2008 09:13:33 -0000 1.3 +++ lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/dto/ReflectDTO.java 9 Feb 2016 18:41:24 -0000 1.3.12.1 @@ -1,5 +1,7 @@ package org.lamsfoundation.lams.tool.taskList.dto; +import java.util.Date; + import org.lamsfoundation.lams.tool.taskList.model.TaskListUser; /** @@ -8,60 +10,82 @@ * @author Dapeng Ni */ public class ReflectDTO { - private Long userUid; - private String fullName; - private String loginName; - private boolean hasRefection; - private String reflectInstrctions; - private boolean finishReflection; - private String reflect; - - public ReflectDTO(TaskListUser user) { - this.setLoginName(user.getLoginName()); - this.setFullName(user.getFirstName()+" "+user.getLastName()); - this.setUserUid(user.getUid()); - } - - public boolean isFinishReflection() { - return finishReflection; - } - public void setFinishReflection(boolean finishReflection) { - this.finishReflection = finishReflection; - } - public String getFullName() { - return fullName; - } - public void setFullName(String fullName) { - this.fullName = fullName; - } - public boolean isHasRefection() { - return hasRefection; - } - public void setHasRefection(boolean hasRefection) { - this.hasRefection = hasRefection; - } - public String getLoginName() { - return loginName; - } - public void setLoginName(String loginName) { - this.loginName = loginName; - } - public String getReflect() { - return reflect; - } - public void setReflect(String reflect) { - this.reflect = reflect; - } - public String getReflectInstrctions() { - return reflectInstrctions; - } - public void setReflectInstructions(String reflectInstrctions) { - this.reflectInstrctions = reflectInstrctions; - } - public Long getUserUid() { - return userUid; - } - public void setUserUid(Long userUid) { - this.userUid = userUid; - } + private Long userUid; + private String fullName; + private String loginName; + private boolean hasRefection; + private String reflectInstrctions; + private boolean finishReflection; + private String reflect; + private Date date; + + public ReflectDTO(TaskListUser user) { + this.setLoginName(user.getLoginName()); + this.setFullName(user.getFirstName() + " " + user.getLastName()); + this.setUserUid(user.getUid()); + } + + public boolean isFinishReflection() { + return finishReflection; + } + + public void setFinishReflection(boolean finishReflection) { + this.finishReflection = finishReflection; + } + + public String getFullName() { + return fullName; + } + + public void setFullName(String fullName) { + this.fullName = fullName; + } + + public boolean isHasRefection() { + return hasRefection; + } + + public void setHasRefection(boolean hasRefection) { + this.hasRefection = hasRefection; + } + + public String getLoginName() { + return loginName; + } + + public void setLoginName(String loginName) { + this.loginName = loginName; + } + + public String getReflect() { + return reflect; + } + + public void setReflect(String reflect) { + this.reflect = reflect; + } + + public String getReflectInstrctions() { + return reflectInstrctions; + } + + public void setReflectInstructions(String reflectInstrctions) { + this.reflectInstrctions = reflectInstrctions; + } + + public Long getUserUid() { + return userUid; + } + + public void setUserUid(Long userUid) { + this.userUid = userUid; + } + + public Date getDate() { + return date; + } + + public void setDate(Date date) { + this.date = date; + } } Fisheye: Tag 1.2.2.1 refers to a dead (removed) revision in file `lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/dto/SessionDTO.java'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.8.12.1 refers to a dead (removed) revision in file `lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/dto/Summary.java'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.2.2.1 refers to a dead (removed) revision in file `lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/dto/TaskListUserDTO.java'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.2.2.1 refers to a dead (removed) revision in file `lams_tool_task/web/pages/monitoring/daterestriction.jsp'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_task/web/pages/monitoring/itemsummary.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/monitoring/itemsummary.jsp,v diff -u -r1.7 -r1.7.2.1 --- lams_tool_task/web/pages/monitoring/itemsummary.jsp 3 Apr 2014 19:12:01 -0000 1.7 +++ lams_tool_task/web/pages/monitoring/itemsummary.jsp 9 Feb 2016 18:41:24 -0000 1.7.2.1 @@ -1,169 +1,179 @@ - - + <%@ include file="/common/taglibs.jsp"%> + + + + + - - <fmt:message key="label.learning.title" /> - - <%@ include file="/common/header.jsp"%> - - + + <fmt:message key="label.learning.title" /> + <%@ include file="/common/header.jsp"%> + + + + + + + + + + + + - - -
+ +
-

- -

+

+ +

-
- +
+ - - () - -
-
+ + () + +
+
- -
    - -
  • - (: ${item.parentTaskName}) -
  • + +
      + +
    • + (: ${item.parentTaskName}) +
    • - + +
    • + +
    • +
      + + +
      • - +
      • - +
      +
      - -
        -
      • - -
      • -
      -
      - - + +
    • + +
    • +
      + + +
      • - +
      • - - - -
          -
        • - -
        • -
        -
        -
      -
      -
      -
      - - - - -

      ${groupSummary.sessionName}

      +
    - - + + +
    +
    - - - - - - - - - - - - + + +
    + +
    + ${sessionDto.sessionName} +
    +
    + +

    + ${groupSummary.sessionName} +

    +
    -
    - +
    - - - ? - - - - -
    - -
    +
    +
- - - - - - - - - - - - - - - - - - - -
    - -
  • - -
  • -
    - - -
  • - + + +
+ - - - - - - + + - - - - - - - - - - - - - - - - - - - - - +
Index: lams_tool_task/web/pages/monitoring/statistic.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/monitoring/statistic.jsp,v diff -u -r1.7 -r1.7.2.1 --- lams_tool_task/web/pages/monitoring/statistic.jsp 3 Apr 2014 19:12:01 -0000 1.7 +++ lams_tool_task/web/pages/monitoring/statistic.jsp 9 Feb 2016 18:41:24 -0000 1.7.2.1 @@ -1,17 +1,17 @@ <%@ include file="/common/taglibs.jsp"%> - + - +
- + <%-- display group name on first row--%> -

${summary.sessionName}

+

${sessionDto.sessionName}

@@ -26,7 +26,7 @@ - + @@ -46,14 +46,11 @@
- ${summary.visitNumbers[status.index]} + ${sessionDto.visitNumbers[status.index]}
- - - Index: lams_tool_task/web/pages/monitoring/summary.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/monitoring/summary.jsp,v diff -u -r1.20.2.2 -r1.20.2.3 --- lams_tool_task/web/pages/monitoring/summary.jsp 4 May 2015 17:01:18 -0000 1.20.2.2 +++ lams_tool_task/web/pages/monitoring/summary.jsp 9 Feb 2016 18:41:24 -0000 1.20.2.3 @@ -1,12 +1,24 @@ <%@ include file="/common/taglibs.jsp"%> - + - - + + + + - + - + +

@@ -47,233 +129,34 @@
-<%-- Summary list --%> - +<%-- Summary list --%> +
- - -

${summary.sessionName}

-

- - - - - - - + - - - - - - - +
+ +
+ ${sessionDto.sessionName} +
+
-
- +
- - - - - - - -
- -
+
+ - - - - - - - - - - - - - - - - - - - - - - - [ for ${user.loginName}] - - - - - - - - -
- - - <%-- Reflection list --%> - - - -

- - - - - - - - - - - - - - - -
- - - -
- - - - - - - - -
-
-
- - + - -
-<%-- Overall TaskList information --%> -

- +
+ + <%@ include file="parts/reflections.jsp"%> + - - - -

-
- - - -<%@include file="daterestriction.jsp"%> +<%@include file="parts/advanceoptions.jsp"%> +<%@include file="parts/daterestriction.jsp"%> \ No newline at end of file Fisheye: Tag 1.4.2.1 refers to a dead (removed) revision in file `lams_tool_task/web/pages/monitoring/userlist.jsp'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1.2.1 refers to a dead (removed) revision in file `lams_tool_task/web/pages/monitoring/parts/advanceoptions.jsp'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1.2.1 refers to a dead (removed) revision in file `lams_tool_task/web/pages/monitoring/parts/daterestriction.jsp'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.3.2.1 refers to a dead (removed) revision in file `lams_tool_task/web/pages/monitoring/parts/notebook.jsp'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1.2.1 refers to a dead (removed) revision in file `lams_tool_task/web/pages/monitoring/parts/reflections.jsp'. Fisheye: No comparison available. Pass `N' to diff?