Examples of toLogCriteria()


Examples of cn.edu.zju.acm.onlinejudge.form.LogSearchForm.toLogCriteria()

      if (errors.size() > 0) {
        context.setAttribute("logs", new ArrayList<AccessLog>());
            return handleFailure(mapping, context, errors);
      }
       
      LogCriteria criteria = searchForm.toLogCriteria();
        if (criteria.getTimeStart() == null) {
          criteria.setTimeStart(new Date(System.currentTimeMillis() - 24 * 3600 * 1000));
        }
        List<ActionLog> logs = PerformanceManager.getInstance().getActionDashboard(criteria, searchForm.getOrderBy());
       
View Full Code Here

Examples of cn.edu.zju.acm.onlinejudge.form.LogSearchForm.toLogCriteria()

        if (page < 0) {
            page = 1;
        }
        int logsPerPage = 20;

        LogCriteria criteria = searchForm.toLogCriteria();

        List<AccessLog> logs =
                PerformanceManager.getInstance().searchLogs(criteria, (page - 1) * 20, logsPerPage,
                                                            searchForm.getOrderBy());

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.