/** * Constructs a new empty photo feed. */ public PhotoFeed() { super(); getCategories().add(PhotoData.PHOTO_CATEGORY); this.delegate = new PhotoDataImpl(this); }
/** * Constructs a new empty photo feed. */ public PhotoFeed() { super(); getCategories().add(PhotoData.PHOTO_CATEGORY); this.delegate = new PhotoDataImpl(this); }
/** * Constructs a new photo 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 PhotoFeed(BaseFeed<?, ?> sourceFeed) { super(sourceFeed); getCategories().add(PhotoData.PHOTO_CATEGORY); this.delegate = new PhotoDataImpl(this); }
/** * Constructs a new photo 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 PhotoFeed(BaseFeed<?, ?> sourceFeed) { super(sourceFeed); getCategories().add(PhotoData.PHOTO_CATEGORY); this.delegate = new PhotoDataImpl(this); }