Revision 9515 org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.lib/org.gvsig.online.lib.api/src/main/java/org/gvsig/online/lib/api/OnlineSite.java
OnlineSite.java | ||
---|---|---|
9 | 9 |
import java.net.URL; |
10 | 10 |
import java.util.Map; |
11 | 11 |
import org.gvsig.json.SupportJson; |
12 |
import org.gvsig.online.lib.api.OnlineUserIdentificationRequester.OnlineUserIdentificationRequesterConfig; |
|
12 | 13 |
|
13 | 14 |
/** |
14 | 15 |
* |
15 | 16 |
* @author jjdelcerro |
16 | 17 |
*/ |
17 | 18 |
public interface OnlineSite extends SupportJson { |
19 |
|
|
20 |
public void connect(OnlineUserIdentificationRequesterConfig userIdentificationRequesterConfig, URL url) throws IOException; |
|
18 | 21 |
|
19 |
void connect(URL url) throws IOException;
|
|
22 |
public void connect() throws IOException;
|
|
20 | 23 |
|
21 |
void connect() throws IOException;
|
|
24 |
public OnlineProject getProject(String name);
|
|
22 | 25 |
|
23 |
OnlineProject getProject(String name);
|
|
26 |
public OnlineProject getProject(int id);
|
|
24 | 27 |
|
25 |
OnlineProject getProject(int id); |
|
26 |
|
|
27 |
@SuppressWarnings(value = "Convert2Lambda") |
|
28 |
Iterable<OnlineProject> projects(); |
|
28 |
public Iterable<OnlineProject> projects(); |
|
29 | 29 |
|
30 | 30 |
public URL getBaseUrl(); |
31 | 31 |
|
... | ... | |
33 | 33 |
|
34 | 34 |
public URL getGeoserverURL(String s); |
35 | 35 |
|
36 |
public void setCurrentUserCode(String userCode); |
|
37 |
|
|
38 |
public String getCurrentUserCode(); |
|
39 |
|
|
40 |
public String getCurrentAuthorizationToken(); |
|
41 |
|
|
42 |
public void setCurrentAuthorizationToken(String authenticationToken); |
|
43 |
|
|
44 |
public OnlineUserIdentificationRequester getUserIdentificationRequester(); |
|
45 |
|
|
46 |
public void logout(); |
|
47 |
|
|
36 | 48 |
public Map<String, OnlineLayer> getPublicLayers(); |
37 | 49 |
|
38 | 50 |
public boolean isPublicLayer(OnlineLayer layer); |
51 |
|
|
39 | 52 |
} |
Also available in: Unified diff