Packagecom.adobe.webapis.flickr.methodgroups
Classpublic class Groups

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.



Public Properties
 PropertyDefined by
  pools : Pools
[read-only] Provide read-only access to the Pools method group in the Flickr API
Groups
Public Methods
 MethodDefined by
  
Construct a new Blogs "method group" class
Groups
  
browse(cat_id:String = "0"):void
Browse the group category tree, finding groups and sub-categories.
Groups
  
getInfo(group_id:String):void
Get information about a group.
Groups
  
search(text:String, per_page:Number = 100, page:Number = 1):void
Search for groups.
Groups
Events
 EventSummaryDefined by
   Broadcast as a result of the browse method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains a "category" Category instance When success is false, contains an "error" FlickrError instance Groups
   Broadcast as a result of the getInfo method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains a "group" Group instance When success is false, contains an "error" FlickrError instance Groups
   Broadcast as a result of the search method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains a "groups" PagedGroupList instance When success is false, contains an "error" FlickrError instance Groups
Property detail
poolsproperty
pools:Pools  [read-only]

Provide read-only access to the Pools method group in the Flickr API

Implementation
    public function get pools():Pools
Constructor detail
Groups()constructor
public function Groups(service:FlickrService)

Construct a new Blogs "method group" class

Parameters
service:FlickrService — The FlickrService this method group is associated with.
Method detail
browse()method
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:String (default = "0") — (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

getInfo()method 
public function getInfo(group_id:String):void

Get information about a group.

Parameters
group_id:String — The NSID of the group to fetch information for.

See also

search()method 
public function search(text:String, per_page:Number = 100, page:Number = 1):void

Search for groups. 18+ groups will only be returned for authenticated calls where the authenticated user is over 18.

Parameters
text:String — The text to search for.
 
per_page:Number (default = 100) — (Optional) Number of groups to return per page. If this argument is ommited, it defaults to 100. The maximum allowed value is 500.
 
page:Number (default = 1) — (Optional) The page of results to return. If this argument is ommited, it defaults to 1.

See also

Event detail
groupsBrowseevent 
Event object type: com.adobe.webapis.flickr.events.FlickrResultEvent

Broadcast as a result of the browse method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains a "category" Category instance When success is false, contains an "error" FlickrError instance

See also

browse
com.adobe.service.flickr.FlickrError
groupsGetInfoevent  
Event object type: com.adobe.webapis.flickr.events.FlickrResultEvent

Broadcast as a result of the getInfo method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains a "group" Group instance When success is false, contains an "error" FlickrError instance

See also

getInfo
com.adobe.service.flickr.FlickrError
groupsSearchevent  
Event object type: com.adobe.webapis.flickr.events.FlickrResultEvent

Broadcast as a result of the search method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains a "groups" PagedGroupList instance When success is false, contains an "error" FlickrError instance

See also

search
com.adobe.service.flickr.FlickrError