3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
11 package eu
.etaxonomy
.cdm
.api
.service
.config
;
13 import eu
.etaxonomy
.cdm
.persistence
.query
.MatchMode
;
16 * @author a.babadshanjan
20 public class IdentifiableServiceConfiguratorBase
{
22 private String titleSearchString
= null;
23 protected MatchMode matchMode
= MatchMode
.EXACT
;
24 private Integer pageSize
= null;
25 private Integer pageNumber
= null;
27 public static IdentifiableServiceConfiguratorBase
NewInstance() {
28 return new IdentifiableServiceConfiguratorBase();
31 public String
getTitleSearchString() {
32 return titleSearchString
;
35 public void setTitleSearchString(String titleSearchString
) {
36 this.titleSearchString
= titleSearchString
;
40 * @return the pageSize
42 public Integer
getPageSize() {
47 * Sets the number of results that should be shown on current page
49 * @param pageSize the pageSize to set
51 public void setPageSize(Integer pageSize
) {
52 this.pageSize
= pageSize
;
56 * @return the pageNumber
58 public Integer
getPageNumber() {
63 * Sets the number of the page the first result should come from, starting
64 * with 0 as the first page.
66 * @param pageNumber the pageNumber to set
68 public void setPageNumber(Integer pageNumber
) {
69 this.pageNumber
= pageNumber
;
72 public MatchMode
getMatchMode() {
76 public void setMatchMode(MatchMode matchMode
) {
77 this.matchMode
= matchMode
;