public class SparklrServiceImpl extends Object implements SparklrService
Constructor and Description |
---|
SparklrServiceImpl() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getSparklrPhotoIds()
Get the list of Sparklr photo ids for the current user.
|
String |
getSparklrPhotoListURL() |
String |
getSparklrPhotoURLPattern() |
OAuthRestTemplate |
getSparklrRestTemplate() |
InputStream |
loadSparklrPhoto(String id)
Loads the Sparklr photo for the current user.
|
void |
setSparklrPhotoListURL(String sparklrPhotoListURL) |
void |
setSparklrPhotoURLPattern(String sparklrPhotoURLPattern) |
void |
setSparklrRestTemplate(OAuthRestTemplate sparklrRestTemplate) |
public List<String> getSparklrPhotoIds() throws SparklrException
SparklrService
getSparklrPhotoIds
in interface SparklrService
SparklrException
public InputStream loadSparklrPhoto(String id) throws SparklrException
SparklrService
loadSparklrPhoto
in interface SparklrService
id
- the id or the photo.SparklrException
public String getSparklrPhotoURLPattern()
public void setSparklrPhotoURLPattern(String sparklrPhotoURLPattern)
public String getSparklrPhotoListURL()
public void setSparklrPhotoListURL(String sparklrPhotoListURL)
public OAuthRestTemplate getSparklrRestTemplate()
public void setSparklrRestTemplate(OAuthRestTemplate sparklrRestTemplate)
Copyright © 2014. All rights reserved.