public class PhotoServiceImpl extends Object implements PhotoService
Constructor and Description |
---|
PhotoServiceImpl() |
Modifier and Type | Method and Description |
---|---|
List<PhotoInfo> |
getPhotos() |
Collection<PhotoInfo> |
getPhotosForCurrentUser()
Load the photos for the current user.
|
InputStream |
loadPhoto(String id)
Load a photo by id.
|
void |
setPhotos(List<PhotoInfo> photos) |
public Collection<PhotoInfo> getPhotosForCurrentUser()
PhotoService
getPhotosForCurrentUser
in interface PhotoService
public InputStream loadPhoto(String id)
PhotoService
loadPhoto
in interface PhotoService
id
- The id of the photo.Copyright © 2014. All rights reserved.