-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
OSEOInfo.java
56 lines (44 loc) · 1.35 KB
/
OSEOInfo.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/* (c) 2017 Open Source Geospatial Foundation - all rights reserved
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.opensearch.eo;
import org.geoserver.config.ServiceInfo;
import org.geotools.util.Version;
public interface OSEOInfo extends ServiceInfo {
public static int DEFAULT_MAXIMUM_RECORDS = 100;
public static int DEFAULT_RECORDS_PER_PAGE = 10;
/**
* Version 1.0.0
*/
public static final Version VERSION_1_0_0 = new Version("1.0.0");
/**
* Returns the identifier of the OpenSearchAccess
*
* @return
*/
String getOpenSearchAccessStoreId();
void setOpenSearchAccessStoreId(String openSearchAccessStoreId);
/**
* Returns the maximum amount of records returned in a search
*
* @return
*/
int getMaximumRecords();
/**
* Sets the maximum amount of records returned in a search
*
* @param maximumRecords
*/
void setMaximumRecords(int maximumRecords);
/**
* Returns the default records per page when no "count" parameter is provided
* @return
*/
public int getRecordsPerPage();
/**
* Sets the records per page, when no record is provided
* @param recordsPerPage
*/
public void setRecordsPerPage(int recordsPerPage);
}