public class ApiManager extends Object
| Constructor and Description |
|---|
ApiManager(ApiConfiguration config)
Creates a new
ApiManager instance using the provided
ApiConfiguration. |
ApiManager(String apiKey)
Creates a new
ApiManager instance using the provided
apiKey for building an ApiConfiguration with default
values. |
| Modifier and Type | Method and Description |
|---|---|
ActionService |
actionService() |
ApplicationService |
applicationService()
Returns a preconfigures EVRYTHNG service for accessing the
Applications
API.
|
AuthService |
authService() |
protected void |
checkConfiguration(ApiConfiguration apiConfiguration)
Checks that the provided
ApiConfiguration is valid. |
CollectionService |
collectionService()
Returns a preconfigured EVRYTHNG service for accessing the Collections
API.
|
protected void |
createActionService() |
protected void |
createEvrythngJacksonModule() |
protected void |
createPlaceService() |
protected void |
createProductService() |
protected void |
createThngService() |
ApiConfiguration |
getConfig() |
protected EvrythngJacksonModule |
getEvrythngJacksonModule() |
void |
onBuilderCreated(EvrythngApiBuilder.Builder<?> builder) |
PlaceService |
placeService() |
ProductService |
productService()
Returns a preconfigured EVRYTHNG service for accessing the Products
API.
|
ProjectService |
projectService() |
RedirectorService |
redirectorService() |
ScanService |
scanThngService()
Returns a preconfigured EVRYTHNG service for accessing the ScanThng API.
|
SearchService |
searchService()
Returns a preconfigured EVRYTHNG service for accessing the Search
API.
|
protected void |
setEvrythngJacksonModule(EvrythngJacksonModule evrythngJacksonModule) |
ThngService |
thngService()
Returns a preconfigured EVRYTHNG service for accessing the Thngs API.
|
TimeService |
timeService() |
public ApiManager(ApiConfiguration config)
ApiManager instance using the provided
ApiConfiguration.public ApiManager(String apiKey)
ApiManager instance using the provided
apiKey for building an ApiConfiguration with default
values.apiKey - the API key for authorizationprotected void checkConfiguration(ApiConfiguration apiConfiguration)
ApiConfiguration is valid.apiConfiguration - the ApiConfiguration to be verifiedprotected void createThngService()
public ThngService thngService()
ThngServicepublic CollectionService collectionService()
CollectionServiceprotected void createProductService()
public ProductService productService()
ProductServicepublic SearchService searchService()
SearchServicepublic ApplicationService applicationService()
ApplicationServicepublic AuthService authService()
public TimeService timeService()
public RedirectorService redirectorService()
public ApiConfiguration getConfig()
public ScanService scanThngService()
ScanServicepublic void onBuilderCreated(EvrythngApiBuilder.Builder<?> builder)
protected void createPlaceService()
public PlaceService placeService()
public ProjectService projectService()
protected void createActionService()
public ActionService actionService()
protected void createEvrythngJacksonModule()
protected void setEvrythngJacksonModule(EvrythngJacksonModule evrythngJacksonModule)
protected EvrythngJacksonModule getEvrythngJacksonModule()
Copyright © 2015 EVRYTHNG Ltd London / Zurich. All rights reserved.