cz.geek.picasa
Class PicasaWeb
java.lang.Object
cz.geek.picasa.PicasaWeb
public class PicasaWeb
- extends Object
This class simplifies using of PicasawebService by providing simple convinient methods.
- Author:
- martin
|
Constructor Summary |
PicasaWeb(com.google.gdata.client.photos.PicasawebService pws)
|
|
Method Summary |
com.google.gdata.data.photos.AlbumEntry |
createAlbum(String album)
|
com.google.gdata.data.photos.AlbumEntry |
createAlbum(String user,
com.google.gdata.data.photos.AlbumEntry album)
|
protected PicasaWebException |
exception(Exception e)
|
AlbumBean |
getAlbum(String user,
String album)
|
com.google.gdata.data.photos.AlbumFeed |
getAlbumFeed(String user,
String album)
|
PhotosBean |
getPhoto(String user,
String album,
String photo)
|
com.google.gdata.data.photos.PhotoEntry |
getPhotoEntryByUserAlbumPhotoid(String user,
String album,
String photoid)
|
UserBean |
getUser(String user)
|
UserBean |
getUser(String user,
Visibility visibility)
|
com.google.gdata.data.photos.UserFeed |
getUserFeed(String user,
Visibility visibility)
|
com.google.gdata.data.photos.PhotoEntry |
insert(String user,
String album,
com.google.gdata.data.media.MediaSource source)
|
PhotosBean |
photo(com.google.gdata.data.photos.AlbumFeed albumFeed,
String photo)
|
void |
update(com.google.gdata.data.BaseEntry<?> entry)
|
com.google.gdata.data.photos.PhotoEntry |
updateMedia(com.google.gdata.data.photos.PhotoEntry entry,
boolean updateEntry)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALBUM_URL
public static final String ALBUM_URL
- See Also:
- Constant Field Values
PHOTOS_URL
public static final String PHOTOS_URL
- See Also:
- Constant Field Values
pws
protected com.google.gdata.client.photos.PicasawebService pws
PicasaWeb
public PicasaWeb(com.google.gdata.client.photos.PicasawebService pws)
exception
protected PicasaWebException exception(Exception e)
getUserFeed
public com.google.gdata.data.photos.UserFeed getUserFeed(String user,
Visibility visibility)
getUser
public UserBean getUser(String user)
getUser
public UserBean getUser(String user,
Visibility visibility)
getAlbumFeed
public com.google.gdata.data.photos.AlbumFeed getAlbumFeed(String user,
String album)
getAlbum
public AlbumBean getAlbum(String user,
String album)
photo
public PhotosBean photo(com.google.gdata.data.photos.AlbumFeed albumFeed,
String photo)
getPhoto
public PhotosBean getPhoto(String user,
String album,
String photo)
insert
public com.google.gdata.data.photos.PhotoEntry insert(String user,
String album,
com.google.gdata.data.media.MediaSource source)
createAlbum
public com.google.gdata.data.photos.AlbumEntry createAlbum(String user,
com.google.gdata.data.photos.AlbumEntry album)
createAlbum
public com.google.gdata.data.photos.AlbumEntry createAlbum(String album)
getPhotoEntryByUserAlbumPhotoid
public com.google.gdata.data.photos.PhotoEntry getPhotoEntryByUserAlbumPhotoid(String user,
String album,
String photoid)
update
public void update(com.google.gdata.data.BaseEntry<?> entry)
updateMedia
public com.google.gdata.data.photos.PhotoEntry updateMedia(com.google.gdata.data.photos.PhotoEntry entry,
boolean updateEntry)
Copyright © 2012. All Rights Reserved.