Browse Source

Merge pull request #322 from tonkatu05/lastaflute-develop

Lastaflute develop
Shinsuke Sugaya 10 năm trước cách đây
mục cha
commit
555d54991d
28 tập tin đã thay đổi với 491 bổ sung722 xóa
  1. 0 4
      pom.xml
  2. 0 343
      src/main/java/org/codelibs/fess/app/web/admin/CrawlingSessionAction.java
  3. 0 331
      src/main/java/org/codelibs/fess/app/web/admin/JobLogAction.java
  4. 1 0
      src/main/java/org/codelibs/fess/app/web/admin/crawl/AdminCrawlAction.java
  5. 1 1
      src/main/java/org/codelibs/fess/app/web/admin/crawl/CrawlEditForm.java
  6. 1 1
      src/main/java/org/codelibs/fess/app/web/admin/crawl/CrawlSearchForm.java
  7. 201 0
      src/main/java/org/codelibs/fess/app/web/admin/crawlingsession/AdminCrawlingsessionAction.java
  8. 6 14
      src/main/java/org/codelibs/fess/app/web/admin/crawlingsession/CrawlingSessionEditForm.java
  9. 32 0
      src/main/java/org/codelibs/fess/app/web/admin/crawlingsession/CrawlingSessionSearchForm.java
  10. 191 0
      src/main/java/org/codelibs/fess/app/web/admin/joblog/AdminJoblogAction.java
  11. 6 13
      src/main/java/org/codelibs/fess/app/web/admin/joblog/JobLogEditForm.java
  12. 32 0
      src/main/java/org/codelibs/fess/app/web/admin/joblog/JobLogSearchForm.java
  13. 1 0
      src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java
  14. 1 1
      src/main/java/org/codelibs/fess/app/web/admin/labeltype/LabelTypeEditForm.java
  15. 1 1
      src/main/java/org/codelibs/fess/app/web/admin/labeltype/LabelTypeSearchForm.java
  16. 1 0
      src/main/java/org/codelibs/fess/app/web/admin/pathmapping/AdminPathmappingAction.java
  17. 1 1
      src/main/java/org/codelibs/fess/app/web/admin/pathmapping/PathMappingEditForm.java
  18. 1 1
      src/main/java/org/codelibs/fess/app/web/admin/pathmapping/PathMappingSearchForm.java
  19. 1 0
      src/main/java/org/codelibs/fess/app/web/admin/requestheader/AdminRequestheaderAction.java
  20. 1 1
      src/main/java/org/codelibs/fess/app/web/admin/requestheader/RequestHeaderEditForm.java
  21. 1 1
      src/main/java/org/codelibs/fess/app/web/admin/requestheader/RequestHeaderSearchForm.java
  22. 1 0
      src/main/java/org/codelibs/fess/app/web/admin/webauthentication/AdminWebauthenticationAction.java
  23. 1 1
      src/main/java/org/codelibs/fess/app/web/admin/webauthentication/WebAuthenticationEditForm.java
  24. 1 1
      src/main/java/org/codelibs/fess/app/web/admin/webauthentication/WebAuthenticationSearchForm.java
  25. 1 0
      src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java
  26. 1 1
      src/main/java/org/codelibs/fess/app/web/admin/webconfig/WebConfigEditForm.java
  27. 1 1
      src/main/java/org/codelibs/fess/app/web/admin/webconfig/WebConfigSearchForm.java
  28. 5 5
      src/main/webapp/WEB-INF/view/common/admin2/sidebar.jsp

+ 0 - 4
pom.xml

@@ -91,7 +91,6 @@
 					<encoding>UTF-8</encoding>
 					<!-- TODO remove -->
 					<excludes>
-						<exclude>org/codelibs/fess/app/web/admin/JobLogAction.java</exclude>
 						<exclude>org/codelibs/fess/app/web/admin/WizardAction.java</exclude>
 						<exclude>org/codelibs/fess/app/web/admin/SearchListForm.java</exclude>
 						<exclude>org/codelibs/fess/app/web/admin/dict/UserDictForm.java</exclude>
@@ -99,7 +98,6 @@
 						<exclude>org/codelibs/fess/app/web/admin/dict/UserDictAction.java</exclude>
 						<exclude>org/codelibs/fess/app/web/admin/dict/SynonymAction.java</exclude>
 						<exclude>org/codelibs/fess/app/web/admin/DocumentAction.java</exclude>
-						<exclude>org/codelibs/fess/app/web/admin/JobLogForm.java</exclude>
 						<exclude>org/codelibs/fess/app/web/admin/SystemAction.java</exclude>
 						<exclude>org/codelibs/fess/app/web/admin/DictForm.java</exclude>
 						<exclude>org/codelibs/fess/app/web/admin/SystemForm.java</exclude>
@@ -114,8 +112,6 @@
 						<exclude>org/codelibs/fess/app/web/admin/SuggestElevateWordAction.java</exclude>
 						<exclude>org/codelibs/fess/app/web/admin/LogForm.java</exclude>
 						<exclude>org/codelibs/fess/app/web/admin/DataAction.java</exclude>
-						<exclude>org/codelibs/fess/app/web/admin/CrawlingSessionAction.java</exclude>
-						<exclude>org/codelibs/fess/app/web/admin/CrawlingSessionForm.java</exclude>
 						<exclude>org/codelibs/fess/app/web/admin/WizardForm.java</exclude>
 						<exclude>org/codelibs/fess/app/web/admin/FailureUrlForm.java</exclude>
 						<exclude>org/codelibs/fess/app/web/base/AbstractLoginAction.java</exclude>

+ 0 - 343
src/main/java/org/codelibs/fess/app/web/admin/CrawlingSessionAction.java

@@ -1,343 +0,0 @@
-/*
- * Copyright 2009-2015 the CodeLibs Project and the Others.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
- * either express or implied. See the License for the specific language
- * governing permissions and limitations under the License.
- */
-
-package org.codelibs.fess.app.web.admin;
-
-import java.beans.Beans;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import javax.annotation.Resource;
-
-import org.codelibs.core.beans.util.BeanUtil;
-import org.codelibs.fess.annotation.Token;
-import org.codelibs.fess.app.web.base.FessAdminAction;
-import org.codelibs.fess.crud.CommonConstants;
-import org.codelibs.fess.crud.CrudMessageException;
-import org.codelibs.fess.crud.util.SAStrutsUtil;
-import org.codelibs.fess.es.exentity.CrawlingSession;
-import org.codelibs.fess.es.exentity.CrawlingSessionInfo;
-import org.codelibs.fess.helper.JobHelper;
-import org.codelibs.fess.helper.SystemHelper;
-import org.codelibs.fess.app.pager.CrawlingSessionPager;
-import org.codelibs.fess.app.service.CrawlingSessionService;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class CrawlingSessionAction extends FessAdminAction {
-
-    private static final Logger logger = LoggerFactory.getLogger(CrawlingSessionAction.class);
-
-    //for list
-    public List<CrawlingSession> crawlingSessionItems;
-
-    // for edit/confirm/delete
-    //@ActionForm
-    @Resource
-    protected CrawlingSessionForm crawlingSessionForm;
-
-    @Resource
-    protected CrawlingSessionService crawlingSessionService;
-
-    @Resource
-    protected CrawlingSessionPager crawlingSessionPager;
-
-    @Resource
-    protected SystemHelper systemHelper;
-
-    @Resource
-    protected JobHelper jobHelper;
-
-    public String getHelpLink() {
-        return systemHelper.getHelpLink("crawlingSession");
-    }
-
-    protected String displayList(final boolean redirect) {
-        // page navi
-        crawlingSessionItems = crawlingSessionService.getCrawlingSessionList(crawlingSessionPager);
-
-        // restore from pager
-        BeanUtil.copyBeanToBean(crawlingSessionPager, crawlingSessionForm.searchParams,
-                option -> option.exclude(CommonConstants.PAGER_CONVERSION_RULE));
-
-        if (redirect) {
-            return "index?redirect=true";
-        } else {
-            return "index.jsp";
-        }
-    }
-
-    public List<CrawlingSessionInfo> getCrawlingSessionInfoItems() {
-        if (crawlingSessionForm.id != null) {
-            return crawlingSessionService.getCrawlingSessionInfoList(crawlingSessionForm.id);
-        }
-        return Collections.emptyList();
-    }
-
-    //@Execute(validator = false, input = "error.jsp")
-    public String deleteall() {
-        crawlingSessionService.deleteOldSessions(jobHelper.getRunningSessionIdSet());
-        SAStrutsUtil.addSessionMessage("success.crawling_session_delete_all");
-        return displayList(true);
-    }
-
-    //@Execute(validator = false, input = "error.jsp")
-    public String index() {
-        return displayList(false);
-    }
-
-    //@Execute(validator = false, input = "error.jsp", urlPattern = "list/{pageNumber}")
-    public String list() {
-        // page navi
-        if (StringUtil.isNotBlank(crawlingSessionForm.pageNumber)) {
-            try {
-                crawlingSessionPager.setCurrentPageNumber(Integer.parseInt(crawlingSessionForm.pageNumber));
-            } catch (final NumberFormatException e) {
-                if (logger.isDebugEnabled()) {
-                    logger.debug("Invalid value: " + crawlingSessionForm.pageNumber, e);
-                }
-            }
-        }
-
-        return displayList(false);
-    }
-
-    //@Execute(validator = false, input = "error.jsp")
-    public String search() {
-        BeanUtil.copyBeanToBean(crawlingSessionForm.searchParams, crawlingSessionPager,
-                option -> option.exclude(CommonConstants.PAGER_CONVERSION_RULE));
-
-        return displayList(false);
-    }
-
-    //@Execute(validator = false, input = "error.jsp")
-    public String reset() {
-        crawlingSessionPager.clear();
-
-        return displayList(false);
-    }
-
-    //@Execute(validator = false, input = "error.jsp")
-    public String back() {
-        return displayList(false);
-    }
-
-    @Token(save = true, validate = false)
-    //@Execute(validator = false, input = "error.jsp")
-    public String editagain() {
-        return "edit.jsp";
-    }
-
-    //@Execute(validator = false, input = "error.jsp", urlPattern = "confirmpage/{crudMode}/{id}")
-    public String confirmpage() {
-        if (crawlingSessionForm.crudMode != CommonConstants.CONFIRM_MODE) {
-            throw new ActionMessagesException("errors.crud_invalid_mode", new Object[] { CommonConstants.CONFIRM_MODE,
-                    crawlingSessionForm.crudMode });
-        }
-
-        loadCrawlingSession();
-
-        return "confirm.jsp";
-    }
-
-    @Token(save = true, validate = false)
-    //@Execute(validator = false, input = "error.jsp")
-    public String createpage() {
-        // page navi
-        crawlingSessionForm.initialize();
-        crawlingSessionForm.crudMode = CommonConstants.CREATE_MODE;
-
-        return "edit.jsp";
-    }
-
-    @Token(save = true, validate = false)
-    //@Execute(validator = false, input = "error.jsp", urlPattern = "editpage/{crudMode}/{id}")
-    public String editpage() {
-        if (crawlingSessionForm.crudMode != CommonConstants.EDIT_MODE) {
-            throw new ActionMessagesException("errors.crud_invalid_mode", new Object[] { CommonConstants.EDIT_MODE,
-                    crawlingSessionForm.crudMode });
-        }
-
-        loadCrawlingSession();
-
-        return "edit.jsp";
-    }
-
-    @Token(save = true, validate = false)
-    //@Execute(validator = false, input = "error.jsp")
-    public String editfromconfirm() {
-        crawlingSessionForm.crudMode = CommonConstants.EDIT_MODE;
-
-        loadCrawlingSession();
-
-        return "edit.jsp";
-    }
-
-    @Token(save = false, validate = true, keep = true)
-    //@Execute(validator = true, input = "edit.jsp")
-    public String confirmfromcreate() {
-        return "confirm.jsp";
-    }
-
-    @Token(save = false, validate = true, keep = true)
-    //@Execute(validator = true, input = "edit.jsp")
-    public String confirmfromupdate() {
-        return "confirm.jsp";
-    }
-
-    @Token(save = true, validate = false)
-    //@Execute(validator = false, input = "error.jsp", urlPattern = "deletepage/{crudMode}/{id}")
-    public String deletepage() {
-        if (crawlingSessionForm.crudMode != CommonConstants.DELETE_MODE) {
-            throw new ActionMessagesException("errors.crud_invalid_mode", new Object[] { CommonConstants.DELETE_MODE,
-                    crawlingSessionForm.crudMode });
-        }
-
-        loadCrawlingSession();
-
-        return "confirm.jsp";
-    }
-
-    @Token(save = true, validate = false)
-    //@Execute(validator = false, input = "error.jsp")
-    public String deletefromconfirm() {
-        crawlingSessionForm.crudMode = CommonConstants.DELETE_MODE;
-
-        loadCrawlingSession();
-
-        return "confirm.jsp";
-    }
-
-    @Token(save = false, validate = true)
-    //@Execute(validator = true, input = "edit.jsp")
-    public String create() {
-        try {
-            final CrawlingSession crawlingSession = createCrawlingSession();
-            crawlingSessionService.store(crawlingSession);
-            SAStrutsUtil.addSessionMessage("success.crud_create_crud_table");
-
-            return displayList(true);
-        } catch (final ActionMessagesException e) {
-            logger.error(e.getMessage(), e);
-            throw e;
-        } catch (final CrudMessageException e) {
-            logger.error(e.getMessage(), e);
-            throw new ActionMessagesException(e.getMessageId(), e.getArgs());
-        } catch (final Exception e) {
-            logger.error(e.getMessage(), e);
-            throw new ActionMessagesException("errors.crud_failed_to_create_crud_table");
-        }
-    }
-
-    @Token(save = false, validate = true)
-    //@Execute(validator = true, input = "edit.jsp")
-    public String update() {
-        try {
-            final CrawlingSession crawlingSession = createCrawlingSession();
-            crawlingSessionService.store(crawlingSession);
-            SAStrutsUtil.addSessionMessage("success.crud_update_crud_table");
-
-            return displayList(true);
-        } catch (final ActionMessagesException e) {
-            logger.error(e.getMessage(), e);
-            throw e;
-        } catch (final CrudMessageException e) {
-            logger.error(e.getMessage(), e);
-            throw new ActionMessagesException(e.getMessageId(), e.getArgs());
-        } catch (final Exception e) {
-            logger.error(e.getMessage(), e);
-            throw new ActionMessagesException("errors.crud_failed_to_update_crud_table");
-        }
-    }
-
-    @Token(save = false, validate = true)
-    //@Execute(validator = false, input = "error.jsp")
-    public String delete() {
-        if (crawlingSessionForm.crudMode != CommonConstants.DELETE_MODE) {
-            throw new ActionMessagesException("errors.crud_invalid_mode", new Object[] { CommonConstants.DELETE_MODE,
-                    crawlingSessionForm.crudMode });
-        }
-
-        try {
-            final CrawlingSession crawlingSession = crawlingSessionService.getCrawlingSession(createKeyMap());
-            if (crawlingSession == null) {
-                // throw an exception
-                throw new ActionMessagesException("errors.crud_could_not_find_crud_table",
-
-                new Object[] { crawlingSessionForm.id });
-
-            }
-
-            crawlingSessionService.delete(crawlingSession);
-            SAStrutsUtil.addSessionMessage("success.crud_delete_crud_table");
-
-            return displayList(true);
-        } catch (final ActionMessagesException e) {
-            logger.error(e.getMessage(), e);
-            throw e;
-        } catch (final CrudMessageException e) {
-            logger.error(e.getMessage(), e);
-            throw new ActionMessagesException(e.getMessageId(), e.getArgs());
-        } catch (final Exception e) {
-            logger.error(e.getMessage(), e);
-            throw new ActionMessagesException("errors.crud_failed_to_delete_crud_table");
-        }
-    }
-
-    protected void loadCrawlingSession() {
-
-        final CrawlingSession crawlingSession = crawlingSessionService.getCrawlingSession(createKeyMap());
-        if (crawlingSession == null) {
-            // throw an exception
-            throw new ActionMessagesException("errors.crud_could_not_find_crud_table",
-
-            new Object[] { crawlingSessionForm.id });
-
-        }
-
-        BeanUtil.copyBeanToBean(crawlingSession, crawlingSessionForm, option -> option.exclude("searchParams", "mode"));
-    }
-
-    protected CrawlingSession createCrawlingSession() {
-        CrawlingSession crawlingSession;
-        if (crawlingSessionForm.crudMode == CommonConstants.EDIT_MODE) {
-            crawlingSession = crawlingSessionService.getCrawlingSession(createKeyMap());
-            if (crawlingSession == null) {
-                // throw an exception
-                throw new ActionMessagesException("errors.crud_could_not_find_crud_table",
-
-                new Object[] { crawlingSessionForm.id });
-
-            }
-        } else {
-            crawlingSession = new CrawlingSession();
-        }
-        BeanUtil.copyBeanToBean(crawlingSessionForm, crawlingSession, option -> option.exclude("searchParams", "mode"));
-
-        return crawlingSession;
-    }
-
-    protected Map<String, String> createKeyMap() {
-        final Map<String, String> keys = new HashMap<String, String>();
-
-        keys.put("id", crawlingSessionForm.id);
-
-        return keys;
-    }
-
-}

+ 0 - 331
src/main/java/org/codelibs/fess/app/web/admin/JobLogAction.java

@@ -1,331 +0,0 @@
-/*
- * Copyright 2009-2015 the CodeLibs Project and the Others.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
- * either express or implied. See the License for the specific language
- * governing permissions and limitations under the License.
- */
-
-package org.codelibs.fess.app.web.admin;
-
-import java.beans.Beans;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import javax.annotation.Resource;
-
-import org.codelibs.core.beans.util.BeanUtil;
-import org.codelibs.fess.Constants;
-import org.codelibs.fess.annotation.Token;
-import org.codelibs.fess.app.web.base.FessAdminAction;
-import org.codelibs.fess.crud.CommonConstants;
-import org.codelibs.fess.crud.CrudMessageException;
-import org.codelibs.fess.crud.util.SAStrutsUtil;
-import org.codelibs.fess.es.exentity.JobLog;
-import org.codelibs.fess.helper.SystemHelper;
-import org.codelibs.fess.app.pager.JobLogPager;
-import org.codelibs.fess.app.service.JobLogService;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class JobLogAction extends FessAdminAction {
-
-    private static final Logger logger = LoggerFactory.getLogger(JobLogAction.class);
-
-    // for list
-
-    public List<JobLog> jobLogItems;
-
-    // for edit/confirm/delete
-
-    //@ActionForm
-    @Resource
-    protected JobLogForm jobLogForm;
-
-    @Resource
-    protected JobLogService jobLogService;
-
-    @Resource
-    protected JobLogPager jobLogPager;
-
-    @Resource
-    protected SystemHelper systemHelper;
-
-    public String getHelpLink() {
-        return systemHelper.getHelpLink("jobLog");
-    }
-
-    protected String displayList(final boolean redirect) {
-        // page navi
-        jobLogItems = jobLogService.getJobLogList(jobLogPager);
-
-        // restore from pager
-        BeanUtil.copyBeanToBean(jobLogPager, jobLogForm.searchParams, option -> option.exclude(CommonConstants.PAGER_CONVERSION_RULE));
-
-        if (redirect) {
-            return "index?redirect=true";
-        } else {
-            return "index.jsp";
-        }
-    }
-
-    //@Execute(validator = false, input = "error.jsp")
-    public String index() {
-        return displayList(false);
-    }
-
-    //@Execute(validator = false, input = "error.jsp", urlPattern = "list/{pageNumber}")
-    public String list() {
-        // page navi
-        if (StringUtil.isNotBlank(jobLogForm.pageNumber)) {
-            try {
-                jobLogPager.setCurrentPageNumber(Integer.parseInt(jobLogForm.pageNumber));
-            } catch (final NumberFormatException e) {
-                if (logger.isDebugEnabled()) {
-                    logger.debug("Invalid value: " + jobLogForm.pageNumber, e);
-                }
-            }
-        }
-
-        return displayList(false);
-    }
-
-    //@Execute(validator = false, input = "error.jsp")
-    public String search() {
-        BeanUtil.copyBeanToBean(jobLogForm.searchParams, jobLogPager, option -> option.exclude(CommonConstants.PAGER_CONVERSION_RULE));
-
-        return displayList(false);
-    }
-
-    //@Execute(validator = false, input = "error.jsp")
-    public String reset() {
-        jobLogPager.clear();
-
-        return displayList(false);
-    }
-
-    //@Execute(validator = false, input = "error.jsp")
-    public String back() {
-        return displayList(false);
-    }
-
-    @Token(save = true, validate = false)
-    //@Execute(validator = false, input = "error.jsp")
-    public String editagain() {
-        return "edit.jsp";
-    }
-
-    //@Execute(validator = false, input = "error.jsp", urlPattern = "confirmpage/{crudMode}/{id}")
-    public String confirmpage() {
-        if (jobLogForm.crudMode != CommonConstants.CONFIRM_MODE) {
-            throw new ActionMessagesException("errors.crud_invalid_mode",
-                    new Object[] { CommonConstants.CONFIRM_MODE, jobLogForm.crudMode });
-        }
-
-        loadJobLog();
-
-        return "confirm.jsp";
-    }
-
-    @Token(save = true, validate = false)
-    //@Execute(validator = false, input = "error.jsp")
-    public String createpage() {
-        // page navi
-        jobLogForm.initialize();
-        jobLogForm.crudMode = CommonConstants.CREATE_MODE;
-
-        return "edit.jsp";
-    }
-
-    @Token(save = true, validate = false)
-    //@Execute(validator = false, input = "error.jsp", urlPattern = "editpage/{crudMode}/{id}")
-    public String editpage() {
-        if (jobLogForm.crudMode != CommonConstants.EDIT_MODE) {
-            throw new ActionMessagesException("errors.crud_invalid_mode", new Object[] { CommonConstants.EDIT_MODE, jobLogForm.crudMode });
-        }
-
-        loadJobLog();
-
-        return "edit.jsp";
-    }
-
-    @Token(save = true, validate = false)
-    //@Execute(validator = false, input = "error.jsp")
-    public String editfromconfirm() {
-        jobLogForm.crudMode = CommonConstants.EDIT_MODE;
-
-        loadJobLog();
-
-        return "edit.jsp";
-    }
-
-    @Token(save = false, validate = true, keep = true)
-    //@Execute(validator = true, input = "edit.jsp")
-    public String confirmfromcreate() {
-        return "confirm.jsp";
-    }
-
-    @Token(save = false, validate = true, keep = true)
-    //@Execute(validator = true, input = "edit.jsp")
-    public String confirmfromupdate() {
-        return "confirm.jsp";
-    }
-
-    @Token(save = true, validate = false)
-    //@Execute(validator = false, input = "error.jsp", urlPattern = "deletepage/{crudMode}/{id}")
-    public String deletepage() {
-        if (jobLogForm.crudMode != CommonConstants.DELETE_MODE) {
-            throw new ActionMessagesException("errors.crud_invalid_mode", new Object[] { CommonConstants.DELETE_MODE, jobLogForm.crudMode });
-        }
-
-        loadJobLog();
-
-        return "confirm.jsp";
-    }
-
-    @Token(save = true, validate = false)
-    //@Execute(validator = false, input = "error.jsp")
-    public String deletefromconfirm() {
-        jobLogForm.crudMode = CommonConstants.DELETE_MODE;
-
-        loadJobLog();
-
-        return "confirm.jsp";
-    }
-
-    @Token(save = false, validate = true)
-    //@Execute(validator = true, input = "edit.jsp")
-    public String create() {
-        try {
-            final JobLog jobLog = createJobLog();
-            jobLogService.store(jobLog);
-            SAStrutsUtil.addSessionMessage("success.crud_create_crud_table");
-
-            return displayList(true);
-        } catch (final ActionMessagesException e) {
-            logger.error(e.getMessage(), e);
-            throw e;
-        } catch (final CrudMessageException e) {
-            logger.error(e.getMessage(), e);
-            throw new ActionMessagesException(e.getMessageId(), e.getArgs());
-        } catch (final Exception e) {
-            logger.error(e.getMessage(), e);
-            throw new ActionMessagesException("errors.crud_failed_to_create_crud_table");
-        }
-    }
-
-    @Token(save = false, validate = true)
-    //@Execute(validator = true, input = "edit.jsp")
-    public String update() {
-        try {
-            final JobLog jobLog = createJobLog();
-            jobLogService.store(jobLog);
-            SAStrutsUtil.addSessionMessage("success.crud_update_crud_table");
-
-            return displayList(true);
-        } catch (final ActionMessagesException e) {
-            logger.error(e.getMessage(), e);
-            throw e;
-        } catch (final CrudMessageException e) {
-            logger.error(e.getMessage(), e);
-            throw new ActionMessagesException(e.getMessageId(), e.getArgs());
-        } catch (final Exception e) {
-            logger.error(e.getMessage(), e);
-            throw new ActionMessagesException("errors.crud_failed_to_update_crud_table");
-        }
-    }
-
-    @Token(save = false, validate = true)
-    //@Execute(validator = false, input = "error.jsp")
-    public String delete() {
-        if (jobLogForm.crudMode != CommonConstants.DELETE_MODE) {
-            throw new ActionMessagesException("errors.crud_invalid_mode", new Object[] { CommonConstants.DELETE_MODE, jobLogForm.crudMode });
-        }
-
-        try {
-            final JobLog jobLog = jobLogService.getJobLog(createKeyMap());
-            if (jobLog == null) {
-                // throw an exception
-                throw new ActionMessagesException("errors.crud_could_not_find_crud_table",
-
-                new Object[] { jobLogForm.id });
-
-            }
-
-            jobLogService.delete(jobLog);
-            SAStrutsUtil.addSessionMessage("success.crud_delete_crud_table");
-
-            return displayList(true);
-        } catch (final ActionMessagesException e) {
-            logger.error(e.getMessage(), e);
-            throw e;
-        } catch (final CrudMessageException e) {
-            logger.error(e.getMessage(), e);
-            throw new ActionMessagesException(e.getMessageId(), e.getArgs());
-        } catch (final Exception e) {
-            logger.error(e.getMessage(), e);
-            throw new ActionMessagesException("errors.crud_failed_to_delete_crud_table");
-        }
-    }
-
-    protected void loadJobLog() {
-
-        final JobLog jobLog = jobLogService.getJobLog(createKeyMap());
-        if (jobLog == null) {
-            // throw an exception
-            throw new ActionMessagesException("errors.crud_could_not_find_crud_table",
-
-            new Object[] { jobLogForm.id });
-
-        }
-
-        BeanUtil.copyBeanToBean(jobLog, jobLogForm, option -> option.exclude("searchParams", "mode"));
-    }
-
-    protected JobLog createJobLog() {
-        JobLog jobLog;
-        if (jobLogForm.crudMode == CommonConstants.EDIT_MODE) {
-            jobLog = jobLogService.getJobLog(createKeyMap());
-            if (jobLog == null) {
-                // throw an exception
-                throw new ActionMessagesException("errors.crud_could_not_find_crud_table",
-
-                new Object[] { jobLogForm.id });
-
-            }
-        } else {
-            jobLog = new JobLog();
-        }
-        BeanUtil.copyBeanToBean(jobLogForm, jobLog, option -> option.exclude("searchParams", "mode"));
-
-        return jobLog;
-    }
-
-    protected Map<String, String> createKeyMap() {
-        final Map<String, String> keys = new HashMap<String, String>();
-
-        keys.put("id", jobLogForm.id);
-
-        return keys;
-    }
-
-    //@Execute(validator = false, input = "error.jsp")
-    public String deleteall() {
-        final List<String> jobStatusList = new ArrayList<String>();
-        jobStatusList.add(Constants.OK);
-        jobStatusList.add(Constants.FAIL);
-        jobLogService.deleteByJobStatus(jobStatusList);
-        SAStrutsUtil.addSessionMessage("success.joblog_delete_all");
-        return displayList(true);
-    }
-}

+ 1 - 0
src/main/java/org/codelibs/fess/app/web/admin/crawl/AdminCrawlAction.java

@@ -40,6 +40,7 @@ import org.slf4j.LoggerFactory;
 
 /**
  * @author shinsuke
+ * @author Shunji Makino
  */
 public class AdminCrawlAction extends FessAdminAction {
 

+ 1 - 1
src/main/java/org/codelibs/fess/app/web/admin/crawl/CrawlEditForm.java

@@ -20,7 +20,7 @@ import java.io.Serializable;
 
 /**
  * @author codelibs
- * @author jflute
+ * @author Shunji Makino
  */
 public class CrawlEditForm implements Serializable {
 

+ 1 - 1
src/main/java/org/codelibs/fess/app/web/admin/crawl/CrawlSearchForm.java

@@ -22,7 +22,7 @@ import java.util.Map;
 
 /**
  * @author codelibs
- * @author jflute
+ * @author Shunji Makino
  */
 public class CrawlSearchForm implements Serializable {
 

+ 201 - 0
src/main/java/org/codelibs/fess/app/web/admin/crawlingsession/AdminCrawlingsessionAction.java

@@ -0,0 +1,201 @@
+/*
+ * Copyright 2009-2015 the CodeLibs Project and the Others.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+ * either express or implied. See the License for the specific language
+ * governing permissions and limitations under the License.
+ */
+
+package org.codelibs.fess.app.web.admin.crawlingsession;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.annotation.Resource;
+
+import org.codelibs.fess.annotation.Token;
+import org.codelibs.fess.app.pager.CrawlingSessionPager;
+import org.codelibs.fess.app.service.CrawlingSessionService;
+import org.codelibs.fess.app.web.base.FessAdminAction;
+import org.codelibs.fess.crud.CommonConstants;
+import org.codelibs.fess.es.exentity.CrawlingSession;
+import org.codelibs.fess.helper.JobHelper;
+import org.codelibs.fess.helper.SystemHelper;
+import org.lastaflute.web.Execute;
+import org.lastaflute.web.callback.ActionRuntime;
+import org.lastaflute.web.response.HtmlResponse;
+import org.lastaflute.web.response.render.RenderData;
+import org.lastaflute.web.validation.VaErrorHook;
+
+/**
+ * @author shinsuke
+ * @author Shunji Makino
+ */
+public class AdminCrawlingsessionAction extends FessAdminAction {
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    @Resource
+    private CrawlingSessionService crawlingSessionService;
+    @Resource
+    private CrawlingSessionPager crawlingSessionPager;
+    @Resource
+    private SystemHelper systemHelper;
+    @Resource
+    protected JobHelper jobHelper;
+
+    // ===================================================================================
+    //                                                                               Hook
+    //                                                                              ======
+    @Override
+    protected void setupHtmlData(final ActionRuntime runtime) {
+        super.setupHtmlData(runtime);
+        runtime.registerData("helpLink", systemHelper.getHelpLink("crawlingSession"));
+    }
+
+    // ===================================================================================
+    //                                                                      Search Execute
+    //                                                                      ==============
+    @Execute
+    public HtmlResponse deleteall(final CrawlingSessionEditForm form) {
+        crawlingSessionService.deleteOldSessions(jobHelper.getRunningSessionIdSet());
+        saveInfo(messages -> messages.addSuccessCrawlingSessionDeleteAll(GLOBAL));
+        return redirect(getClass());
+    }
+
+    @Execute
+    public HtmlResponse index(final CrawlingSessionSearchForm form) {
+        return asHtml(path_AdminCrawlingsession_IndexJsp).renderWith(data -> {
+            searchPaging(data, form);
+        });
+    }
+
+    @Execute
+    public HtmlResponse list(final Integer pageNumber, final CrawlingSessionSearchForm form) {
+        crawlingSessionPager.setCurrentPageNumber(pageNumber);
+        return asHtml(path_AdminCrawlingsession_IndexJsp).renderWith(data -> {
+            searchPaging(data, form);
+        });
+    }
+
+    @Execute
+    public HtmlResponse search(final CrawlingSessionSearchForm form) {
+        copyBeanToBean(form.searchParams, crawlingSessionPager, op -> op.exclude(CommonConstants.PAGER_CONVERSION_RULE));
+        return asHtml(path_AdminCrawlingsession_IndexJsp).renderWith(data -> {
+            searchPaging(data, form);
+        });
+    }
+
+    @Execute
+    public HtmlResponse reset(final CrawlingSessionSearchForm form) {
+        crawlingSessionPager.clear();
+        return asHtml(path_AdminCrawlingsession_IndexJsp).renderWith(data -> {
+            searchPaging(data, form);
+        });
+    }
+
+    @Execute
+    public HtmlResponse back(final CrawlingSessionSearchForm form) {
+        return asHtml(path_AdminCrawlingsession_IndexJsp).renderWith(data -> {
+            searchPaging(data, form);
+        });
+    }
+
+    protected void searchPaging(final RenderData data, final CrawlingSessionSearchForm form) {
+        data.register("crawlingSessionItems", crawlingSessionService.getCrawlingSessionList(crawlingSessionPager)); // page navi
+
+        // restore from pager
+        copyBeanToBean(crawlingSessionPager, form.searchParams, op -> op.exclude(CommonConstants.PAGER_CONVERSION_RULE));
+    }
+
+    // ===================================================================================
+    //                                                                        Edit Execute
+    //                                                                        ============
+    // -----------------------------------------------------
+    //                                            Entry Page
+    //                                            ----------
+    @Token(save = true, validate = false)
+    @Execute
+    public HtmlResponse deletepage(final int crudMode, final String id, final CrawlingSessionEditForm form) {
+        form.crudMode = crudMode;
+        form.id = id;
+        verifyCrudMode(form, CommonConstants.DELETE_MODE);
+        loadCrawlingSession(form);
+        return asHtml(path_AdminCrawlingsession_ConfirmJsp);
+    }
+
+    @Token(save = true, validate = false)
+    @Execute
+    public HtmlResponse deletefromconfirm(final CrawlingSessionEditForm form) {
+        form.crudMode = CommonConstants.DELETE_MODE;
+        loadCrawlingSession(form);
+        return asHtml(path_AdminCrawlingsession_ConfirmJsp);
+    }
+
+    // -----------------------------------------------------
+    //                                               Confirm
+    //                                               -------
+    @Execute
+    public HtmlResponse confirmpage(final int crudMode, final String id, final CrawlingSessionEditForm form) {
+        form.crudMode = crudMode;
+        form.id = id;
+        verifyCrudMode(form, CommonConstants.CONFIRM_MODE);
+        loadCrawlingSession(form);
+        return asHtml(path_AdminCrawlingsession_ConfirmJsp);
+    }
+
+    // -----------------------------------------------------
+    //                                         Actually Crud
+    //                                         -------------
+    @Execute
+    public HtmlResponse delete(final CrawlingSessionEditForm form) {
+        verifyCrudMode(form, CommonConstants.DELETE_MODE);
+        crawlingSessionService.delete(getCrawlingSession(form));
+        saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
+        return redirect(getClass());
+    }
+
+    // ===================================================================================
+    //                                                                        Assist Logic
+    //                                                                        ============
+    protected void loadCrawlingSession(final CrawlingSessionEditForm form) {
+        copyBeanToBean(getCrawlingSession(form), form, op -> op.exclude("crudMode"));
+    }
+
+    protected CrawlingSession getCrawlingSession(final CrawlingSessionEditForm form) {
+        final CrawlingSession crawlingSession = crawlingSessionService.getCrawlingSession(createKeyMap(form));
+        return crawlingSession;
+    }
+
+    protected Map<String, String> createKeyMap(final CrawlingSessionEditForm form) {
+        final Map<String, String> keys = new HashMap<String, String>();
+        keys.put("id", form.id);
+        return keys;
+    }
+
+    // ===================================================================================
+    //                                                                        Small Helper
+    //                                                                        ============
+    protected void verifyCrudMode(final CrawlingSessionEditForm form, final int expectedMode) {
+        if (form.crudMode != expectedMode) {
+            throwValidationError(messages -> {
+                messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(form.crudMode));
+            }, toIndexHtml());
+        }
+    }
+
+    protected VaErrorHook toIndexHtml() {
+        return () -> {
+            return asHtml(path_AdminCrawlingsession_IndexJsp);
+        };
+    }
+}

+ 6 - 14
src/main/java/org/codelibs/fess/app/web/admin/CrawlingSessionForm.java → src/main/java/org/codelibs/fess/app/web/admin/crawlingsession/CrawlingSessionEditForm.java

@@ -14,28 +14,21 @@
  * governing permissions and limitations under the License.
  */
 
-package org.codelibs.fess.app.web.admin;
+package org.codelibs.fess.app.web.admin.crawlingsession;
 
 import java.io.Serializable;
-import java.util.HashMap;
-import java.util.Map;
 
-public class CrawlingSessionForm implements Serializable {
+/**
+ * @author codelibs
+ * @author Shunji Makino
+ */
+public class CrawlingSessionEditForm implements Serializable {
 
     private static final long serialVersionUID = 1L;
 
-    //@IntegerType
-    public String pageNumber;
-
-    public Map<String, String> searchParams = new HashMap<String, String>();
-
     //@IntegerType
     public int crudMode;
 
-    public String getCurrentPageNumber() {
-        return pageNumber;
-    }
-
     //@Required(target = "confirmfromupdate,update,delete")
     //@Maxbytelength(maxbytelength = 1000)
     public String id;
@@ -63,5 +56,4 @@ public class CrawlingSessionForm implements Serializable {
         createdTime = null;
 
     }
-
 }

+ 32 - 0
src/main/java/org/codelibs/fess/app/web/admin/crawlingsession/CrawlingSessionSearchForm.java

@@ -0,0 +1,32 @@
+/*
+ * Copyright 2009-2015 the CodeLibs Project and the Others.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+ * either express or implied. See the License for the specific language
+ * governing permissions and limitations under the License.
+ */
+
+package org.codelibs.fess.app.web.admin.crawlingsession;
+
+import java.io.Serializable;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * @author codelibs
+ * @author Shunji Makino
+ */
+public class CrawlingSessionSearchForm implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    public Map<String, String> searchParams = new HashMap<String, String>();
+}

+ 191 - 0
src/main/java/org/codelibs/fess/app/web/admin/joblog/AdminJoblogAction.java

@@ -0,0 +1,191 @@
+/*
+ * Copyright 2009-2015 the CodeLibs Project and the Others.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+ * either express or implied. See the License for the specific language
+ * governing permissions and limitations under the License.
+ */
+
+package org.codelibs.fess.app.web.admin.joblog;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.annotation.Resource;
+
+import org.codelibs.fess.annotation.Token;
+import org.codelibs.fess.app.pager.JobLogPager;
+import org.codelibs.fess.app.service.JobLogService;
+import org.codelibs.fess.app.web.base.FessAdminAction;
+import org.codelibs.fess.crud.CommonConstants;
+import org.codelibs.fess.es.exentity.JobLog;
+import org.codelibs.fess.helper.SystemHelper;
+import org.lastaflute.web.Execute;
+import org.lastaflute.web.callback.ActionRuntime;
+import org.lastaflute.web.response.HtmlResponse;
+import org.lastaflute.web.response.render.RenderData;
+import org.lastaflute.web.validation.VaErrorHook;
+
+/**
+ * @author shinsuke
+ * @author Shunji Makino
+ */
+public class AdminJoblogAction extends FessAdminAction {
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    @Resource
+    private JobLogService jobLogService;
+    @Resource
+    private JobLogPager jobLogPager;
+    @Resource
+    private SystemHelper systemHelper;
+
+    // ===================================================================================
+    //                                                                               Hook
+    //                                                                              ======
+    @Override
+    protected void setupHtmlData(final ActionRuntime runtime) {
+        super.setupHtmlData(runtime);
+        runtime.registerData("helpLink", systemHelper.getHelpLink("jobLog"));
+    }
+
+    // ===================================================================================
+    //                                                                      Search Execute
+    //                                                                      ==============
+    @Execute
+    public HtmlResponse index(final JobLogSearchForm form) {
+        return asHtml(path_AdminJoblog_IndexJsp).renderWith(data -> {
+            searchPaging(data, form);
+        });
+    }
+
+    @Execute
+    public HtmlResponse list(final Integer pageNumber, final JobLogSearchForm form) {
+        jobLogPager.setCurrentPageNumber(pageNumber);
+        return asHtml(path_AdminJoblog_IndexJsp).renderWith(data -> {
+            searchPaging(data, form);
+        });
+    }
+
+    @Execute
+    public HtmlResponse search(final JobLogSearchForm form) {
+        copyBeanToBean(form.searchParams, jobLogPager, op -> op.exclude(CommonConstants.PAGER_CONVERSION_RULE));
+        return asHtml(path_AdminJoblog_IndexJsp).renderWith(data -> {
+            searchPaging(data, form);
+        });
+    }
+
+    @Execute
+    public HtmlResponse reset(final JobLogSearchForm form) {
+        jobLogPager.clear();
+        return asHtml(path_AdminJoblog_IndexJsp).renderWith(data -> {
+            searchPaging(data, form);
+        });
+    }
+
+    @Execute
+    public HtmlResponse back(final JobLogSearchForm form) {
+        return asHtml(path_AdminJoblog_IndexJsp).renderWith(data -> {
+            searchPaging(data, form);
+        });
+    }
+
+    protected void searchPaging(final RenderData data, final JobLogSearchForm form) {
+        data.register("jobLogItems", jobLogService.getJobLogList(jobLogPager)); // page navi
+
+        // restore from pager
+        copyBeanToBean(jobLogPager, form.searchParams, op -> op.exclude(CommonConstants.PAGER_CONVERSION_RULE));
+    }
+
+    // ===================================================================================
+    //                                                                        Edit Execute
+    //                                                                        ============
+    // -----------------------------------------------------
+    //                                            Entry Page
+    //                                            ----------
+    @Token(save = true, validate = false)
+    @Execute
+    public HtmlResponse deletepage(final int crudMode, final String id, final JobLogEditForm form) {
+        form.crudMode = crudMode;
+        form.id = id;
+        verifyCrudMode(form, CommonConstants.DELETE_MODE);
+        loadJobLog(form);
+        return asHtml(path_AdminJoblog_ConfirmJsp);
+    }
+
+    @Token(save = true, validate = false)
+    @Execute
+    public HtmlResponse deletefromconfirm(final JobLogEditForm form) {
+        form.crudMode = CommonConstants.DELETE_MODE;
+        loadJobLog(form);
+        return asHtml(path_AdminJoblog_ConfirmJsp);
+    }
+
+    // -----------------------------------------------------
+    //                                               Confirm
+    //                                               -------
+    @Execute
+    public HtmlResponse confirmpage(final int crudMode, final String id, final JobLogEditForm form) {
+        form.crudMode = crudMode;
+        form.id = id;
+        verifyCrudMode(form, CommonConstants.CONFIRM_MODE);
+        loadJobLog(form);
+        return asHtml(path_AdminJoblog_ConfirmJsp);
+    }
+
+    // -----------------------------------------------------
+    //                                         Actually Crud
+    //                                         -------------
+    @Execute
+    public HtmlResponse delete(final JobLogEditForm form) {
+        verifyCrudMode(form, CommonConstants.DELETE_MODE);
+        jobLogService.delete(getJobLog(form));
+        saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
+        return redirect(getClass());
+    }
+
+    // ===================================================================================
+    //                                                                        Assist Logic
+    //                                                                        ============
+    protected void loadJobLog(final JobLogEditForm form) {
+        copyBeanToBean(getJobLog(form), form, op -> op.exclude("crudMode"));
+    }
+
+    protected JobLog getJobLog(final JobLogEditForm form) {
+        final JobLog jobLog = jobLogService.getJobLog(createKeyMap(form));
+        return jobLog;
+    }
+
+    protected Map<String, String> createKeyMap(final JobLogEditForm form) {
+        final Map<String, String> keys = new HashMap<String, String>();
+        keys.put("id", form.id);
+        return keys;
+    }
+
+    // ===================================================================================
+    //                                                                        Small Helper
+    //                                                                        ============
+    protected void verifyCrudMode(final JobLogEditForm form, final int expectedMode) {
+        if (form.crudMode != expectedMode) {
+            throwValidationError(messages -> {
+                messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(form.crudMode));
+            }, toIndexHtml());
+        }
+    }
+
+    protected VaErrorHook toIndexHtml() {
+        return () -> {
+            return asHtml(path_AdminJoblog_IndexJsp);
+        };
+    }
+}

+ 6 - 13
src/main/java/org/codelibs/fess/app/web/admin/JobLogForm.java → src/main/java/org/codelibs/fess/app/web/admin/joblog/JobLogEditForm.java

@@ -14,28 +14,21 @@
  * governing permissions and limitations under the License.
  */
 
-package org.codelibs.fess.app.web.admin;
+package org.codelibs.fess.app.web.admin.joblog;
 
 import java.io.Serializable;
-import java.util.HashMap;
-import java.util.Map;
 
-public class JobLogForm implements Serializable {
+/**
+ * @author codelibs
+ * @author Shunji Makino
+ */
+public class JobLogEditForm implements Serializable {
 
     private static final long serialVersionUID = 1L;
 
-    //@IntegerType
-    public String pageNumber;
-
-    public Map<String, String> searchParams = new HashMap<String, String>();
-
     //@IntegerType
     public int crudMode;
 
-    public String getCurrentPageNumber() {
-        return pageNumber;
-    }
-
     //@Required(target = "confirmfromupdate,update,delete")
     //@LongType
     public String id;

+ 32 - 0
src/main/java/org/codelibs/fess/app/web/admin/joblog/JobLogSearchForm.java

@@ -0,0 +1,32 @@
+/*
+ * Copyright 2009-2015 the CodeLibs Project and the Others.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+ * either express or implied. See the License for the specific language
+ * governing permissions and limitations under the License.
+ */
+
+package org.codelibs.fess.app.web.admin.joblog;
+
+import java.io.Serializable;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * @author codelibs
+ * @author Shunji Makino
+ */
+public class JobLogSearchForm implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    public Map<String, String> searchParams = new HashMap<String, String>();
+}

+ 1 - 0
src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

@@ -37,6 +37,7 @@ import org.lastaflute.web.validation.VaErrorHook;
 
 /**
  * @author shinsuke
+ * @author Shunji Makino
  */
 public class AdminLabeltypeAction extends FessAdminAction {
 

+ 1 - 1
src/main/java/org/codelibs/fess/app/web/admin/labeltype/LabelTypeEditForm.java

@@ -22,7 +22,7 @@ import org.codelibs.fess.util.ComponentUtil;
 
 /**
  * @author codelibs
- * @author jflute
+ * @author Shunji Makino
  */
 public class LabelTypeEditForm implements Serializable {
 

+ 1 - 1
src/main/java/org/codelibs/fess/app/web/admin/labeltype/LabelTypeSearchForm.java

@@ -22,7 +22,7 @@ import java.util.Map;
 
 /**
  * @author codelibs
- * @author jflute
+ * @author Shunji Makino
  */
 public class LabelTypeSearchForm implements Serializable {
 

+ 1 - 0
src/main/java/org/codelibs/fess/app/web/admin/pathmapping/AdminPathmappingAction.java

@@ -36,6 +36,7 @@ import org.lastaflute.web.validation.VaErrorHook;
 
 /**
  * @author shinsuke
+ * @author Shunji Makino
  */
 public class AdminPathmappingAction extends FessAdminAction {
 

+ 1 - 1
src/main/java/org/codelibs/fess/app/web/admin/pathmapping/PathMappingEditForm.java

@@ -22,7 +22,7 @@ import org.codelibs.fess.util.ComponentUtil;
 
 /**
  * @author codelibs
- * @author jflute
+ * @author Shunji Makino
  */
 public class PathMappingEditForm implements Serializable {
 

+ 1 - 1
src/main/java/org/codelibs/fess/app/web/admin/pathmapping/PathMappingSearchForm.java

@@ -22,7 +22,7 @@ import java.util.Map;
 
 /**
  * @author codelibs
- * @author jflute
+ * @author Shunji Makino
  */
 public class PathMappingSearchForm implements Serializable {
 

+ 1 - 0
src/main/java/org/codelibs/fess/app/web/admin/requestheader/AdminRequestheaderAction.java

@@ -44,6 +44,7 @@ import org.lastaflute.web.validation.VaErrorHook;
 
 /**
  * @author shinsuke
+ * @author Shunji Makino
  */
 public class AdminRequestheaderAction extends FessAdminAction {
 

+ 1 - 1
src/main/java/org/codelibs/fess/app/web/admin/requestheader/RequestHeaderEditForm.java

@@ -22,7 +22,7 @@ import org.codelibs.fess.util.ComponentUtil;
 
 /**
  * @author codelibs
- * @author jflute
+ * @author Shunji Makino
  */
 public class RequestHeaderEditForm implements Serializable {
 

+ 1 - 1
src/main/java/org/codelibs/fess/app/web/admin/requestheader/RequestHeaderSearchForm.java

@@ -22,7 +22,7 @@ import java.util.Map;
 
 /**
  * @author codelibs
- * @author jflute
+ * @author Shunji Makino
  */
 public class RequestHeaderSearchForm implements Serializable {
 

+ 1 - 0
src/main/java/org/codelibs/fess/app/web/admin/webauthentication/AdminWebauthenticationAction.java

@@ -44,6 +44,7 @@ import org.lastaflute.web.validation.VaErrorHook;
 
 /**
  * @author shinsuke
+ * @author Shunji Makino
  */
 public class AdminWebauthenticationAction extends FessAdminAction {
 

+ 1 - 1
src/main/java/org/codelibs/fess/app/web/admin/webauthentication/WebAuthenticationEditForm.java

@@ -22,7 +22,7 @@ import org.codelibs.fess.util.ComponentUtil;
 
 /**
  * @author codelibs
- * @author jflute
+ * @author Shunji Makino
  */
 public class WebAuthenticationEditForm implements Serializable {
 

+ 1 - 1
src/main/java/org/codelibs/fess/app/web/admin/webauthentication/WebAuthenticationSearchForm.java

@@ -22,7 +22,7 @@ import java.util.Map;
 
 /**
  * @author codelibs
- * @author jflute
+ * @author Shunji Makino
  */
 public class WebAuthenticationSearchForm implements Serializable {
 

+ 1 - 0
src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

@@ -38,6 +38,7 @@ import org.lastaflute.web.validation.VaErrorHook;
 
 /**
  * @author shinsuke
+ * @author Shunji Makino
  */
 public class AdminWebconfigAction extends FessAdminAction {
 

+ 1 - 1
src/main/java/org/codelibs/fess/app/web/admin/webconfig/WebConfigEditForm.java

@@ -25,7 +25,7 @@ import org.codelibs.fess.util.ComponentUtil;
 
 /**
  * @author codelibs
- * @author jflute
+ * @author Shunji Makino
  */
 public class WebConfigEditForm implements Serializable {
 

+ 1 - 1
src/main/java/org/codelibs/fess/app/web/admin/webconfig/WebConfigSearchForm.java

@@ -22,7 +22,7 @@ import java.util.Map;
 
 /**
  * @author codelibs
- * @author jflute
+ * @author Shunji Makino
  */
 public class WebConfigSearchForm implements Serializable {
 

+ 5 - 5
src/main/webapp/WEB-INF/view/common/admin2/sidebar.jsp

@@ -199,17 +199,17 @@
 							<span><la:message key="labels.menu.system_info" /></span>
 						</la:link></li>
 
-					<li <c:if test="${param.menuType=='jobLog'}">class="active"</c:if>><todo:link href="/admin/jobLog/index">
+					<li <c:if test="${param.menuType=='jobLog'}">class="active"</c:if>><la:link href="/admin/joblog/index">
 							<i class='fa fa-angle-right'></i>
 							<span><la:message key="labels.menu.jobLog" /></span>
-						</todo:link></li>
+						</la:link></li>
 
-					<li <c:if test="${param.menuType=='crawlingSession'}">class="active"</c:if>><todo:link
-							href="/admin/crawlingSession/index"
+					<li <c:if test="${param.menuType=='crawlingSession'}">class="active"</c:if>><la:link
+							href="/admin/crawlingsession/index"
 						>
 							<i class='fa fa-angle-right'></i>
 							<span><la:message key="labels.menu.session_info" /></span>
-						</todo:link></li>
+						</la:link></li>
 
 					<li <c:if test="${param.menuType=='log'}">class="active"</c:if>><todo:link href="/admin/log/index">
 							<i class='fa fa-angle-right'></i>