Bladeren bron

Merge pull request #273 from tonkatu05/issue-250

Issue 250
Shinsuke Sugaya 10 jaren geleden
bovenliggende
commit
d31b14ba1e
54 gewijzigde bestanden met toevoegingen van 2685 en 3768 verwijderingen
  1. 0 128
      src/main/java/org/codelibs/fess/crud/pager/BsCrawlingSessionPager.java
  2. 0 146
      src/main/java/org/codelibs/fess/crud/pager/BsDataCrawlingConfigPager.java
  3. 0 134
      src/main/java/org/codelibs/fess/crud/pager/BsFailureUrlPager.java
  4. 0 131
      src/main/java/org/codelibs/fess/crud/pager/BsFavoriteLogPager.java
  5. 0 140
      src/main/java/org/codelibs/fess/crud/pager/BsFileAuthenticationPager.java
  6. 0 152
      src/main/java/org/codelibs/fess/crud/pager/BsFileCrawlingConfigPager.java
  7. 0 137
      src/main/java/org/codelibs/fess/crud/pager/BsJobLogPager.java
  8. 0 143
      src/main/java/org/codelibs/fess/crud/pager/BsKeyMatchPager.java
  9. 0 140
      src/main/java/org/codelibs/fess/crud/pager/BsLabelTypePager.java
  10. 0 140
      src/main/java/org/codelibs/fess/crud/pager/BsOverlappingHostPager.java
  11. 0 143
      src/main/java/org/codelibs/fess/crud/pager/BsPathMappingPager.java
  12. 0 140
      src/main/java/org/codelibs/fess/crud/pager/BsRequestHeaderPager.java
  13. 0 140
      src/main/java/org/codelibs/fess/crud/pager/BsRoleTypePager.java
  14. 0 155
      src/main/java/org/codelibs/fess/crud/pager/BsScheduledJobPager.java
  15. 0 140
      src/main/java/org/codelibs/fess/crud/pager/BsSearchLogPager.java
  16. 0 134
      src/main/java/org/codelibs/fess/crud/pager/BsSuggestBadWordPager.java
  17. 0 137
      src/main/java/org/codelibs/fess/crud/pager/BsSuggestElevateWordPager.java
  18. 0 131
      src/main/java/org/codelibs/fess/crud/pager/BsUserInfoPager.java
  19. 0 140
      src/main/java/org/codelibs/fess/crud/pager/BsWebAuthenticationPager.java
  20. 0 155
      src/main/java/org/codelibs/fess/crud/pager/BsWebCrawlingConfigPager.java
  21. 0 101
      src/main/java/org/codelibs/fess/crud/service/BsBoostDocumentRuleService.java
  22. 0 101
      src/main/java/org/codelibs/fess/crud/service/BsCrawlingSessionService.java
  23. 0 102
      src/main/java/org/codelibs/fess/crud/service/BsDataCrawlingConfigService.java
  24. 0 101
      src/main/java/org/codelibs/fess/crud/service/BsFailureUrlService.java
  25. 0 101
      src/main/java/org/codelibs/fess/crud/service/BsFavoriteLogService.java
  26. 0 101
      src/main/java/org/codelibs/fess/crud/service/BsFileAuthenticationService.java
  27. 0 101
      src/main/java/org/codelibs/fess/crud/service/BsFileCrawlingConfigService.java
  28. 99 6
      src/main/java/org/codelibs/fess/pager/CrawlingSessionPager.java
  29. 120 9
      src/main/java/org/codelibs/fess/pager/DataCrawlingConfigPager.java
  30. 106 11
      src/main/java/org/codelibs/fess/pager/FailureUrlPager.java
  31. 106 10
      src/main/java/org/codelibs/fess/pager/FavoriteLogPager.java
  32. 114 9
      src/main/java/org/codelibs/fess/pager/FileAuthenticationPager.java
  33. 126 9
      src/main/java/org/codelibs/fess/pager/FileCrawlingConfigPager.java
  34. 111 9
      src/main/java/org/codelibs/fess/pager/JobLogPager.java
  35. 115 7
      src/main/java/org/codelibs/fess/pager/KeyMatchPager.java
  36. 114 9
      src/main/java/org/codelibs/fess/pager/LabelTypePager.java
  37. 114 9
      src/main/java/org/codelibs/fess/pager/OverlappingHostPager.java
  38. 117 9
      src/main/java/org/codelibs/fess/pager/PathMappingPager.java
  39. 114 9
      src/main/java/org/codelibs/fess/pager/RequestHeaderPager.java
  40. 114 9
      src/main/java/org/codelibs/fess/pager/RoleTypePager.java
  41. 129 9
      src/main/java/org/codelibs/fess/pager/ScheduledJobPager.java
  42. 115 10
      src/main/java/org/codelibs/fess/pager/SearchLogPager.java
  43. 108 9
      src/main/java/org/codelibs/fess/pager/SuggestBadWordPager.java
  44. 111 9
      src/main/java/org/codelibs/fess/pager/SuggestElevateWordPager.java
  45. 105 10
      src/main/java/org/codelibs/fess/pager/UserInfoPager.java
  46. 114 9
      src/main/java/org/codelibs/fess/pager/WebAuthenticationPager.java
  47. 129 9
      src/main/java/org/codelibs/fess/pager/WebCrawlingConfigPager.java
  48. 62 10
      src/main/java/org/codelibs/fess/service/BoostDocumentRuleService.java
  49. 64 6
      src/main/java/org/codelibs/fess/service/CrawlingSessionService.java
  50. 49 14
      src/main/java/org/codelibs/fess/service/DataCrawlingConfigService.java
  51. 59 10
      src/main/java/org/codelibs/fess/service/FailureUrlService.java
  52. 61 10
      src/main/java/org/codelibs/fess/service/FavoriteLogService.java
  53. 62 10
      src/main/java/org/codelibs/fess/service/FileAuthenticationService.java
  54. 47 14
      src/main/java/org/codelibs/fess/service/FileCrawlingConfigService.java

+ 0 - 128
src/main/java/org/codelibs/fess/crud/pager/BsCrawlingSessionPager.java

@@ -1,128 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsCrawlingSessionPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String sessionId;
-
-    public String createdTime;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        sessionId = null;
-        createdTime = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 146
src/main/java/org/codelibs/fess/crud/pager/BsDataCrawlingConfigPager.java

@@ -1,146 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsDataCrawlingConfigPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String name;
-
-    public String handlerName;
-
-    public String boost;
-
-    public String available;
-
-    public String sortOrder;
-
-    public String createdBy;
-
-    public String createdTime;
-
-    public String versionNo;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        name = null;
-        handlerName = null;
-        boost = null;
-        available = null;
-        sortOrder = null;
-        createdBy = null;
-        createdTime = null;
-        versionNo = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 134
src/main/java/org/codelibs/fess/crud/pager/BsFailureUrlPager.java

@@ -1,134 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsFailureUrlPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String url;
-
-    public String threadName;
-
-    public String errorCount;
-
-    public String lastAccessTime;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        url = null;
-        threadName = null;
-        errorCount = null;
-        lastAccessTime = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 131
src/main/java/org/codelibs/fess/crud/pager/BsFavoriteLogPager.java

@@ -1,131 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsFavoriteLogPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String userId;
-
-    public String url;
-
-    public String createdTime;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        userId = null;
-        url = null;
-        createdTime = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 140
src/main/java/org/codelibs/fess/crud/pager/BsFileAuthenticationPager.java

@@ -1,140 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsFileAuthenticationPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String port;
-
-    public String username;
-
-    public String fileCrawlingConfigId;
-
-    public String createdBy;
-
-    public String createdTime;
-
-    public String versionNo;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        port = null;
-        username = null;
-        fileCrawlingConfigId = null;
-        createdBy = null;
-        createdTime = null;
-        versionNo = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 152
src/main/java/org/codelibs/fess/crud/pager/BsFileCrawlingConfigPager.java

@@ -1,152 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsFileCrawlingConfigPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String name;
-
-    public String paths;
-
-    public String numOfThread;
-
-    public String intervalTime;
-
-    public String boost;
-
-    public String available;
-
-    public String sortOrder;
-
-    public String createdBy;
-
-    public String createdTime;
-
-    public String versionNo;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        name = null;
-        paths = null;
-        numOfThread = null;
-        intervalTime = null;
-        boost = null;
-        available = null;
-        sortOrder = null;
-        createdBy = null;
-        createdTime = null;
-        versionNo = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 137
src/main/java/org/codelibs/fess/crud/pager/BsJobLogPager.java

@@ -1,137 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsJobLogPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String jobName;
-
-    public String jobStatus;
-
-    public String target;
-
-    public String scriptType;
-
-    public String startTime;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        jobName = null;
-        jobStatus = null;
-        target = null;
-        scriptType = null;
-        startTime = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 143
src/main/java/org/codelibs/fess/crud/pager/BsKeyMatchPager.java

@@ -1,143 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsKeyMatchPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String term;
-
-    public String query;
-
-    public String maxSize;
-
-    public String boost;
-
-    public String createdBy;
-
-    public String createdTime;
-
-    public String versionNo;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        term = null;
-        query = null;
-        maxSize = null;
-        boost = null;
-        createdBy = null;
-        createdTime = null;
-        versionNo = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 140
src/main/java/org/codelibs/fess/crud/pager/BsLabelTypePager.java

@@ -1,140 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsLabelTypePager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String name;
-
-    public String value;
-
-    public String sortOrder;
-
-    public String createdBy;
-
-    public String createdTime;
-
-    public String versionNo;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        name = null;
-        value = null;
-        sortOrder = null;
-        createdBy = null;
-        createdTime = null;
-        versionNo = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 140
src/main/java/org/codelibs/fess/crud/pager/BsOverlappingHostPager.java

@@ -1,140 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsOverlappingHostPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String regularName;
-
-    public String overlappingName;
-
-    public String sortOrder;
-
-    public String createdBy;
-
-    public String createdTime;
-
-    public String versionNo;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        regularName = null;
-        overlappingName = null;
-        sortOrder = null;
-        createdBy = null;
-        createdTime = null;
-        versionNo = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 143
src/main/java/org/codelibs/fess/crud/pager/BsPathMappingPager.java

@@ -1,143 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsPathMappingPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String regex;
-
-    public String replacement;
-
-    public String processType;
-
-    public String sortOrder;
-
-    public String createdBy;
-
-    public String createdTime;
-
-    public String versionNo;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        regex = null;
-        replacement = null;
-        processType = null;
-        sortOrder = null;
-        createdBy = null;
-        createdTime = null;
-        versionNo = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 140
src/main/java/org/codelibs/fess/crud/pager/BsRequestHeaderPager.java

@@ -1,140 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsRequestHeaderPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String name;
-
-    public String value;
-
-    public String webCrawlingConfigId;
-
-    public String createdBy;
-
-    public String createdTime;
-
-    public String versionNo;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        name = null;
-        value = null;
-        webCrawlingConfigId = null;
-        createdBy = null;
-        createdTime = null;
-        versionNo = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 140
src/main/java/org/codelibs/fess/crud/pager/BsRoleTypePager.java

@@ -1,140 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsRoleTypePager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String name;
-
-    public String value;
-
-    public String sortOrder;
-
-    public String createdBy;
-
-    public String createdTime;
-
-    public String versionNo;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        name = null;
-        value = null;
-        sortOrder = null;
-        createdBy = null;
-        createdTime = null;
-        versionNo = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 155
src/main/java/org/codelibs/fess/crud/pager/BsScheduledJobPager.java

@@ -1,155 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsScheduledJobPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String name;
-
-    public String target;
-
-    public String cronExpression;
-
-    public String scriptType;
-
-    public String crawler;
-
-    public String jobLogging;
-
-    public String available;
-
-    public String sortOrder;
-
-    public String createdBy;
-
-    public String createdTime;
-
-    public String versionNo;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        name = null;
-        target = null;
-        cronExpression = null;
-        scriptType = null;
-        crawler = null;
-        jobLogging = null;
-        available = null;
-        sortOrder = null;
-        createdBy = null;
-        createdTime = null;
-        versionNo = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 140
src/main/java/org/codelibs/fess/crud/pager/BsSearchLogPager.java

@@ -1,140 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsSearchLogPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String requestedTime;
-
-    public String responseTime;
-
-    public String hitCount;
-
-    public String queryOffset;
-
-    public String queryPageSize;
-
-    public String accessType;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        requestedTime = null;
-        responseTime = null;
-        hitCount = null;
-        queryOffset = null;
-        queryPageSize = null;
-        accessType = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 134
src/main/java/org/codelibs/fess/crud/pager/BsSuggestBadWordPager.java

@@ -1,134 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsSuggestBadWordPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String suggestWord;
-
-    public String createdBy;
-
-    public String createdTime;
-
-    public String versionNo;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        suggestWord = null;
-        createdBy = null;
-        createdTime = null;
-        versionNo = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 137
src/main/java/org/codelibs/fess/crud/pager/BsSuggestElevateWordPager.java

@@ -1,137 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsSuggestElevateWordPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String suggestWord;
-
-    public String boost;
-
-    public String createdBy;
-
-    public String createdTime;
-
-    public String versionNo;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        suggestWord = null;
-        boost = null;
-        createdBy = null;
-        createdTime = null;
-        versionNo = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 131
src/main/java/org/codelibs/fess/crud/pager/BsUserInfoPager.java

@@ -1,131 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsUserInfoPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String code;
-
-    public String createdTime;
-
-    public String updatedTime;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        code = null;
-        createdTime = null;
-        updatedTime = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 140
src/main/java/org/codelibs/fess/crud/pager/BsWebAuthenticationPager.java

@@ -1,140 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsWebAuthenticationPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String port;
-
-    public String username;
-
-    public String webCrawlingConfigId;
-
-    public String createdBy;
-
-    public String createdTime;
-
-    public String versionNo;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        port = null;
-        username = null;
-        webCrawlingConfigId = null;
-        createdBy = null;
-        createdTime = null;
-        versionNo = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 155
src/main/java/org/codelibs/fess/crud/pager/BsWebCrawlingConfigPager.java

@@ -1,155 +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.crud.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class BsWebCrawlingConfigPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 20;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public String id;
-
-    public String name;
-
-    public String urls;
-
-    public String userAgent;
-
-    public String numOfThread;
-
-    public String intervalTime;
-
-    public String boost;
-
-    public String available;
-
-    public String sortOrder;
-
-    public String createdBy;
-
-    public String createdTime;
-
-    public String versionNo;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-
-        id = null;
-        name = null;
-        urls = null;
-        userAgent = null;
-        numOfThread = null;
-        intervalTime = null;
-        boost = null;
-        available = null;
-        sortOrder = null;
-        createdBy = null;
-        createdTime = null;
-        versionNo = null;
-
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(final int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(final int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(final boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(final boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(final int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(final int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(final List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

+ 0 - 101
src/main/java/org/codelibs/fess/crud/service/BsBoostDocumentRuleService.java

@@ -1,101 +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.crud.service;
-
-import java.util.List;
-import java.util.Map;
-
-import javax.annotation.Resource;
-
-import org.codelibs.fess.crud.CommonConstants;
-import org.codelibs.fess.crud.CrudMessageException;
-import org.codelibs.fess.db.cbean.BoostDocumentRuleCB;
-import org.codelibs.fess.db.exbhv.BoostDocumentRuleBhv;
-import org.codelibs.fess.db.exentity.BoostDocumentRule;
-import org.codelibs.fess.pager.BoostDocumentRulePager;
-import org.dbflute.cbean.result.PagingResultBean;
-import org.seasar.framework.beans.util.Beans;
-
-public abstract class BsBoostDocumentRuleService {
-
-    @Resource
-    protected BoostDocumentRuleBhv boostDocumentRuleBhv;
-
-    public BsBoostDocumentRuleService() {
-        super();
-    }
-
-    public List<BoostDocumentRule> getBoostDocumentRuleList(final BoostDocumentRulePager boostDocumentRulePager) {
-
-        final PagingResultBean<BoostDocumentRule> boostDocumentRuleList = boostDocumentRuleBhv.selectPage(cb -> {
-            cb.paging(boostDocumentRulePager.getPageSize(), boostDocumentRulePager.getCurrentPageNumber());
-            setupListCondition(cb, boostDocumentRulePager);
-        });
-
-        // update pager
-        Beans.copy(boostDocumentRuleList, boostDocumentRulePager).includes(CommonConstants.PAGER_CONVERSION_RULE).execute();
-        boostDocumentRulePager.setPageNumberList(boostDocumentRuleList.pageRange(op -> {
-            op.rangeSize(5);
-        }).createPageNumberList());
-
-        return boostDocumentRuleList;
-    }
-
-    public BoostDocumentRule getBoostDocumentRule(final Map<String, String> keys) {
-        final BoostDocumentRule boostDocumentRule = boostDocumentRuleBhv.selectEntity(cb -> {
-            cb.query().setId_Equal(Long.parseLong(keys.get("id")));
-            setupEntityCondition(cb, keys);
-        }).orElse(null);//TODO
-        if (boostDocumentRule == null) {
-            // TODO exception?
-            return null;
-        }
-
-        return boostDocumentRule;
-    }
-
-    public void store(final BoostDocumentRule boostDocumentRule) throws CrudMessageException {
-        setupStoreCondition(boostDocumentRule);
-
-        boostDocumentRuleBhv.insertOrUpdate(boostDocumentRule);
-
-    }
-
-    public void delete(final BoostDocumentRule boostDocumentRule) throws CrudMessageException {
-        setupDeleteCondition(boostDocumentRule);
-
-        boostDocumentRuleBhv.delete(boostDocumentRule);
-
-    }
-
-    protected void setupListCondition(final BoostDocumentRuleCB cb, final BoostDocumentRulePager boostDocumentRulePager) {
-
-        if (boostDocumentRulePager.id != null) {
-            cb.query().setId_Equal(Long.parseLong(boostDocumentRulePager.id));
-        }
-        // TODO Long, Integer, String supported only.
-    }
-
-    protected void setupEntityCondition(final BoostDocumentRuleCB cb, final Map<String, String> keys) {
-    }
-
-    protected void setupStoreCondition(final BoostDocumentRule boostDocumentRule) {
-    }
-
-    protected void setupDeleteCondition(final BoostDocumentRule boostDocumentRule) {
-    }
-}

+ 0 - 101
src/main/java/org/codelibs/fess/crud/service/BsCrawlingSessionService.java

@@ -1,101 +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.crud.service;
-
-import java.util.List;
-import java.util.Map;
-
-import javax.annotation.Resource;
-
-import org.codelibs.fess.crud.CommonConstants;
-import org.codelibs.fess.crud.CrudMessageException;
-import org.codelibs.fess.db.cbean.CrawlingSessionCB;
-import org.codelibs.fess.db.exbhv.CrawlingSessionBhv;
-import org.codelibs.fess.db.exentity.CrawlingSession;
-import org.codelibs.fess.pager.CrawlingSessionPager;
-import org.dbflute.cbean.result.PagingResultBean;
-import org.seasar.framework.beans.util.Beans;
-
-public abstract class BsCrawlingSessionService {
-
-    @Resource
-    protected CrawlingSessionBhv crawlingSessionBhv;
-
-    public BsCrawlingSessionService() {
-        super();
-    }
-
-    public List<CrawlingSession> getCrawlingSessionList(final CrawlingSessionPager crawlingSessionPager) {
-
-        final PagingResultBean<CrawlingSession> crawlingSessionList = crawlingSessionBhv.selectPage(cb -> {
-            cb.paging(crawlingSessionPager.getPageSize(), crawlingSessionPager.getCurrentPageNumber());
-            setupListCondition(cb, crawlingSessionPager);
-        });
-
-        // update pager
-        Beans.copy(crawlingSessionList, crawlingSessionPager).includes(CommonConstants.PAGER_CONVERSION_RULE).execute();
-        crawlingSessionPager.setPageNumberList(crawlingSessionList.pageRange(op -> {
-            op.rangeSize(5);
-        }).createPageNumberList());
-
-        return crawlingSessionList;
-    }
-
-    public CrawlingSession getCrawlingSession(final Map<String, String> keys) {
-        final CrawlingSession crawlingSession = crawlingSessionBhv.selectEntity(cb -> {
-            cb.query().setId_Equal(Long.parseLong(keys.get("id")));
-            setupEntityCondition(cb, keys);
-        }).orElse(null);//TODO
-        if (crawlingSession == null) {
-            // TODO exception?
-            return null;
-        }
-
-        return crawlingSession;
-    }
-
-    public void store(final CrawlingSession crawlingSession) throws CrudMessageException {
-        setupStoreCondition(crawlingSession);
-
-        crawlingSessionBhv.insertOrUpdate(crawlingSession);
-
-    }
-
-    public void delete(final CrawlingSession crawlingSession) throws CrudMessageException {
-        setupDeleteCondition(crawlingSession);
-
-        crawlingSessionBhv.delete(crawlingSession);
-
-    }
-
-    protected void setupListCondition(final CrawlingSessionCB cb, final CrawlingSessionPager crawlingSessionPager) {
-
-        if (crawlingSessionPager.id != null) {
-            cb.query().setId_Equal(Long.parseLong(crawlingSessionPager.id));
-        }
-        // TODO Long, Integer, String supported only.
-    }
-
-    protected void setupEntityCondition(final CrawlingSessionCB cb, final Map<String, String> keys) {
-    }
-
-    protected void setupStoreCondition(final CrawlingSession crawlingSession) {
-    }
-
-    protected void setupDeleteCondition(final CrawlingSession crawlingSession) {
-    }
-}

+ 0 - 102
src/main/java/org/codelibs/fess/crud/service/BsDataCrawlingConfigService.java

@@ -1,102 +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.crud.service;
-
-import java.util.List;
-import java.util.Map;
-
-import javax.annotation.Resource;
-
-import org.codelibs.fess.crud.CommonConstants;
-import org.codelibs.fess.crud.CrudMessageException;
-import org.codelibs.fess.db.cbean.DataCrawlingConfigCB;
-import org.codelibs.fess.db.exbhv.DataCrawlingConfigBhv;
-import org.codelibs.fess.db.exentity.DataCrawlingConfig;
-import org.codelibs.fess.pager.DataCrawlingConfigPager;
-import org.dbflute.cbean.result.PagingResultBean;
-import org.seasar.framework.beans.util.Beans;
-
-public abstract class BsDataCrawlingConfigService {
-
-    @Resource
-    protected DataCrawlingConfigBhv dataCrawlingConfigBhv;
-
-    public BsDataCrawlingConfigService() {
-        super();
-    }
-
-    public List<DataCrawlingConfig> getDataCrawlingConfigList(final DataCrawlingConfigPager dataCrawlingConfigPager) {
-
-        final PagingResultBean<DataCrawlingConfig> dataCrawlingConfigList = dataCrawlingConfigBhv.selectPage(cb -> {
-            cb.paging(dataCrawlingConfigPager.getPageSize(), dataCrawlingConfigPager.getCurrentPageNumber());
-
-            setupListCondition(cb, dataCrawlingConfigPager);
-        });
-
-        // update pager
-        Beans.copy(dataCrawlingConfigList, dataCrawlingConfigPager).includes(CommonConstants.PAGER_CONVERSION_RULE).execute();
-        dataCrawlingConfigPager.setPageNumberList(dataCrawlingConfigList.pageRange(op -> {
-            op.rangeSize(5);
-        }).createPageNumberList());
-
-        return dataCrawlingConfigList;
-    }
-
-    public DataCrawlingConfig getDataCrawlingConfig(final Map<String, String> keys) {
-        final DataCrawlingConfig dataCrawlingConfig = dataCrawlingConfigBhv.selectEntity(cb -> {
-            cb.query().setId_Equal(Long.parseLong(keys.get("id")));
-            setupEntityCondition(cb, keys);
-        }).orElse(null);//TODO
-        if (dataCrawlingConfig == null) {
-            // TODO exception?
-            return null;
-        }
-
-        return dataCrawlingConfig;
-    }
-
-    public void store(final DataCrawlingConfig dataCrawlingConfig) throws CrudMessageException {
-        setupStoreCondition(dataCrawlingConfig);
-
-        dataCrawlingConfigBhv.insertOrUpdate(dataCrawlingConfig);
-
-    }
-
-    public void delete(final DataCrawlingConfig dataCrawlingConfig) throws CrudMessageException {
-        setupDeleteCondition(dataCrawlingConfig);
-
-        dataCrawlingConfigBhv.delete(dataCrawlingConfig);
-
-    }
-
-    protected void setupListCondition(final DataCrawlingConfigCB cb, final DataCrawlingConfigPager dataCrawlingConfigPager) {
-
-        if (dataCrawlingConfigPager.id != null) {
-            cb.query().setId_Equal(Long.parseLong(dataCrawlingConfigPager.id));
-        }
-        // TODO Long, Integer, String supported only.
-    }
-
-    protected void setupEntityCondition(final DataCrawlingConfigCB cb, final Map<String, String> keys) {
-    }
-
-    protected void setupStoreCondition(final DataCrawlingConfig dataCrawlingConfig) {
-    }
-
-    protected void setupDeleteCondition(final DataCrawlingConfig dataCrawlingConfig) {
-    }
-}

+ 0 - 101
src/main/java/org/codelibs/fess/crud/service/BsFailureUrlService.java

@@ -1,101 +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.crud.service;
-
-import java.util.List;
-import java.util.Map;
-
-import javax.annotation.Resource;
-
-import org.codelibs.fess.crud.CommonConstants;
-import org.codelibs.fess.crud.CrudMessageException;
-import org.codelibs.fess.db.cbean.FailureUrlCB;
-import org.codelibs.fess.db.exbhv.FailureUrlBhv;
-import org.codelibs.fess.db.exentity.FailureUrl;
-import org.codelibs.fess.pager.FailureUrlPager;
-import org.dbflute.cbean.result.PagingResultBean;
-import org.seasar.framework.beans.util.Beans;
-
-public abstract class BsFailureUrlService {
-
-    @Resource
-    protected FailureUrlBhv failureUrlBhv;
-
-    public BsFailureUrlService() {
-        super();
-    }
-
-    public List<FailureUrl> getFailureUrlList(final FailureUrlPager failureUrlPager) {
-
-        final PagingResultBean<FailureUrl> failureUrlList = failureUrlBhv.selectPage(cb -> {
-            cb.paging(failureUrlPager.getPageSize(), failureUrlPager.getCurrentPageNumber());
-            setupListCondition(cb, failureUrlPager);
-        });
-
-        // update pager
-        Beans.copy(failureUrlList, failureUrlPager).includes(CommonConstants.PAGER_CONVERSION_RULE).execute();
-        failureUrlPager.setPageNumberList(failureUrlList.pageRange(op -> {
-            op.rangeSize(5);
-        }).createPageNumberList());
-
-        return failureUrlList;
-    }
-
-    public FailureUrl getFailureUrl(final Map<String, String> keys) {
-        final FailureUrl failureUrl = failureUrlBhv.selectEntity(cb -> {
-            cb.query().setId_Equal(Long.parseLong(keys.get("id")));
-            setupEntityCondition(cb, keys);
-        }).orElse(null);
-        if (failureUrl == null) {
-            // TODO exception?
-            return null;
-        }
-
-        return failureUrl;
-    }
-
-    public void store(final FailureUrl failureUrl) throws CrudMessageException {
-        setupStoreCondition(failureUrl);
-
-        failureUrlBhv.insertOrUpdate(failureUrl);
-
-    }
-
-    public void delete(final FailureUrl failureUrl) throws CrudMessageException {
-        setupDeleteCondition(failureUrl);
-
-        failureUrlBhv.delete(failureUrl);
-
-    }
-
-    protected void setupListCondition(final FailureUrlCB cb, final FailureUrlPager failureUrlPager) {
-
-        if (failureUrlPager.id != null) {
-            cb.query().setId_Equal(Long.parseLong(failureUrlPager.id));
-        }
-        // TODO Long, Integer, String supported only.
-    }
-
-    protected void setupEntityCondition(final FailureUrlCB cb, final Map<String, String> keys) {
-    }
-
-    protected void setupStoreCondition(final FailureUrl failureUrl) {
-    }
-
-    protected void setupDeleteCondition(final FailureUrl failureUrl) {
-    }
-}

+ 0 - 101
src/main/java/org/codelibs/fess/crud/service/BsFavoriteLogService.java

@@ -1,101 +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.crud.service;
-
-import java.util.List;
-import java.util.Map;
-
-import javax.annotation.Resource;
-
-import org.codelibs.fess.crud.CommonConstants;
-import org.codelibs.fess.crud.CrudMessageException;
-import org.codelibs.fess.db.cbean.FavoriteLogCB;
-import org.codelibs.fess.db.exbhv.FavoriteLogBhv;
-import org.codelibs.fess.db.exentity.FavoriteLog;
-import org.codelibs.fess.pager.FavoriteLogPager;
-import org.dbflute.cbean.result.PagingResultBean;
-import org.seasar.framework.beans.util.Beans;
-
-public abstract class BsFavoriteLogService {
-
-    @Resource
-    protected FavoriteLogBhv favoriteLogBhv;
-
-    public BsFavoriteLogService() {
-        super();
-    }
-
-    public List<FavoriteLog> getFavoriteLogList(final FavoriteLogPager favoriteLogPager) {
-
-        final PagingResultBean<FavoriteLog> favoriteLogList = favoriteLogBhv.selectPage(cb -> {
-            cb.paging(favoriteLogPager.getPageSize(), favoriteLogPager.getCurrentPageNumber());
-            setupListCondition(cb, favoriteLogPager);
-        });
-
-        // update pager
-        Beans.copy(favoriteLogList, favoriteLogPager).includes(CommonConstants.PAGER_CONVERSION_RULE).execute();
-        favoriteLogPager.setPageNumberList(favoriteLogList.pageRange(op -> {
-            op.rangeSize(5);
-        }).createPageNumberList());
-
-        return favoriteLogList;
-    }
-
-    public FavoriteLog getFavoriteLog(final Map<String, String> keys) {
-        final FavoriteLog favoriteLog = favoriteLogBhv.selectEntity(cb -> {
-            cb.query().setId_Equal(Long.parseLong(keys.get("id")));
-            setupEntityCondition(cb, keys);
-        }).orElse(null);//TODO
-        if (favoriteLog == null) {
-            // TODO exception?
-            return null;
-        }
-
-        return favoriteLog;
-    }
-
-    public void store(final FavoriteLog favoriteLog) throws CrudMessageException {
-        setupStoreCondition(favoriteLog);
-
-        favoriteLogBhv.insertOrUpdate(favoriteLog);
-
-    }
-
-    public void delete(final FavoriteLog favoriteLog) throws CrudMessageException {
-        setupDeleteCondition(favoriteLog);
-
-        favoriteLogBhv.delete(favoriteLog);
-
-    }
-
-    protected void setupListCondition(final FavoriteLogCB cb, final FavoriteLogPager favoriteLogPager) {
-
-        if (favoriteLogPager.id != null) {
-            cb.query().setId_Equal(Long.parseLong(favoriteLogPager.id));
-        }
-        // TODO Long, Integer, String supported only.
-    }
-
-    protected void setupEntityCondition(final FavoriteLogCB cb, final Map<String, String> keys) {
-    }
-
-    protected void setupStoreCondition(final FavoriteLog favoriteLog) {
-    }
-
-    protected void setupDeleteCondition(final FavoriteLog favoriteLog) {
-    }
-}

+ 0 - 101
src/main/java/org/codelibs/fess/crud/service/BsFileAuthenticationService.java

@@ -1,101 +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.crud.service;
-
-import java.util.List;
-import java.util.Map;
-
-import javax.annotation.Resource;
-
-import org.codelibs.fess.crud.CommonConstants;
-import org.codelibs.fess.crud.CrudMessageException;
-import org.codelibs.fess.db.cbean.FileAuthenticationCB;
-import org.codelibs.fess.db.exbhv.FileAuthenticationBhv;
-import org.codelibs.fess.db.exentity.FileAuthentication;
-import org.codelibs.fess.pager.FileAuthenticationPager;
-import org.dbflute.cbean.result.PagingResultBean;
-import org.seasar.framework.beans.util.Beans;
-
-public abstract class BsFileAuthenticationService {
-
-    @Resource
-    protected FileAuthenticationBhv fileAuthenticationBhv;
-
-    public BsFileAuthenticationService() {
-        super();
-    }
-
-    public List<FileAuthentication> getFileAuthenticationList(final FileAuthenticationPager fileAuthenticationPager) {
-
-        final PagingResultBean<FileAuthentication> fileAuthenticationList = fileAuthenticationBhv.selectPage(cb -> {
-            cb.paging(fileAuthenticationPager.getPageSize(), fileAuthenticationPager.getCurrentPageNumber());
-            setupListCondition(cb, fileAuthenticationPager);
-        });
-
-        // update pager
-        Beans.copy(fileAuthenticationList, fileAuthenticationPager).includes(CommonConstants.PAGER_CONVERSION_RULE).execute();
-        fileAuthenticationPager.setPageNumberList(fileAuthenticationList.pageRange(op -> {
-            op.rangeSize(5);
-        }).createPageNumberList());
-
-        return fileAuthenticationList;
-    }
-
-    public FileAuthentication getFileAuthentication(final Map<String, String> keys) {
-        final FileAuthentication fileAuthentication = fileAuthenticationBhv.selectEntity(cb -> {
-            cb.query().setId_Equal(Long.parseLong(keys.get("id")));
-            setupEntityCondition(cb, keys);
-        }).orElse(null);//TODO
-        if (fileAuthentication == null) {
-            // TODO exception?
-            return null;
-        }
-
-        return fileAuthentication;
-    }
-
-    public void store(final FileAuthentication fileAuthentication) throws CrudMessageException {
-        setupStoreCondition(fileAuthentication);
-
-        fileAuthenticationBhv.insertOrUpdate(fileAuthentication);
-
-    }
-
-    public void delete(final FileAuthentication fileAuthentication) throws CrudMessageException {
-        setupDeleteCondition(fileAuthentication);
-
-        fileAuthenticationBhv.delete(fileAuthentication);
-
-    }
-
-    protected void setupListCondition(final FileAuthenticationCB cb, final FileAuthenticationPager fileAuthenticationPager) {
-
-        if (fileAuthenticationPager.id != null) {
-            cb.query().setId_Equal(Long.parseLong(fileAuthenticationPager.id));
-        }
-        // TODO Long, Integer, String supported only.
-    }
-
-    protected void setupEntityCondition(final FileAuthenticationCB cb, final Map<String, String> keys) {
-    }
-
-    protected void setupStoreCondition(final FileAuthentication fileAuthentication) {
-    }
-
-    protected void setupDeleteCondition(final FileAuthentication fileAuthentication) {
-    }
-}

+ 0 - 101
src/main/java/org/codelibs/fess/crud/service/BsFileCrawlingConfigService.java

@@ -1,101 +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.crud.service;
-
-import java.util.List;
-import java.util.Map;
-
-import javax.annotation.Resource;
-
-import org.codelibs.fess.crud.CommonConstants;
-import org.codelibs.fess.crud.CrudMessageException;
-import org.codelibs.fess.db.cbean.FileCrawlingConfigCB;
-import org.codelibs.fess.db.exbhv.FileCrawlingConfigBhv;
-import org.codelibs.fess.db.exentity.FileCrawlingConfig;
-import org.codelibs.fess.pager.FileCrawlingConfigPager;
-import org.dbflute.cbean.result.PagingResultBean;
-import org.seasar.framework.beans.util.Beans;
-
-public abstract class BsFileCrawlingConfigService {
-
-    @Resource
-    protected FileCrawlingConfigBhv fileCrawlingConfigBhv;
-
-    public BsFileCrawlingConfigService() {
-        super();
-    }
-
-    public List<FileCrawlingConfig> getFileCrawlingConfigList(final FileCrawlingConfigPager fileCrawlingConfigPager) {
-
-        final PagingResultBean<FileCrawlingConfig> fileCrawlingConfigList = fileCrawlingConfigBhv.selectPage(cb -> {
-            cb.paging(fileCrawlingConfigPager.getPageSize(), fileCrawlingConfigPager.getCurrentPageNumber());
-            setupListCondition(cb, fileCrawlingConfigPager);
-        });
-
-        // update pager
-        Beans.copy(fileCrawlingConfigList, fileCrawlingConfigPager).includes(CommonConstants.PAGER_CONVERSION_RULE).execute();
-        fileCrawlingConfigPager.setPageNumberList(fileCrawlingConfigList.pageRange(op -> {
-            op.rangeSize(5);
-        }).createPageNumberList());
-
-        return fileCrawlingConfigList;
-    }
-
-    public FileCrawlingConfig getFileCrawlingConfig(final Map<String, String> keys) {
-        final FileCrawlingConfig fileCrawlingConfig = fileCrawlingConfigBhv.selectEntity(cb -> {
-            cb.query().setId_Equal(Long.parseLong(keys.get("id")));
-            setupEntityCondition(cb, keys);
-        }).orElse(null);//TODO
-        if (fileCrawlingConfig == null) {
-            // TODO exception?
-            return null;
-        }
-
-        return fileCrawlingConfig;
-    }
-
-    public void store(final FileCrawlingConfig fileCrawlingConfig) throws CrudMessageException {
-        setupStoreCondition(fileCrawlingConfig);
-
-        fileCrawlingConfigBhv.insertOrUpdate(fileCrawlingConfig);
-
-    }
-
-    public void delete(final FileCrawlingConfig fileCrawlingConfig) throws CrudMessageException {
-        setupDeleteCondition(fileCrawlingConfig);
-
-        fileCrawlingConfigBhv.delete(fileCrawlingConfig);
-
-    }
-
-    protected void setupListCondition(final FileCrawlingConfigCB cb, final FileCrawlingConfigPager fileCrawlingConfigPager) {
-
-        if (fileCrawlingConfigPager.id != null) {
-            cb.query().setId_Equal(Long.parseLong(fileCrawlingConfigPager.id));
-        }
-        // TODO Long, Integer, String supported only.
-    }
-
-    protected void setupEntityCondition(final FileCrawlingConfigCB cb, final Map<String, String> keys) {
-    }
-
-    protected void setupStoreCondition(final FileCrawlingConfig fileCrawlingConfig) {
-    }
-
-    protected void setupDeleteCondition(final FileCrawlingConfig fileCrawlingConfig) {
-    }
-}

+ 99 - 6
src/main/java/org/codelibs/fess/pager/CrawlingSessionPager.java

@@ -16,23 +16,116 @@
 
 package org.codelibs.fess.pager;
 
+import java.util.List;
+
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsCrawlingSessionPager;
 
-public class CrawlingSessionPager extends BsCrawlingSessionPager {
+public class CrawlingSessionPager {
+
+    public static final int DEFAULT_PAGE_SIZE = 20;
+
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
 
-    private static final long serialVersionUID = 1L;
+    public String sessionId;
+
+    public String createdTime;
 
     public CrawlingSessionPager() {
         super();
     }
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        sessionId = null;
+        createdTime = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 120 - 9
src/main/java/org/codelibs/fess/pager/DataCrawlingConfigPager.java

@@ -16,23 +16,134 @@
 
 package org.codelibs.fess.pager;
 
+import java.util.List;
+
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsDataCrawlingConfigPager;
 
-public class DataCrawlingConfigPager extends BsDataCrawlingConfigPager {
+public class DataCrawlingConfigPager {
 
-    private static final long serialVersionUID = 1L;
+    public static final int DEFAULT_PAGE_SIZE = 20;
 
-    public DataCrawlingConfigPager() {
-        super();
-    }
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String name;
+
+    public String handlerName;
+
+    public String boost;
+
+    public String available;
+
+    public String sortOrder;
+
+    public String createdBy;
+
+    public String createdTime;
+
+    public String versionNo;
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        name = null;
+        handlerName = null;
+        boost = null;
+        available = null;
+        sortOrder = null;
+        createdBy = null;
+        createdTime = null;
+        versionNo = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+
+    public DataCrawlingConfigPager() {
+        super();
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 106 - 11
src/main/java/org/codelibs/fess/pager/FailureUrlPager.java

@@ -16,14 +16,13 @@
 
 package org.codelibs.fess.pager;
 
+import java.util.List;
+
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsFailureUrlPager;
 import org.seasar.struts.annotation.IntRange;
 import org.seasar.struts.annotation.Maxbytelength;
 
-public class FailureUrlPager extends BsFailureUrlPager {
-
-    private static final long serialVersionUID = 1L;
+public class FailureUrlPager {
 
     @Maxbytelength(maxbytelength = 1000)
     public String url;
@@ -37,20 +36,116 @@ public class FailureUrlPager extends BsFailureUrlPager {
     @Maxbytelength(maxbytelength = 1000)
     public String errorName;
 
-    public FailureUrlPager() {
-        super();
-    }
+    public static final int DEFAULT_PAGE_SIZE = 20;
+
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String threadName;
+
+    public String errorCount;
+
+    public String lastAccessTime;
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
         url = null;
+        threadName = null;
+        errorCount = null;
+        lastAccessTime = null;
         errorCountMin = null;
         errorCountMax = null;
-        errorName = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+
+    public FailureUrlPager() {
+        super();
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 106 - 10
src/main/java/org/codelibs/fess/pager/FavoriteLogPager.java

@@ -16,12 +16,11 @@
 
 package org.codelibs.fess.pager;
 
-import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsFavoriteLogPager;
+import java.util.List;
 
-public class FavoriteLogPager extends BsFavoriteLogPager {
+import org.codelibs.fess.Constants;
 
-    private static final long serialVersionUID = 1L;
+public class FavoriteLogPager {
 
     public String userCode;
 
@@ -37,13 +36,40 @@ public class FavoriteLogPager extends BsFavoriteLogPager {
 
     public String endMin;
 
-    public FavoriteLogPager() {
-        super();
-    }
+    public static final int DEFAULT_PAGE_SIZE = 20;
+
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String userId;
+
+    public String url;
+
+    public String createdTime;
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        userId = null;
+        url = null;
+        createdTime = null;
         userCode = null;
         startDate = null;
         startHour = null;
@@ -51,9 +77,79 @@ public class FavoriteLogPager extends BsFavoriteLogPager {
         endDate = null;
         endHour = null;
         endMin = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+
+    public FavoriteLogPager() {
+        super();
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 114 - 9
src/main/java/org/codelibs/fess/pager/FileAuthenticationPager.java

@@ -16,23 +16,128 @@
 
 package org.codelibs.fess.pager;
 
+import java.util.List;
+
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsFileAuthenticationPager;
 
-public class FileAuthenticationPager extends BsFileAuthenticationPager {
+public class FileAuthenticationPager {
 
-    private static final long serialVersionUID = 1L;
+    public static final int DEFAULT_PAGE_SIZE = 20;
 
-    public FileAuthenticationPager() {
-        super();
-    }
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String port;
+
+    public String username;
+
+    public String fileCrawlingConfigId;
+
+    public String createdBy;
+
+    public String createdTime;
+
+    public String versionNo;
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        port = null;
+        username = null;
+        fileCrawlingConfigId = null;
+        createdBy = null;
+        createdTime = null;
+        versionNo = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+
+    public FileAuthenticationPager() {
+        super();
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 126 - 9
src/main/java/org/codelibs/fess/pager/FileCrawlingConfigPager.java

@@ -16,23 +16,140 @@
 
 package org.codelibs.fess.pager;
 
+import java.util.List;
+
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsFileCrawlingConfigPager;
 
-public class FileCrawlingConfigPager extends BsFileCrawlingConfigPager {
+public class FileCrawlingConfigPager {
 
-    private static final long serialVersionUID = 1L;
+    public static final int DEFAULT_PAGE_SIZE = 20;
 
-    public FileCrawlingConfigPager() {
-        super();
-    }
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String name;
+
+    public String paths;
+
+    public String numOfThread;
+
+    public String intervalTime;
+
+    public String boost;
+
+    public String available;
+
+    public String sortOrder;
+
+    public String createdBy;
+
+    public String createdTime;
+
+    public String versionNo;
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        name = null;
+        paths = null;
+        numOfThread = null;
+        intervalTime = null;
+        boost = null;
+        available = null;
+        sortOrder = null;
+        createdBy = null;
+        createdTime = null;
+        versionNo = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+
+    public FileCrawlingConfigPager() {
+        super();
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 111 - 9
src/main/java/org/codelibs/fess/pager/JobLogPager.java

@@ -16,23 +16,125 @@
 
 package org.codelibs.fess.pager;
 
+import java.util.List;
+
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsJobLogPager;
 
-public class JobLogPager extends BsJobLogPager {
+public class JobLogPager {
 
-    private static final long serialVersionUID = 1L;
+    public static final int DEFAULT_PAGE_SIZE = 20;
 
-    public JobLogPager() {
-        super();
-    }
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String jobName;
+
+    public String jobStatus;
+
+    public String target;
+
+    public String scriptType;
+
+    public String startTime;
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        jobName = null;
+        jobStatus = null;
+        target = null;
+        scriptType = null;
+        startTime = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+
+    public JobLogPager() {
+        super();
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 115 - 7
src/main/java/org/codelibs/fess/pager/KeyMatchPager.java

@@ -16,23 +16,131 @@
 
 package org.codelibs.fess.pager;
 
-import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsKeyMatchPager;
+import java.util.List;
 
-public class KeyMatchPager extends BsKeyMatchPager {
+import org.codelibs.fess.Constants;
 
-    private static final long serialVersionUID = 1L;
+public class KeyMatchPager {
 
     public KeyMatchPager() {
         super();
     }
 
-    @Override
+    public static final int DEFAULT_PAGE_SIZE = 20;
+
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String term;
+
+    public String query;
+
+    public String maxSize;
+
+    public String boost;
+
+    public String createdBy;
+
+    public String createdTime;
+
+    public String versionNo;
+
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        term = null;
+        query = null;
+        maxSize = null;
+        boost = null;
+        createdBy = null;
+        createdTime = null;
+        versionNo = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 114 - 9
src/main/java/org/codelibs/fess/pager/LabelTypePager.java

@@ -16,23 +16,128 @@
 
 package org.codelibs.fess.pager;
 
+import java.util.List;
+
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsLabelTypePager;
 
-public class LabelTypePager extends BsLabelTypePager {
+public class LabelTypePager {
 
-    private static final long serialVersionUID = 1L;
+    public static final int DEFAULT_PAGE_SIZE = 20;
 
-    public LabelTypePager() {
-        super();
-    }
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String name;
+
+    public String value;
+
+    public String sortOrder;
+
+    public String createdBy;
+
+    public String createdTime;
+
+    public String versionNo;
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        name = null;
+        value = null;
+        sortOrder = null;
+        createdBy = null;
+        createdTime = null;
+        versionNo = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+
+    public LabelTypePager() {
+        super();
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 114 - 9
src/main/java/org/codelibs/fess/pager/OverlappingHostPager.java

@@ -16,23 +16,128 @@
 
 package org.codelibs.fess.pager;
 
+import java.util.List;
+
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsOverlappingHostPager;
 
-public class OverlappingHostPager extends BsOverlappingHostPager {
+public class OverlappingHostPager {
 
-    private static final long serialVersionUID = 1L;
+    public static final int DEFAULT_PAGE_SIZE = 20;
 
-    public OverlappingHostPager() {
-        super();
-    }
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String regularName;
+
+    public String overlappingName;
+
+    public String sortOrder;
+
+    public String createdBy;
+
+    public String createdTime;
+
+    public String versionNo;
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        regularName = null;
+        overlappingName = null;
+        sortOrder = null;
+        createdBy = null;
+        createdTime = null;
+        versionNo = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+
+    public OverlappingHostPager() {
+        super();
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 117 - 9
src/main/java/org/codelibs/fess/pager/PathMappingPager.java

@@ -16,23 +16,131 @@
 
 package org.codelibs.fess.pager;
 
+import java.util.List;
+
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsPathMappingPager;
 
-public class PathMappingPager extends BsPathMappingPager {
+public class PathMappingPager {
 
-    private static final long serialVersionUID = 1L;
+    public static final int DEFAULT_PAGE_SIZE = 20;
 
-    public PathMappingPager() {
-        super();
-    }
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String regex;
+
+    public String replacement;
+
+    public String processType;
+
+    public String sortOrder;
+
+    public String createdBy;
+
+    public String createdTime;
+
+    public String versionNo;
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        regex = null;
+        replacement = null;
+        processType = null;
+        sortOrder = null;
+        createdBy = null;
+        createdTime = null;
+        versionNo = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+
+    public PathMappingPager() {
+        super();
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 114 - 9
src/main/java/org/codelibs/fess/pager/RequestHeaderPager.java

@@ -16,23 +16,128 @@
 
 package org.codelibs.fess.pager;
 
+import java.util.List;
+
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsRequestHeaderPager;
 
-public class RequestHeaderPager extends BsRequestHeaderPager {
+public class RequestHeaderPager {
 
-    private static final long serialVersionUID = 1L;
+    public static final int DEFAULT_PAGE_SIZE = 20;
 
-    public RequestHeaderPager() {
-        super();
-    }
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String name;
+
+    public String value;
+
+    public String webCrawlingConfigId;
+
+    public String createdBy;
+
+    public String createdTime;
+
+    public String versionNo;
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        name = null;
+        value = null;
+        webCrawlingConfigId = null;
+        createdBy = null;
+        createdTime = null;
+        versionNo = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+
+    public RequestHeaderPager() {
+        super();
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 114 - 9
src/main/java/org/codelibs/fess/pager/RoleTypePager.java

@@ -16,23 +16,128 @@
 
 package org.codelibs.fess.pager;
 
+import java.util.List;
+
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsRoleTypePager;
 
-public class RoleTypePager extends BsRoleTypePager {
+public class RoleTypePager {
 
-    private static final long serialVersionUID = 1L;
+    public static final int DEFAULT_PAGE_SIZE = 20;
 
-    public RoleTypePager() {
-        super();
-    }
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String name;
+
+    public String value;
+
+    public String sortOrder;
+
+    public String createdBy;
+
+    public String createdTime;
+
+    public String versionNo;
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        name = null;
+        value = null;
+        sortOrder = null;
+        createdBy = null;
+        createdTime = null;
+        versionNo = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+
+    public RoleTypePager() {
+        super();
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 129 - 9
src/main/java/org/codelibs/fess/pager/ScheduledJobPager.java

@@ -16,23 +16,143 @@
 
 package org.codelibs.fess.pager;
 
+import java.util.List;
+
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsScheduledJobPager;
 
-public class ScheduledJobPager extends BsScheduledJobPager {
+public class ScheduledJobPager {
 
-    private static final long serialVersionUID = 1L;
+    public static final int DEFAULT_PAGE_SIZE = 20;
 
-    public ScheduledJobPager() {
-        super();
-    }
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String name;
+
+    public String target;
+
+    public String cronExpression;
+
+    public String scriptType;
+
+    public String crawler;
+
+    public String jobLogging;
+
+    public String available;
+
+    public String sortOrder;
+
+    public String createdBy;
+
+    public String createdTime;
+
+    public String versionNo;
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        name = null;
+        target = null;
+        cronExpression = null;
+        scriptType = null;
+        crawler = null;
+        jobLogging = null;
+        available = null;
+        sortOrder = null;
+        createdBy = null;
+        createdTime = null;
+        versionNo = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+
+    public ScheduledJobPager() {
+        super();
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 115 - 10
src/main/java/org/codelibs/fess/pager/SearchLogPager.java

@@ -16,12 +16,11 @@
 
 package org.codelibs.fess.pager;
 
-import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsSearchLogPager;
+import java.util.List;
 
-public class SearchLogPager extends BsSearchLogPager {
+import org.codelibs.fess.Constants;
 
-    private static final long serialVersionUID = 1L;
+public class SearchLogPager {
 
     public String searchWord;
 
@@ -45,13 +44,49 @@ public class SearchLogPager extends BsSearchLogPager {
 
     public String startPage;
 
-    public SearchLogPager() {
-        super();
-    }
+    public static final int DEFAULT_PAGE_SIZE = 20;
+
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String requestedTime;
+
+    public String responseTime;
+
+    public String hitCount;
+
+    public String queryOffset;
+
+    public String queryPageSize;
+
+    public String accessType;
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        requestedTime = null;
+        responseTime = null;
+        hitCount = null;
+        queryOffset = null;
+        queryPageSize = null;
+        accessType = null;
         searchWord = null;
         userCode = null;
         sortOrder = null;
@@ -63,9 +98,79 @@ public class SearchLogPager extends BsSearchLogPager {
         endHour = null;
         endMin = null;
         startPage = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+
+    public SearchLogPager() {
+        super();
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 108 - 9
src/main/java/org/codelibs/fess/pager/SuggestBadWordPager.java

@@ -16,23 +16,122 @@
 
 package org.codelibs.fess.pager;
 
+import java.util.List;
+
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsSuggestBadWordPager;
 
-public class SuggestBadWordPager extends BsSuggestBadWordPager {
+public class SuggestBadWordPager {
 
-    private static final long serialVersionUID = 1L;
+    public static final int DEFAULT_PAGE_SIZE = 20;
 
-    public SuggestBadWordPager() {
-        super();
-    }
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String suggestWord;
+
+    public String createdBy;
+
+    public String createdTime;
+
+    public String versionNo;
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        suggestWord = null;
+        createdBy = null;
+        createdTime = null;
+        versionNo = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+
+    public SuggestBadWordPager() {
+        super();
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 111 - 9
src/main/java/org/codelibs/fess/pager/SuggestElevateWordPager.java

@@ -16,23 +16,125 @@
 
 package org.codelibs.fess.pager;
 
+import java.util.List;
+
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsSuggestElevateWordPager;
 
-public class SuggestElevateWordPager extends BsSuggestElevateWordPager {
+public class SuggestElevateWordPager {
 
-    private static final long serialVersionUID = 1L;
+    public static final int DEFAULT_PAGE_SIZE = 20;
 
-    public SuggestElevateWordPager() {
-        super();
-    }
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String suggestWord;
+
+    public String boost;
+
+    public String createdBy;
+
+    public String createdTime;
+
+    public String versionNo;
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        suggestWord = null;
+        boost = null;
+        createdBy = null;
+        createdTime = null;
+        versionNo = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+
+    public SuggestElevateWordPager() {
+        super();
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 105 - 10
src/main/java/org/codelibs/fess/pager/UserInfoPager.java

@@ -17,26 +17,121 @@
 package org.codelibs.fess.pager;
 
 import java.time.LocalDateTime;
+import java.util.List;
 
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsUserInfoPager;
 
-public class UserInfoPager extends BsUserInfoPager {
-
-    private static final long serialVersionUID = 1L;
+public class UserInfoPager {
 
     public LocalDateTime updatedTimeBefore;
 
-    public UserInfoPager() {
-        super();
-    }
+    public static final int DEFAULT_PAGE_SIZE = 20;
+
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String code;
+
+    public String createdTime;
+
+    public String updatedTime;
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        code = null;
+        createdTime = null;
+        updatedTime = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+
+    public UserInfoPager() {
+        super();
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 114 - 9
src/main/java/org/codelibs/fess/pager/WebAuthenticationPager.java

@@ -16,23 +16,128 @@
 
 package org.codelibs.fess.pager;
 
+import java.util.List;
+
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsWebAuthenticationPager;
 
-public class WebAuthenticationPager extends BsWebAuthenticationPager {
+public class WebAuthenticationPager {
 
-    private static final long serialVersionUID = 1L;
+    public static final int DEFAULT_PAGE_SIZE = 20;
 
-    public WebAuthenticationPager() {
-        super();
-    }
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String port;
+
+    public String username;
+
+    public String webCrawlingConfigId;
+
+    public String createdBy;
+
+    public String createdTime;
+
+    public String versionNo;
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        port = null;
+        username = null;
+        webCrawlingConfigId = null;
+        createdBy = null;
+        createdTime = null;
+        versionNo = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+
+    public WebAuthenticationPager() {
+        super();
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 129 - 9
src/main/java/org/codelibs/fess/pager/WebCrawlingConfigPager.java

@@ -16,23 +16,143 @@
 
 package org.codelibs.fess.pager;
 
+import java.util.List;
+
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.pager.BsWebCrawlingConfigPager;
 
-public class WebCrawlingConfigPager extends BsWebCrawlingConfigPager {
+public class WebCrawlingConfigPager {
 
-    private static final long serialVersionUID = 1L;
+    public static final int DEFAULT_PAGE_SIZE = 20;
 
-    public WebCrawlingConfigPager() {
-        super();
-    }
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public String id;
+
+    public String name;
+
+    public String urls;
+
+    public String userAgent;
+
+    public String numOfThread;
+
+    public String intervalTime;
+
+    public String boost;
+
+    public String available;
+
+    public String sortOrder;
+
+    public String createdBy;
+
+    public String createdTime;
+
+    public String versionNo;
 
-    @Override
     public void clear() {
-        super.clear();
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+
+        id = null;
+        name = null;
+        urls = null;
+        userAgent = null;
+        numOfThread = null;
+        intervalTime = null;
+        boost = null;
+        available = null;
+        sortOrder = null;
+        createdBy = null;
+        createdTime = null;
+        versionNo = null;
+
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(final int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(final int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(final boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(final boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(final int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(final int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(final List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+
+    public WebCrawlingConfigPager() {
+        super();
     }
 
-    @Override
     protected int getDefaultPageSize() {
         return Constants.DEFAULT_ADMIN_PAGE_SIZE;
     }

+ 62 - 10
src/main/java/org/codelibs/fess/service/BoostDocumentRuleService.java

@@ -20,18 +20,76 @@ import java.io.Serializable;
 import java.util.List;
 import java.util.Map;
 
-import org.codelibs.fess.crud.service.BsBoostDocumentRuleService;
+import javax.annotation.Resource;
+
+import org.codelibs.fess.crud.CommonConstants;
+import org.codelibs.fess.crud.CrudMessageException;
 import org.codelibs.fess.db.cbean.BoostDocumentRuleCB;
+import org.codelibs.fess.db.exbhv.BoostDocumentRuleBhv;
 import org.codelibs.fess.db.exentity.BoostDocumentRule;
 import org.codelibs.fess.pager.BoostDocumentRulePager;
+import org.dbflute.cbean.result.PagingResultBean;
+import org.seasar.framework.beans.util.Beans;
 
-public class BoostDocumentRuleService extends BsBoostDocumentRuleService implements Serializable {
+public class BoostDocumentRuleService implements Serializable {
 
     private static final long serialVersionUID = 1L;
 
-    @Override
+    @Resource
+    protected BoostDocumentRuleBhv boostDocumentRuleBhv;
+
+    public BoostDocumentRuleService() {
+        super();
+    }
+
+    public List<BoostDocumentRule> getBoostDocumentRuleList(final BoostDocumentRulePager boostDocumentRulePager) {
+
+        final PagingResultBean<BoostDocumentRule> boostDocumentRuleList = boostDocumentRuleBhv.selectPage(cb -> {
+            cb.paging(boostDocumentRulePager.getPageSize(), boostDocumentRulePager.getCurrentPageNumber());
+            setupListCondition(cb, boostDocumentRulePager);
+        });
+
+        // update pager
+        Beans.copy(boostDocumentRuleList, boostDocumentRulePager).includes(CommonConstants.PAGER_CONVERSION_RULE).execute();
+        boostDocumentRulePager.setPageNumberList(boostDocumentRuleList.pageRange(op -> {
+            op.rangeSize(5);
+        }).createPageNumberList());
+
+        return boostDocumentRuleList;
+    }
+
+    public BoostDocumentRule getBoostDocumentRule(final Map<String, String> keys) {
+        final BoostDocumentRule boostDocumentRule = boostDocumentRuleBhv.selectEntity(cb -> {
+            cb.query().setId_Equal(Long.parseLong(keys.get("id")));
+            setupEntityCondition(cb, keys);
+        }).orElse(null);//TODO
+        if (boostDocumentRule == null) {
+            // TODO exception?
+            return null;
+        }
+
+        return boostDocumentRule;
+    }
+
+    public void store(final BoostDocumentRule boostDocumentRule) throws CrudMessageException {
+        setupStoreCondition(boostDocumentRule);
+
+        boostDocumentRuleBhv.insertOrUpdate(boostDocumentRule);
+
+    }
+
+    public void delete(final BoostDocumentRule boostDocumentRule) throws CrudMessageException {
+        setupDeleteCondition(boostDocumentRule);
+
+        boostDocumentRuleBhv.delete(boostDocumentRule);
+
+    }
+
     protected void setupListCondition(final BoostDocumentRuleCB cb, final BoostDocumentRulePager boostDocumentRulePager) {
-        super.setupListCondition(cb, boostDocumentRulePager);
+        if (boostDocumentRulePager.id != null) {
+            cb.query().setId_Equal(Long.parseLong(boostDocumentRulePager.id));
+        }
+        // TODO Long, Integer, String supported only.
 
         // setup condition
         cb.query().setDeletedBy_IsNull();
@@ -41,25 +99,19 @@ public class BoostDocumentRuleService extends BsBoostDocumentRuleService impleme
 
     }
 
-    @Override
     protected void setupEntityCondition(final BoostDocumentRuleCB cb, final Map<String, String> keys) {
-        super.setupEntityCondition(cb, keys);
 
         // setup condition
 
     }
 
-    @Override
     protected void setupStoreCondition(final BoostDocumentRule boostDocumentRule) {
-        super.setupStoreCondition(boostDocumentRule);
 
         // setup condition
 
     }
 
-    @Override
     protected void setupDeleteCondition(final BoostDocumentRule boostDocumentRule) {
-        super.setupDeleteCondition(boostDocumentRule);
 
         // setup condition
 

+ 64 - 6
src/main/java/org/codelibs/fess/service/CrawlingSessionService.java

@@ -25,6 +25,7 @@ import java.time.format.DateTimeFormatter;
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;
+import java.util.Map;
 import java.util.Set;
 
 import javax.annotation.Resource;
@@ -38,8 +39,10 @@ import org.apache.commons.logging.LogFactory;
 import org.codelibs.core.CoreLibConstants;
 import org.codelibs.core.util.StringUtil;
 import org.codelibs.fess.FessSystemException;
-import org.codelibs.fess.crud.service.BsCrawlingSessionService;
+import org.codelibs.fess.crud.CommonConstants;
+import org.codelibs.fess.crud.CrudMessageException;
 import org.codelibs.fess.db.cbean.CrawlingSessionCB;
+import org.codelibs.fess.db.exbhv.CrawlingSessionBhv;
 import org.codelibs.fess.db.exbhv.CrawlingSessionInfoBhv;
 import org.codelibs.fess.db.exentity.CrawlingSession;
 import org.codelibs.fess.db.exentity.CrawlingSessionInfo;
@@ -47,8 +50,10 @@ import org.codelibs.fess.pager.CrawlingSessionPager;
 import org.codelibs.fess.util.ComponentUtil;
 import org.dbflute.bhv.readable.EntityRowHandler;
 import org.dbflute.cbean.result.ListResultBean;
+import org.dbflute.cbean.result.PagingResultBean;
+import org.seasar.framework.beans.util.Beans;
 
-public class CrawlingSessionService extends BsCrawlingSessionService implements Serializable {
+public class CrawlingSessionService implements Serializable {
 
     private static final long serialVersionUID = 1L;
 
@@ -57,9 +62,64 @@ public class CrawlingSessionService extends BsCrawlingSessionService implements
     @Resource
     protected CrawlingSessionInfoBhv crawlingSessionInfoBhv;
 
-    @Override
+    @Resource
+    protected CrawlingSessionBhv crawlingSessionBhv;
+
+    public CrawlingSessionService() {
+        super();
+    }
+
+    public List<CrawlingSession> getCrawlingSessionList(final CrawlingSessionPager crawlingSessionPager) {
+
+        final PagingResultBean<CrawlingSession> crawlingSessionList = crawlingSessionBhv.selectPage(cb -> {
+            cb.paging(crawlingSessionPager.getPageSize(), crawlingSessionPager.getCurrentPageNumber());
+            setupListCondition(cb, crawlingSessionPager);
+        });
+
+        // update pager
+        Beans.copy(crawlingSessionList, crawlingSessionPager).includes(CommonConstants.PAGER_CONVERSION_RULE).execute();
+        crawlingSessionPager.setPageNumberList(crawlingSessionList.pageRange(op -> {
+            op.rangeSize(5);
+        }).createPageNumberList());
+
+        return crawlingSessionList;
+    }
+
+    public CrawlingSession getCrawlingSession(final Map<String, String> keys) {
+        final CrawlingSession crawlingSession = crawlingSessionBhv.selectEntity(cb -> {
+            cb.query().setId_Equal(Long.parseLong(keys.get("id")));
+            setupEntityCondition(cb, keys);
+        }).orElse(null);//TODO
+        if (crawlingSession == null) {
+            // TODO exception?
+            return null;
+        }
+
+        return crawlingSession;
+    }
+
+    public void store(final CrawlingSession crawlingSession) throws CrudMessageException {
+        setupStoreCondition(crawlingSession);
+
+        crawlingSessionBhv.insertOrUpdate(crawlingSession);
+
+    }
+
+    public void delete(final CrawlingSession crawlingSession) throws CrudMessageException {
+        setupDeleteCondition(crawlingSession);
+
+        crawlingSessionBhv.delete(crawlingSession);
+
+    }
+
+    protected void setupEntityCondition(final CrawlingSessionCB cb, final Map<String, String> keys) {
+    }
+
     protected void setupListCondition(final CrawlingSessionCB cb, final CrawlingSessionPager crawlingSessionPager) {
-        super.setupListCondition(cb, crawlingSessionPager);
+        if (crawlingSessionPager.id != null) {
+            cb.query().setId_Equal(Long.parseLong(crawlingSessionPager.id));
+        }
+        // TODO Long, Integer, String supported only.
         if (StringUtil.isNotBlank(crawlingSessionPager.sessionId)) {
             cb.query().setSessionId_LikeSearch(crawlingSessionPager.sessionId, op -> {
                 op.likeContain();
@@ -68,7 +128,6 @@ public class CrawlingSessionService extends BsCrawlingSessionService implements
         cb.query().addOrderBy_CreatedTime_Desc();
     }
 
-    @Override
     protected void setupStoreCondition(final CrawlingSession crawlingSession) {
         if (crawlingSession == null) {
             throw new FessSystemException("Crawling Session is null.");
@@ -79,7 +138,6 @@ public class CrawlingSessionService extends BsCrawlingSessionService implements
         }
     }
 
-    @Override
     protected void setupDeleteCondition(final CrawlingSession crawlingSession) {
         crawlingSessionInfoBhv.varyingQueryDelete(cb -> {
             cb.query().setCrawlingSessionId_Equal(crawlingSession.getId());

+ 49 - 14
src/main/java/org/codelibs/fess/service/DataCrawlingConfigService.java

@@ -24,16 +24,20 @@ import java.util.Map;
 import javax.annotation.Resource;
 
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.service.BsDataCrawlingConfigService;
+import org.codelibs.fess.crud.CommonConstants;
+import org.codelibs.fess.crud.CrudMessageException;
 import org.codelibs.fess.db.cbean.DataCrawlingConfigCB;
 import org.codelibs.fess.db.exbhv.DataConfigToLabelTypeMappingBhv;
 import org.codelibs.fess.db.exbhv.DataConfigToRoleTypeMappingBhv;
+import org.codelibs.fess.db.exbhv.DataCrawlingConfigBhv;
 import org.codelibs.fess.db.exentity.DataConfigToLabelTypeMapping;
 import org.codelibs.fess.db.exentity.DataConfigToRoleTypeMapping;
 import org.codelibs.fess.db.exentity.DataCrawlingConfig;
 import org.codelibs.fess.pager.DataCrawlingConfigPager;
+import org.dbflute.cbean.result.PagingResultBean;
+import org.seasar.framework.beans.util.Beans;
 
-public class DataCrawlingConfigService extends BsDataCrawlingConfigService implements Serializable {
+public class DataCrawlingConfigService implements Serializable {
 
     private static final long serialVersionUID = 1L;
 
@@ -43,6 +47,37 @@ public class DataCrawlingConfigService extends BsDataCrawlingConfigService imple
     @Resource
     protected DataConfigToLabelTypeMappingBhv dataConfigToLabelTypeMappingBhv;
 
+    @Resource
+    protected DataCrawlingConfigBhv dataCrawlingConfigBhv;
+
+    public DataCrawlingConfigService() {
+        super();
+    }
+
+    public List<DataCrawlingConfig> getDataCrawlingConfigList(final DataCrawlingConfigPager dataCrawlingConfigPager) {
+
+        final PagingResultBean<DataCrawlingConfig> dataCrawlingConfigList = dataCrawlingConfigBhv.selectPage(cb -> {
+            cb.paging(dataCrawlingConfigPager.getPageSize(), dataCrawlingConfigPager.getCurrentPageNumber());
+
+            setupListCondition(cb, dataCrawlingConfigPager);
+        });
+
+        // update pager
+        Beans.copy(dataCrawlingConfigList, dataCrawlingConfigPager).includes(CommonConstants.PAGER_CONVERSION_RULE).execute();
+        dataCrawlingConfigPager.setPageNumberList(dataCrawlingConfigList.pageRange(op -> {
+            op.rangeSize(5);
+        }).createPageNumberList());
+
+        return dataCrawlingConfigList;
+    }
+
+    public void delete(final DataCrawlingConfig dataCrawlingConfig) throws CrudMessageException {
+        setupDeleteCondition(dataCrawlingConfig);
+
+        dataCrawlingConfigBhv.delete(dataCrawlingConfig);
+
+    }
+
     public List<DataCrawlingConfig> getAllDataCrawlingConfigList() {
         return getAllDataCrawlingConfigList(true, true, true, null);
     }
@@ -83,9 +118,12 @@ public class DataCrawlingConfigService extends BsDataCrawlingConfigService imple
         return list;
     }
 
-    @Override
     public DataCrawlingConfig getDataCrawlingConfig(final Map<String, String> keys) {
-        final DataCrawlingConfig dataCrawlingConfig = super.getDataCrawlingConfig(keys);
+
+        final DataCrawlingConfig dataCrawlingConfig = dataCrawlingConfigBhv.selectEntity(cb -> {
+            cb.query().setId_Equal(Long.parseLong(keys.get("id")));
+            setupEntityCondition(cb, keys);
+        }).orElse(null);//TODO
 
         if (dataCrawlingConfig != null) {
 
@@ -120,12 +158,13 @@ public class DataCrawlingConfigService extends BsDataCrawlingConfigService imple
         return dataCrawlingConfig;
     }
 
-    @Override
     public void store(final DataCrawlingConfig dataCrawlingConfig) {
         final boolean isNew = dataCrawlingConfig.getId() == null;
         final String[] labelTypeIds = dataCrawlingConfig.getLabelTypeIds();
         final String[] roleTypeIds = dataCrawlingConfig.getRoleTypeIds();
-        super.store(dataCrawlingConfig);
+        setupStoreCondition(dataCrawlingConfig);
+
+        dataCrawlingConfigBhv.insertOrUpdate(dataCrawlingConfig);
         final Long dataConfigId = dataCrawlingConfig.getId();
         if (isNew) {
             // Insert
@@ -210,9 +249,11 @@ public class DataCrawlingConfigService extends BsDataCrawlingConfigService imple
         }
     }
 
-    @Override
     protected void setupListCondition(final DataCrawlingConfigCB cb, final DataCrawlingConfigPager dataCrawlingConfigPager) {
-        super.setupListCondition(cb, dataCrawlingConfigPager);
+        if (dataCrawlingConfigPager.id != null) {
+            cb.query().setId_Equal(Long.parseLong(dataCrawlingConfigPager.id));
+        }
+        // TODO Long, Integer, String supported only.
 
         // setup condition
         cb.query().setDeletedBy_IsNull();
@@ -222,26 +263,20 @@ public class DataCrawlingConfigService extends BsDataCrawlingConfigService imple
 
     }
 
-    @Override
     protected void setupEntityCondition(final DataCrawlingConfigCB cb, final Map<String, String> keys) {
-        super.setupEntityCondition(cb, keys);
 
         // setup condition
         cb.query().setDeletedBy_IsNull();
 
     }
 
-    @Override
     protected void setupStoreCondition(final DataCrawlingConfig dataCrawlingConfig) {
-        super.setupStoreCondition(dataCrawlingConfig);
 
         // setup condition
 
     }
 
-    @Override
     protected void setupDeleteCondition(final DataCrawlingConfig dataCrawlingConfig) {
-        super.setupDeleteCondition(dataCrawlingConfig);
 
         // setup condition
 

+ 59 - 10
src/main/java/org/codelibs/fess/service/FailureUrlService.java

@@ -30,7 +30,8 @@ import org.apache.commons.lang.StringUtils;
 import org.codelibs.core.util.DynamicProperties;
 import org.codelibs.core.util.StringUtil;
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.service.BsFailureUrlService;
+import org.codelibs.fess.crud.CommonConstants;
+import org.codelibs.fess.crud.CrudMessageException;
 import org.codelibs.fess.db.cbean.FailureUrlCB;
 import org.codelibs.fess.db.exbhv.FailureUrlBhv;
 import org.codelibs.fess.db.exentity.CrawlingConfig;
@@ -39,18 +40,72 @@ import org.codelibs.fess.helper.SystemHelper;
 import org.codelibs.fess.pager.FailureUrlPager;
 import org.codelibs.fess.util.ComponentUtil;
 import org.dbflute.cbean.result.ListResultBean;
+import org.dbflute.cbean.result.PagingResultBean;
+import org.seasar.framework.beans.util.Beans;
 import org.seasar.framework.container.SingletonS2Container;
 
-public class FailureUrlService extends BsFailureUrlService implements Serializable {
+public class FailureUrlService implements Serializable {
 
     private static final long serialVersionUID = 1L;
 
     @Resource
     protected DynamicProperties crawlerProperties;
 
-    @Override
+    @Resource
+    protected FailureUrlBhv failureUrlBhv;
+
+    public FailureUrlService() {
+        super();
+    }
+
+    public List<FailureUrl> getFailureUrlList(final FailureUrlPager failureUrlPager) {
+
+        final PagingResultBean<FailureUrl> failureUrlList = failureUrlBhv.selectPage(cb -> {
+            cb.paging(failureUrlPager.getPageSize(), failureUrlPager.getCurrentPageNumber());
+            setupListCondition(cb, failureUrlPager);
+        });
+
+        // update pager
+        Beans.copy(failureUrlList, failureUrlPager).includes(CommonConstants.PAGER_CONVERSION_RULE).execute();
+        failureUrlPager.setPageNumberList(failureUrlList.pageRange(op -> {
+            op.rangeSize(5);
+        }).createPageNumberList());
+
+        return failureUrlList;
+    }
+
+    public FailureUrl getFailureUrl(final Map<String, String> keys) {
+        final FailureUrl failureUrl = failureUrlBhv.selectEntity(cb -> {
+            cb.query().setId_Equal(Long.parseLong(keys.get("id")));
+            setupEntityCondition(cb, keys);
+        }).orElse(null);
+        if (failureUrl == null) {
+            // TODO exception?
+            return null;
+        }
+
+        return failureUrl;
+    }
+
+    public void store(final FailureUrl failureUrl) throws CrudMessageException {
+        setupStoreCondition(failureUrl);
+
+        failureUrlBhv.insertOrUpdate(failureUrl);
+
+    }
+
+    public void delete(final FailureUrl failureUrl) throws CrudMessageException {
+        setupDeleteCondition(failureUrl);
+
+        failureUrlBhv.delete(failureUrl);
+
+    }
+
     protected void setupListCondition(final FailureUrlCB cb, final FailureUrlPager failureUrlPager) {
-        super.setupListCondition(cb, failureUrlPager);
+        if (failureUrlPager.id != null) {
+            cb.query().setId_Equal(Long.parseLong(failureUrlPager.id));
+        }
+        // TODO Long, Integer, String supported only.
 
         // setup condition
         cb.query().addOrderBy_LastAccessTime_Desc();
@@ -58,25 +113,19 @@ public class FailureUrlService extends BsFailureUrlService implements Serializab
         buildSearchCondition(failureUrlPager, cb);
     }
 
-    @Override
     protected void setupEntityCondition(final FailureUrlCB cb, final Map<String, String> keys) {
-        super.setupEntityCondition(cb, keys);
 
         // setup condition
 
     }
 
-    @Override
     protected void setupStoreCondition(final FailureUrl failureUrl) {
-        super.setupStoreCondition(failureUrl);
 
         // setup condition
 
     }
 
-    @Override
     protected void setupDeleteCondition(final FailureUrl failureUrl) {
-        super.setupDeleteCondition(failureUrl);
 
         // setup condition
 

+ 61 - 10
src/main/java/org/codelibs/fess/service/FavoriteLogService.java

@@ -38,8 +38,10 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.codelibs.core.CoreLibConstants;
 import org.codelibs.core.util.StringUtil;
-import org.codelibs.fess.crud.service.BsFavoriteLogService;
+import org.codelibs.fess.crud.CommonConstants;
+import org.codelibs.fess.crud.CrudMessageException;
 import org.codelibs.fess.db.cbean.FavoriteLogCB;
+import org.codelibs.fess.db.exbhv.FavoriteLogBhv;
 import org.codelibs.fess.db.exbhv.UserInfoBhv;
 import org.codelibs.fess.db.exentity.FavoriteLog;
 import org.codelibs.fess.db.exentity.UserInfo;
@@ -47,10 +49,12 @@ import org.codelibs.fess.pager.FavoriteLogPager;
 import org.codelibs.fess.util.ComponentUtil;
 import org.dbflute.bhv.readable.EntityRowHandler;
 import org.dbflute.cbean.result.ListResultBean;
+import org.dbflute.cbean.result.PagingResultBean;
+import org.seasar.framework.beans.util.Beans;
 
 import com.ibm.icu.text.SimpleDateFormat;
 
-public class FavoriteLogService extends BsFavoriteLogService implements Serializable {
+public class FavoriteLogService implements Serializable {
     private static final Log log = LogFactory.getLog(FavoriteLogService.class);
 
     private static final long serialVersionUID = 1L;
@@ -58,9 +62,62 @@ public class FavoriteLogService extends BsFavoriteLogService implements Serializ
     @Resource
     protected UserInfoBhv userInfoBhv;
 
-    @Override
+    @Resource
+    protected FavoriteLogBhv favoriteLogBhv;
+
+    public FavoriteLogService() {
+        super();
+    }
+
+    public List<FavoriteLog> getFavoriteLogList(final FavoriteLogPager favoriteLogPager) {
+
+        final PagingResultBean<FavoriteLog> favoriteLogList = favoriteLogBhv.selectPage(cb -> {
+            cb.paging(favoriteLogPager.getPageSize(), favoriteLogPager.getCurrentPageNumber());
+            setupListCondition(cb, favoriteLogPager);
+        });
+
+        // update pager
+        Beans.copy(favoriteLogList, favoriteLogPager).includes(CommonConstants.PAGER_CONVERSION_RULE).execute();
+        favoriteLogPager.setPageNumberList(favoriteLogList.pageRange(op -> {
+            op.rangeSize(5);
+        }).createPageNumberList());
+
+        return favoriteLogList;
+    }
+
+    public FavoriteLog getFavoriteLog(final Map<String, String> keys) {
+        final FavoriteLog favoriteLog = favoriteLogBhv.selectEntity(cb -> {
+            cb.query().setId_Equal(Long.parseLong(keys.get("id")));
+            setupEntityCondition(cb, keys);
+        }).orElse(null);//TODO
+        if (favoriteLog == null) {
+            // TODO exception?
+            return null;
+        }
+
+        return favoriteLog;
+    }
+
+    public void store(final FavoriteLog favoriteLog) throws CrudMessageException {
+        setupStoreCondition(favoriteLog);
+
+        favoriteLogBhv.insertOrUpdate(favoriteLog);
+
+    }
+
+    public void delete(final FavoriteLog favoriteLog) throws CrudMessageException {
+        setupDeleteCondition(favoriteLog);
+
+        favoriteLogBhv.delete(favoriteLog);
+
+    }
+
     protected void setupListCondition(final FavoriteLogCB cb, final FavoriteLogPager favoriteLogPager) {
-        super.setupListCondition(cb, favoriteLogPager);
+        if (favoriteLogPager.id != null) {
+            cb.query().setId_Equal(Long.parseLong(favoriteLogPager.id));
+        }
+        // TODO Long, Integer, String supported only.
+
         cb.setupSelect_UserInfo();
 
         cb.query().addOrderBy_CreatedTime_Desc();
@@ -71,25 +128,19 @@ public class FavoriteLogService extends BsFavoriteLogService implements Serializ
         buildSearchCondition(favoriteLogPager, cb);
     }
 
-    @Override
     protected void setupEntityCondition(final FavoriteLogCB cb, final Map<String, String> keys) {
-        super.setupEntityCondition(cb, keys);
 
         // setup condition
 
     }
 
-    @Override
     protected void setupStoreCondition(final FavoriteLog favoriteLog) {
-        super.setupStoreCondition(favoriteLog);
 
         // setup condition
 
     }
 
-    @Override
     protected void setupDeleteCondition(final FavoriteLog favoriteLog) {
-        super.setupDeleteCondition(favoriteLog);
 
         // setup condition
 

+ 62 - 10
src/main/java/org/codelibs/fess/service/FileAuthenticationService.java

@@ -20,18 +20,76 @@ import java.io.Serializable;
 import java.util.List;
 import java.util.Map;
 
-import org.codelibs.fess.crud.service.BsFileAuthenticationService;
+import javax.annotation.Resource;
+
+import org.codelibs.fess.crud.CommonConstants;
+import org.codelibs.fess.crud.CrudMessageException;
 import org.codelibs.fess.db.cbean.FileAuthenticationCB;
+import org.codelibs.fess.db.exbhv.FileAuthenticationBhv;
 import org.codelibs.fess.db.exentity.FileAuthentication;
 import org.codelibs.fess.pager.FileAuthenticationPager;
+import org.dbflute.cbean.result.PagingResultBean;
+import org.seasar.framework.beans.util.Beans;
 
-public class FileAuthenticationService extends BsFileAuthenticationService implements Serializable {
+public class FileAuthenticationService implements Serializable {
 
     private static final long serialVersionUID = 1L;
 
-    @Override
+    @Resource
+    protected FileAuthenticationBhv fileAuthenticationBhv;
+
+    public FileAuthenticationService() {
+        super();
+    }
+
+    public List<FileAuthentication> getFileAuthenticationList(final FileAuthenticationPager fileAuthenticationPager) {
+
+        final PagingResultBean<FileAuthentication> fileAuthenticationList = fileAuthenticationBhv.selectPage(cb -> {
+            cb.paging(fileAuthenticationPager.getPageSize(), fileAuthenticationPager.getCurrentPageNumber());
+            setupListCondition(cb, fileAuthenticationPager);
+        });
+
+        // update pager
+        Beans.copy(fileAuthenticationList, fileAuthenticationPager).includes(CommonConstants.PAGER_CONVERSION_RULE).execute();
+        fileAuthenticationPager.setPageNumberList(fileAuthenticationList.pageRange(op -> {
+            op.rangeSize(5);
+        }).createPageNumberList());
+
+        return fileAuthenticationList;
+    }
+
+    public FileAuthentication getFileAuthentication(final Map<String, String> keys) {
+        final FileAuthentication fileAuthentication = fileAuthenticationBhv.selectEntity(cb -> {
+            cb.query().setId_Equal(Long.parseLong(keys.get("id")));
+            setupEntityCondition(cb, keys);
+        }).orElse(null);//TODO
+        if (fileAuthentication == null) {
+            // TODO exception?
+            return null;
+        }
+
+        return fileAuthentication;
+    }
+
+    public void store(final FileAuthentication fileAuthentication) throws CrudMessageException {
+        setupStoreCondition(fileAuthentication);
+
+        fileAuthenticationBhv.insertOrUpdate(fileAuthentication);
+
+    }
+
+    public void delete(final FileAuthentication fileAuthentication) throws CrudMessageException {
+        setupDeleteCondition(fileAuthentication);
+
+        fileAuthenticationBhv.delete(fileAuthentication);
+
+    }
+
     protected void setupListCondition(final FileAuthenticationCB cb, final FileAuthenticationPager fileAuthenticationPager) {
-        super.setupListCondition(cb, fileAuthenticationPager);
+        if (fileAuthenticationPager.id != null) {
+            cb.query().setId_Equal(Long.parseLong(fileAuthenticationPager.id));
+        }
+        // TODO Long, Integer, String supported only.
 
         // setup condition
         cb.setupSelect_FileCrawlingConfig();
@@ -43,26 +101,20 @@ public class FileAuthenticationService extends BsFileAuthenticationService imple
 
     }
 
-    @Override
     protected void setupEntityCondition(final FileAuthenticationCB cb, final Map<String, String> keys) {
-        super.setupEntityCondition(cb, keys);
 
         // setup condition
         cb.query().setDeletedBy_IsNull();
 
     }
 
-    @Override
     protected void setupStoreCondition(final FileAuthentication fileAuthentication) {
-        super.setupStoreCondition(fileAuthentication);
 
         // setup condition
 
     }
 
-    @Override
     protected void setupDeleteCondition(final FileAuthentication fileAuthentication) {
-        super.setupDeleteCondition(fileAuthentication);
 
         // setup condition
 

+ 47 - 14
src/main/java/org/codelibs/fess/service/FileCrawlingConfigService.java

@@ -24,16 +24,20 @@ import java.util.Map;
 import javax.annotation.Resource;
 
 import org.codelibs.fess.Constants;
-import org.codelibs.fess.crud.service.BsFileCrawlingConfigService;
+import org.codelibs.fess.crud.CommonConstants;
+import org.codelibs.fess.crud.CrudMessageException;
 import org.codelibs.fess.db.cbean.FileCrawlingConfigCB;
 import org.codelibs.fess.db.exbhv.FileConfigToLabelTypeMappingBhv;
 import org.codelibs.fess.db.exbhv.FileConfigToRoleTypeMappingBhv;
+import org.codelibs.fess.db.exbhv.FileCrawlingConfigBhv;
 import org.codelibs.fess.db.exentity.FileConfigToLabelTypeMapping;
 import org.codelibs.fess.db.exentity.FileConfigToRoleTypeMapping;
 import org.codelibs.fess.db.exentity.FileCrawlingConfig;
 import org.codelibs.fess.pager.FileCrawlingConfigPager;
+import org.dbflute.cbean.result.PagingResultBean;
+import org.seasar.framework.beans.util.Beans;
 
-public class FileCrawlingConfigService extends BsFileCrawlingConfigService implements Serializable {
+public class FileCrawlingConfigService implements Serializable {
 
     private static final long serialVersionUID = 1L;
 
@@ -43,6 +47,36 @@ public class FileCrawlingConfigService extends BsFileCrawlingConfigService imple
     @Resource
     protected FileConfigToLabelTypeMappingBhv fileConfigToLabelTypeMappingBhv;
 
+    @Resource
+    protected FileCrawlingConfigBhv fileCrawlingConfigBhv;
+
+    public FileCrawlingConfigService() {
+        super();
+    }
+
+    public List<FileCrawlingConfig> getFileCrawlingConfigList(final FileCrawlingConfigPager fileCrawlingConfigPager) {
+
+        final PagingResultBean<FileCrawlingConfig> fileCrawlingConfigList = fileCrawlingConfigBhv.selectPage(cb -> {
+            cb.paging(fileCrawlingConfigPager.getPageSize(), fileCrawlingConfigPager.getCurrentPageNumber());
+            setupListCondition(cb, fileCrawlingConfigPager);
+        });
+
+        // update pager
+        Beans.copy(fileCrawlingConfigList, fileCrawlingConfigPager).includes(CommonConstants.PAGER_CONVERSION_RULE).execute();
+        fileCrawlingConfigPager.setPageNumberList(fileCrawlingConfigList.pageRange(op -> {
+            op.rangeSize(5);
+        }).createPageNumberList());
+
+        return fileCrawlingConfigList;
+    }
+
+    public void delete(final FileCrawlingConfig fileCrawlingConfig) throws CrudMessageException {
+        setupDeleteCondition(fileCrawlingConfig);
+
+        fileCrawlingConfigBhv.delete(fileCrawlingConfig);
+
+    }
+
     public List<FileCrawlingConfig> getAllFileCrawlingConfigList() {
         return getAllFileCrawlingConfigList(true, true, true, null);
     }
@@ -83,9 +117,11 @@ public class FileCrawlingConfigService extends BsFileCrawlingConfigService imple
         return list;
     }
 
-    @Override
     public FileCrawlingConfig getFileCrawlingConfig(final Map<String, String> keys) {
-        final FileCrawlingConfig fileCrawlingConfig = super.getFileCrawlingConfig(keys);
+        final FileCrawlingConfig fileCrawlingConfig = fileCrawlingConfigBhv.selectEntity(cb -> {
+            cb.query().setId_Equal(Long.parseLong(keys.get("id")));
+            setupEntityCondition(cb, keys);
+        }).orElse(null);//TODO
 
         if (fileCrawlingConfig != null) {
 
@@ -120,12 +156,13 @@ public class FileCrawlingConfigService extends BsFileCrawlingConfigService imple
         return fileCrawlingConfig;
     }
 
-    @Override
     public void store(final FileCrawlingConfig fileCrawlingConfig) {
         final boolean isNew = fileCrawlingConfig.getId() == null;
         final String[] labelTypeIds = fileCrawlingConfig.getLabelTypeIds();
         final String[] roleTypeIds = fileCrawlingConfig.getRoleTypeIds();
-        super.store(fileCrawlingConfig);
+        setupStoreCondition(fileCrawlingConfig);
+
+        fileCrawlingConfigBhv.insertOrUpdate(fileCrawlingConfig);
         final Long fileConfigId = fileCrawlingConfig.getId();
         if (isNew) {
             // Insert
@@ -210,9 +247,11 @@ public class FileCrawlingConfigService extends BsFileCrawlingConfigService imple
         }
     }
 
-    @Override
     protected void setupListCondition(final FileCrawlingConfigCB cb, final FileCrawlingConfigPager fileCrawlingConfigPager) {
-        super.setupListCondition(cb, fileCrawlingConfigPager);
+        if (fileCrawlingConfigPager.id != null) {
+            cb.query().setId_Equal(Long.parseLong(fileCrawlingConfigPager.id));
+        }
+        // TODO Long, Integer, String supported only.
 
         // setup condition
         cb.query().setDeletedBy_IsNull();
@@ -222,26 +261,20 @@ public class FileCrawlingConfigService extends BsFileCrawlingConfigService imple
 
     }
 
-    @Override
     protected void setupEntityCondition(final FileCrawlingConfigCB cb, final Map<String, String> keys) {
-        super.setupEntityCondition(cb, keys);
 
         // setup condition
         cb.query().setDeletedBy_IsNull();
 
     }
 
-    @Override
     protected void setupStoreCondition(final FileCrawlingConfig fileCrawlingConfig) {
-        super.setupStoreCondition(fileCrawlingConfig);
 
         // setup condition
 
     }
 
-    @Override
     protected void setupDeleteCondition(final FileCrawlingConfig fileCrawlingConfig) {
-        super.setupDeleteCondition(fileCrawlingConfig);
 
         // setup condition