public class PopulationStatisticsAsylumSeekersClient extends AbstractClient
Client which handles population statistics asylum seekers data fetching.
Constructor and Description |
---|
PopulationStatisticsAsylumSeekersClient()
Default constructor.
|
PopulationStatisticsAsylumSeekersClient(Locale locale)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
List<ResponseModel> |
getAsylumSeekers()
Fetch all asylum seekers data.
|
List<ResponseModel> |
getAsylumSeekers(Collection<String> countriesOfCitizenships,
Collection<Integer> sexes,
Collection<Integer> years)
Fetch all asylum seekers data which match the input constraints.
|
List<ResponseModel> |
getUnaccompaniedRefugeeMinors()
Fetch all unaccompanied refugee minors data.
|
List<ResponseModel> |
getUnaccompaniedRefugeeMinors(Collection<String> sexes,
Collection<String> ages,
Collection<String> countriesOfCitizenships,
Collection<Integer> years)
Fetch all unaccompanied refugee minors data which match the input
constraints.
|
URLEndpoint |
getUrl()
Returns the URL endpoint which this client represents.
|
doGetRequest, doPostRequest, getCommunicationProtocol, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setCommunicationProtocol, setLocale, setLocalizationLocale
public PopulationStatisticsAsylumSeekersClient()
Default constructor.
public PopulationStatisticsAsylumSeekersClient(Locale locale)
Overloaded constructor.
locale
- the Locale
for this clientpublic List<ResponseModel> getAsylumSeekers()
Fetch all asylum seekers data.
ResponseModel
objectsgetAsylumSeekers(Collection, Collection, Collection)
public List<ResponseModel> getAsylumSeekers(Collection<String> countriesOfCitizenships, Collection<Integer> sexes, Collection<Integer> years)
Fetch all asylum seekers data which match the input constraints.
countriesOfCitizenships
- the countries of citizenshipssexes
- the sexesyears
- the years to fetch data forResponseModel
objectspublic List<ResponseModel> getUnaccompaniedRefugeeMinors()
Fetch all unaccompanied refugee minors data.
ResponseModel
objectsgetUnaccompaniedRefugeeMinors(Collection, Collection, Collection, Collection)
public List<ResponseModel> getUnaccompaniedRefugeeMinors(Collection<String> sexes, Collection<String> ages, Collection<String> countriesOfCitizenships, Collection<Integer> years)
Fetch all unaccompanied refugee minors data which match the input constraints.
sexes
- the sexesages
- the agescountriesOfCitizenships
- the countries of citizenshipsyears
- the years to fetch data forResponseModel
objectspublic URLEndpoint getUrl()
AbstractClient
Returns the URL endpoint which this client represents.
getUrl
in class AbstractClient
Copyright © 2018. All rights reserved.