Groups

Kind of class:public class
Package:com.adobe.webapis.flickr.methodgroups
Inherits from:none
Classpath:com.adobe.webapis.flickr.methodgroups.Groups
File last modified:Monday, 03 July 2006, 15:44:34
Contains the methods for the Groups method group in the Flickr API. Even though the events are listed here, they're really broadcast from the FlickrService instance itself to make using the service easier.

Summary


Constructor
Instance properties
  • _service : FlickrService
    • A reference to the FlickrService that contains the api key
  • _pools : Pools
    • Private variable that we provide read-only access to
  • pools : Pools
    • Provide read-only access to the Pools method group in the Flickr API
Instance methods
  • browse (cat_id:String = "0") : void
    • Browse the group category tree, finding groups and sub-categories.
  • browse_result (event:Event) : void
    • Capture the result of the browse call, and dispatch
  • getInfo (group_id:String) : void
    • Get information about a group.
  • getInfo_result (event:Event) : void
    • Capture the result of the getInfo call, and dispatch
  • search (text:String, per_page:Number = 100, page:Number = 1) : void
    • Search for groups.
  • search_result (event:Event) : void
    • Capture the result of the search call, and dispatch

Constructor

Groups

public function Groups (
service:FlickrService)

Construct a new Blogs "method group" class
Parameters:
service:
The FlickrService this method group is associated with. @langversion ActionScript 3.0 @playerversion Flash 8.5

Instance properties

_pools

private _pools:Pools
(read)

Private variable that we provide read-only access to

_service

private _service:FlickrService
(read)

A reference to the FlickrService that contains the api key and logic for processing API calls/responses

pools

public pools:Pools
(read)

Provide read-only access to the Pools method group in the Flickr API @langversion ActionScript 3.0 @playerversion Flash 8.5

Instance methods

browse

public function browse (
cat_id:String = "0") : void

Browse the group category tree, finding groups and sub-categories. This method requires authentication with READ permission.
Parameters:
cat_id:
(Optional) The category id to fetch a list of groups and sub-categories for. If not specified, it defaults to zero, the root of the category tree.
See also:

browse_result

private function browse_result (
event:Event) : void

Capture the result of the browse call, and dispatch the event to anyone listening.
Parameters:
event:
The complete event generated by the URLLoader that was used to communicate with the Flickr API from the invokeMethod method in

getInfo

public function getInfo (
group_id:String) : void

Get information about a group.
Parameters:
group_id:
The NSID of the group to fetch information for.
See also:

getInfo_result

private function getInfo_result (
event:Event) : void

Capture the result of the getInfo call, and dispatch the event to anyone listening.
Parameters:
event:
The complete event generated by the URLLoader that was used to communicate with the Flickr API from the invokeMethod method in MethodGroupHelper

search_result

private function search_result (
event:Event) : void

Capture the result of the search call, and dispatch the event to anyone listening.
Parameters:
event:
The complete event generated by the URLLoader that was used to communicate with the Flickr API from the invokeMethod method in MethodGroupHelper