com. kelvinluck. flickr. PhotosetDescribes a Photoset on flickr.com AuthorKelvin Luck Summary
id
The id of this Photoset url
The URL to this Photoset on flickr.com photos
title
The title of this Photoset description
The description of this Photoset _photosets
A private static Object containing Photoset objects. Used by getPhotoset to insure that only one Photoset is created for each photoset ID returned from flickr.com Photoset
removePhoto
Parameters
See AlsoeditPhotos
Replaces this photoset’s photos array with one made up from the passed photoIds. Called when there is a response from flickr.com to flickr.photosets.editPhotos Parameters
See AlsoclearPhotos
Clears this photoset’s photos array. Used when the photo list is loaded completely e.g. from Flickr.photosetsGetPhotos getPhotoset
Get’s a Photoset object for the given photoset ID. Consults _photosets to make sure that only one Photoset instance is created for each photoset ID from flickr.com Parameters
remove
Parameters
|
The id of this Photoset
var id: Number
private function Photoset( id: Number )
The Person who owns this Photoset
var owner: Person
The URL to this Photoset on flickr.com
var url: String
The primary Photo for this Photoset
var primaryPhoto: Photo
The total number of Photos in this Photoset
var numPhotos: Number
private var photos: Array
The title of this Photoset
var title: String
The description of this Photoset
var description: String
A private static Object containing Photoset objects.
private static var _photosets: Object
Adds a photo to the end of this Photoset’s photos array and updates numPhotos Called internally on a successful response from flickr.photosets.addPhoto.
function addPhoto( photo: Photo )
function removePhoto( photo: Photo )
Replaces this photoset’s photos array with one made up from the passed photoIds.
function editPhotos( primaryPhoto: Photo, photoIds: Array )
Clears this photoset’s photos array.
function clearPhotos()
Get’s this Photosets photos
function getPhotos():Array
Get’s a Photoset object for the given photoset ID.
public static function getPhotoset( id: Number ):Photoset
static function remove( photoset: Photoset ):Void
public function toString():String
Remove a photo from a photoset.
function photosetsRemovePhoto( photosetId: Number, photoId: Number )
Modify the photos in a photoset.
function photosetsEditPhotos( photosetId: Number, primaryPhotoId: Number, photoIds: Array )
Get the list of photos in a set.
function photosetsGetPhotos( photosetId: Number )
Delete a photoset.
function photosetsDelete( photosetId: Number )