public class EnvironmentWasteClient extends AbstractClient
Client which handles environment waste data fetching.
Constructor and Description |
---|
EnvironmentWasteClient()
Default constructor.
|
EnvironmentWasteClient(Locale locale)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
List<ResponseModel> |
getGeneratedWaste()
Fetch all generated waste data.
|
List<ResponseModel> |
getGeneratedWaste(Collection<String> industrialClassification,
Collection<String> wasteCategories,
Collection<Integer> years)
Fetch all generated waste data which match the input constraints.
|
List<ResponseModel> |
getTreatedWaste()
Fetch all treated waste data.
|
List<ResponseModel> |
getTreatedWaste(Collection<Integer> treatmentCategories,
Collection<String> wasteCategories,
Collection<Integer> years)
Fetch all treated waste 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 EnvironmentWasteClient()
Default constructor.
public EnvironmentWasteClient(Locale locale)
Overloaded constructor.
locale
- the Locale
for this clientpublic List<ResponseModel> getGeneratedWaste()
Fetch all generated waste data.
ResponseModel
objectsgetGeneratedWaste(Collection, Collection, Collection)
public List<ResponseModel> getGeneratedWaste(Collection<String> industrialClassification, Collection<String> wasteCategories, Collection<Integer> years)
Fetch all generated waste data which match the input constraints.
industrialClassification
- the industrial classifications to fetch data forwasteCategories
- the waste categories to fetch data foryears
- the years to fetch data forResponseModel
objectspublic List<ResponseModel> getTreatedWaste()
Fetch all treated waste data.
ResponseModel
objectsgetTreatedWaste(Collection, Collection, Collection)
public List<ResponseModel> getTreatedWaste(Collection<Integer> treatmentCategories, Collection<String> wasteCategories, Collection<Integer> years)
Fetch all treated waste data which match the input constraints.
treatmentCategories
- the treatment categories to fetch data forwasteCategories
- the waste categories to fetch data foryears
- 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.