org.springframework.security.oauth.examples.sparklr
Interface PhotoService

All Known Implementing Classes:
PhotoServiceImpl

public interface PhotoService

Service for retrieving photos.

Author:
Ryan Heaton

Method Summary
 Collection<PhotoInfo> getPhotosForCurrentUser()
          Load the photos for the current user.
 InputStream loadPhoto(String id)
          Load a photo by id.
 

Method Detail

getPhotosForCurrentUser

Collection<PhotoInfo> getPhotosForCurrentUser()
Load the photos for the current user.

Returns:
The photos for the current user.

loadPhoto

InputStream loadPhoto(String id)
Load a photo by id.

Parameters:
id - The id of the photo.
Returns:
The photo that was read.


Copyright © 2012. All Rights Reserved.