org.springframework.security.oauth.examples.tonr
Interface SparklrService

All Known Implementing Classes:
SparklrServiceImpl

public interface SparklrService

Author:
Ryan Heaton

Method Summary
 List<String> getSparklrPhotoIds()
          Get the list of Sparklr photo ids for the current user.
 InputStream loadSparklrPhoto(String id)
          Loads the Sparklr photo for the current user.
 

Method Detail

getSparklrPhotoIds

List<String> getSparklrPhotoIds()
                                throws SparklrException
Get the list of Sparklr photo ids for the current user.

Returns:
The list of photo ids for the current user.
Throws:
SparklrException

loadSparklrPhoto

InputStream loadSparklrPhoto(String id)
                             throws SparklrException
Loads the Sparklr photo for the current user.

Parameters:
id - the id or the photo.
Returns:
The sparklr photo.
Throws:
SparklrException


Copyright © 2012. All Rights Reserved.