/** * Get a list of entries of the {@link TagEntry} kind. */ public List<TagEntry> getTagEntries() { return getEntries(TagEntry.class); }
/** * Declare the extensions of the feeds for the Picasa Web Albums Data API. */ private void declareExtensions() { extProfile.setAutoExtending(true); new AlbumEntry().declareExtensions(extProfile); new AlbumFeed().declareExtensions(extProfile); new CommentEntry().declareExtensions(extProfile); new PhotoEntry().declareExtensions(extProfile); new PhotoFeed().declareExtensions(extProfile); new TagEntry().declareExtensions(extProfile); new UserEntry().declareExtensions(extProfile); new UserFeed().declareExtensions(extProfile); }
/** * Constructs a new album feed from a shallow copy of the data in the source * feed. This is used to get the correct entry type based on the category of * the entry. */ public AlbumFeed(BaseFeed<?, ?> sourceFeed) { super(sourceFeed); getCategories().add(AlbumData.ALBUM_CATEGORY); this.delegate = new AlbumDataImpl(this); }
/** * Declare the extensions of the feeds for the Picasa Web Albums Data API. */ private void declareExtensions() { extProfile.setAutoExtending(true); new AlbumEntry().declareExtensions(extProfile); new AlbumFeed().declareExtensions(extProfile); new CommentEntry().declareExtensions(extProfile); new PhotoEntry().declareExtensions(extProfile); new PhotoFeed().declareExtensions(extProfile); new TagEntry().declareExtensions(extProfile); new UserEntry().declareExtensions(extProfile); new UserFeed().declareExtensions(extProfile); }
/** * Constructs a new empty album feed. */ public AlbumFeed() { super(); getCategories().add(AlbumData.ALBUM_CATEGORY); this.delegate = new AlbumDataImpl(this); }
/** * Get a list of entries of the {@link TagEntry} kind. */ public List<TagEntry> getTagEntries() { return getEntries(TagEntry.class); }
/** * Constructs a new empty album feed. */ public AlbumFeed() { super(); getCategories().add(AlbumData.ALBUM_CATEGORY); this.delegate = new AlbumDataImpl(this); }
/** * Get a list of entries of the {@link PhotoEntry} kind. */ public List<PhotoEntry> getPhotoEntries() { return getEntries(PhotoEntry.class); }
/** * Constructs a new album feed from a shallow copy of the data in the source * feed. This is used to get the correct entry type based on the category of * the entry. */ public AlbumFeed(BaseFeed<?, ?> sourceFeed) { super(sourceFeed); getCategories().add(AlbumData.ALBUM_CATEGORY); this.delegate = new AlbumDataImpl(this); }
/** * Get a list of entries of the {@link PhotoEntry} kind. */ public List<PhotoEntry> getPhotoEntries() { return getEntries(PhotoEntry.class); }