public static final class GIS.QuarterService extends Object
The Quarter Webservice is used in the Geo Information Service API to get informations about available city quarters.
Modifier and Type | Method and Description |
---|---|
static Quarter |
get(AbstractClient client,
long is24ContinentId,
long is24CountryId,
long is24RegionId,
long is24CityId,
long is24QuarterId)
Call the GET method of the Quarter Webservice.
|
static Quarters |
getAll(AbstractClient client,
long is24ContinentId,
long is24CountryId,
long is24RegionId,
long is24CityId)
Call the GETall method of the Quarter Webservice.
|
public static Quarter get(AbstractClient client, long is24ContinentId, long is24CountryId, long is24RegionId, long is24CityId, long is24QuarterId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
This method returns a specific city quarter.
client
- AbstractClient
, that is used to communicate with the Webserviceis24ContinentId
- ID of the continent to lookup, that was returned by
GIS.ContinentService
is24CountryId
- ID of the country to lookup, that was returned by
GIS.CountryService
is24RegionId
- ID of the region to lookup, that was returned by
GIS.RegionService
is24CityId
- ID of the city to lookup, that was returned by
GIS.CityService
is24QuarterId
- ID of the quarter to lookup, that was returned by
GIS.CityService.getAll(org.openestate.is24.restapi.AbstractClient, long, long, long)
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 Quarters getAll(AbstractClient client, long is24ContinentId, long is24CountryId, long is24RegionId, long is24CityId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
This method returns the list of available quarters for a city.
client
- AbstractClient
, that is used to communicate with the Webserviceis24ContinentId
- ID of the continent to lookup, that was returned by
GIS.ContinentService
is24CountryId
- ID of the country to lookup, that was returned by
GIS.CountryService
is24RegionId
- ID of the region to lookup, that was returned by
GIS.RegionService
is24CityId
- ID of the city to lookup, that was returned by
GIS.CityService
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 messageCopyright © 2016 OpenEstate. All rights reserved.