public static final class GIS.ContinentService extends Object
The Continent Webservice is used in the Geo Information Service API to get informations about available continents.
| Modifier and Type | Method and Description |
|---|---|
static Continent |
get(AbstractClient client,
long is24ContinentId)
Call the GET method of the Continent Webservice.
|
static Continents |
getAll(AbstractClient client)
Call the GETall method of the Continent Webservice.
|
public static Continent get(AbstractClient client, long is24ContinentId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
This method returns a specific continent.
client - AbstractClient, that is used to communicate with the Webserviceis24ContinentId - ID of the continent to lookup, that was returned by
getAll(org.openestate.is24.restapi.AbstractClient)IOException - if communication with the Webservice failedoauth.signpost.exception.OAuthException - if authorization failedJAXBException - if XML reading / writing failedRequestFailedException - if the Webservice did not respond with a success messagepublic static Continents getAll(AbstractClient client) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
This method returns the list of available continents.
client - AbstractClient, that is used to communicate with the WebserviceIOException - if communication with the Webservice failedoauth.signpost.exception.OAuthException - if authorization failedJAXBException - if XML reading / writing failedRequestFailedException - if the Webservice did not respond with a success messageCopyright © 2018 OpenEstate. All rights reserved.