org.springframework.security.oauth.examples.tonr.impl
Class SparklrServiceImpl
java.lang.Object
org.springframework.security.oauth.examples.tonr.impl.SparklrServiceImpl
- All Implemented Interfaces:
- SparklrService
public class SparklrServiceImpl
- extends Object
- implements SparklrService
- Author:
- Ryan Heaton
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SparklrServiceImpl
public SparklrServiceImpl()
getSparklrPhotoIds
public List<String> getSparklrPhotoIds()
throws SparklrException
- Description copied from interface:
SparklrService
- Get the list of Sparklr photo ids for the current user.
- Specified by:
getSparklrPhotoIds in interface SparklrService
- Returns:
- The list of photo ids for the current user.
- Throws:
SparklrException
loadSparklrPhoto
public InputStream loadSparklrPhoto(String id)
throws SparklrException
- Description copied from interface:
SparklrService
- Loads the Sparklr photo for the current user.
- Specified by:
loadSparklrPhoto in interface SparklrService
- Parameters:
id - the id or the photo.
- Returns:
- The sparklr photo.
- Throws:
SparklrException
getSparklrPhotoURLPattern
public String getSparklrPhotoURLPattern()
setSparklrPhotoURLPattern
public void setSparklrPhotoURLPattern(String sparklrPhotoURLPattern)
getSparklrPhotoListURL
public String getSparklrPhotoListURL()
setSparklrPhotoListURL
public void setSparklrPhotoListURL(String sparklrPhotoListURL)
getSparklrRestTemplate
public OAuthRestTemplate getSparklrRestTemplate()
setSparklrRestTemplate
public void setSparklrRestTemplate(OAuthRestTemplate sparklrRestTemplate)
Copyright © 2012. All Rights Reserved.