Class BusinessActivitiesDatabaseClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.businessactivities.database.BusinessActivitiesDatabaseClient
-
public class BusinessActivitiesDatabaseClient extends AbstractClient
Client which handles business activities database data fetching.
- Since:
- 0.3.0
-
-
Constructor Summary
Constructors Constructor Description BusinessActivitiesDatabaseClient()Default constructor.BusinessActivitiesDatabaseClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getEnterprisesAndEmployeesSNI2002()Fetch all enterprises and employees (SNI 2002) data.List<ResponseModel>getEnterprisesAndEmployeesSNI2002(Collection<String> industrialClassifications, Collection<String> sizeClasses, Collection<Integer> years)Fetch all enterprises and employees (SNI 2002) data which match the input constraints.List<ResponseModel>getEnterprisesAndEmployeesSNI2007()Fetch all enterprises and employees (SNI 2007) data.List<ResponseModel>getEnterprisesAndEmployeesSNI2007(Collection<String> industrialClassifications, Collection<String> sizeClasses, Collection<Integer> years)Fetch all enterprises and employees (SNI 2007) data which match the input constraints.URLEndpointgetUrl()Returns the URL endpoint which this client represents.-
Methods inherited from class com.github.dannil.scbjavaclient.client.AbstractClient
doGetRequest, doPostRequest, getCommunicationProtocol, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setCommunicationProtocol, setLocale, setLocalizationLocale
-
-
-
-
Constructor Detail
-
BusinessActivitiesDatabaseClient
public BusinessActivitiesDatabaseClient()
Default constructor.
-
BusinessActivitiesDatabaseClient
public BusinessActivitiesDatabaseClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getEnterprisesAndEmployeesSNI2002
public List<ResponseModel> getEnterprisesAndEmployeesSNI2002()
Fetch all enterprises and employees (SNI 2002) data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getEnterprisesAndEmployeesSNI2002(Collection, Collection, Collection)
-
getEnterprisesAndEmployeesSNI2002
public List<ResponseModel> getEnterprisesAndEmployeesSNI2002(Collection<String> industrialClassifications, Collection<String> sizeClasses, Collection<Integer> years)
Fetch all enterprises and employees (SNI 2002) data which match the input constraints.
- Parameters:
industrialClassifications- the industrial classificationssizeClasses- the size classesyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getEnterprisesAndEmployeesSNI2007
public List<ResponseModel> getEnterprisesAndEmployeesSNI2007()
Fetch all enterprises and employees (SNI 2007) data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getEnterprisesAndEmployeesSNI2007(Collection, Collection, Collection)
-
getEnterprisesAndEmployeesSNI2007
public List<ResponseModel> getEnterprisesAndEmployeesSNI2007(Collection<String> industrialClassifications, Collection<String> sizeClasses, Collection<Integer> years)
Fetch all enterprises and employees (SNI 2007) data which match the input constraints.
- Parameters:
industrialClassifications- the industrial classificationssizeClasses- the size classesyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getUrl
public URLEndpoint getUrl()
Description copied from class:AbstractClientReturns the URL endpoint which this client represents.
- Specified by:
getUrlin classAbstractClient- Returns:
- the URL endpoint for this client
-
-