com.aetrion.flickr.groups
Class Group

java.lang.Object
  extended by com.aetrion.flickr.groups.Group
All Implemented Interfaces:
BuddyIconable

public class Group
extends java.lang.Object
implements BuddyIconable

Class representing a Flickr Group.

Author:
Anthony Eden

Constructor Summary
Group()
           
 
Method Summary
 java.lang.String getBuddyIconUrl()
          Construct the BuddyIconUrl.
 java.lang.String getChatId()
          Deprecated.  
 java.lang.String getDescription()
           
 int getIconFarm()
           
 int getIconServer()
           
 java.lang.String getId()
           
 int getInChat()
          Deprecated.  
 java.lang.String getLang()
           
 int getMembers()
           
 java.lang.String getName()
           
 int getOnline()
          Deprecated.  
 int getPhotoCount()
           
 java.lang.String getPrivacy()
           
 Throttle getThrottle()
           
 boolean isAdmin()
           
 boolean isEighteenPlus()
          Deprecated.  
 boolean isPoolModerated()
           
 void setAdmin(boolean admin)
           
 void setChatId(java.lang.String chatId)
          Deprecated.  
 void setDescription(java.lang.String description)
           
 void setEighteenPlus(boolean eighteenPlus)
          Deprecated.  
 void setIconFarm(int iconFarm)
           
 void setIconFarm(java.lang.String iconFarm)
           
 void setIconServer(int iconServer)
           
 void setIconServer(java.lang.String iconServer)
           
 void setId(java.lang.String id)
           
 void setInChat(int inChat)
          Deprecated.  
 void setInChat(java.lang.String inChat)
          Deprecated.  
 void setLang(java.lang.String lang)
           
 void setMembers(int members)
           
 void setMembers(java.lang.String members)
           
 void setName(java.lang.String name)
           
 void setOnline(int online)
          Deprecated.  
 void setOnline(java.lang.String online)
          Deprecated.  
 void setPhotoCount(int photoCount)
          Deprecated.  
 void setPhotoCount(java.lang.String photoCount)
          Deprecated.  
 void setPoolModerated(boolean poolModerated)
           
 void setPrivacy(java.lang.String privacy)
           
 void setThrottle(Throttle throttle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Group

public Group()
Method Detail

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getMembers

public int getMembers()

setMembers

public void setMembers(int members)

setMembers

public void setMembers(java.lang.String members)

getOnline

public int getOnline()
Deprecated. 

Returns:
the online-state

setOnline

public void setOnline(int online)
Deprecated. 

Parameters:
online -

setOnline

public void setOnline(java.lang.String online)
Deprecated. 

Parameters:
online -

getChatId

public java.lang.String getChatId()
Deprecated. 

Returns:
chatId

setChatId

public void setChatId(java.lang.String chatId)
Deprecated. 

Parameters:
chatId -

getInChat

public int getInChat()
Deprecated. 

Returns:
the number of users in chat

setInChat

public void setInChat(int inChat)
Deprecated. 

Parameters:
inChat -

setInChat

public void setInChat(java.lang.String inChat)
Deprecated. 

Parameters:
inChat -

getPrivacy

public java.lang.String getPrivacy()

setPrivacy

public void setPrivacy(java.lang.String privacy)

isAdmin

public boolean isAdmin()

setAdmin

public void setAdmin(boolean admin)

getPhotoCount

public int getPhotoCount()

setPhotoCount

public void setPhotoCount(int photoCount)
Deprecated. 

Parameters:
photoCount -

setPhotoCount

public void setPhotoCount(java.lang.String photoCount)
Deprecated. 

Parameters:
photoCount -

isEighteenPlus

public boolean isEighteenPlus()
Deprecated. 

Returns:
boolean

setEighteenPlus

public void setEighteenPlus(boolean eighteenPlus)
Deprecated. 

Parameters:
eighteenPlus -

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getLang

public java.lang.String getLang()

setLang

public void setLang(java.lang.String lang)

isPoolModerated

public boolean isPoolModerated()

setPoolModerated

public void setPoolModerated(boolean poolModerated)

getIconFarm

public int getIconFarm()
Specified by:
getIconFarm in interface BuddyIconable

setIconFarm

public void setIconFarm(int iconFarm)
Specified by:
setIconFarm in interface BuddyIconable

setIconFarm

public void setIconFarm(java.lang.String iconFarm)
Specified by:
setIconFarm in interface BuddyIconable

getIconServer

public int getIconServer()
Specified by:
getIconServer in interface BuddyIconable

setIconServer

public void setIconServer(int iconServer)
Specified by:
setIconServer in interface BuddyIconable

setIconServer

public void setIconServer(java.lang.String iconServer)
Specified by:
setIconServer in interface BuddyIconable

getBuddyIconUrl

public java.lang.String getBuddyIconUrl()
Construct the BuddyIconUrl.

If none available, return the default, or an URL assembled from farm, iconserver and nsid.

Specified by:
getBuddyIconUrl in interface BuddyIconable
Returns:
The BuddyIconUrl
See Also:
Flickr Documentation

getThrottle

public Throttle getThrottle()

setThrottle

public void setThrottle(Throttle throttle)


Copyright (C) 2005-2008 Aetrion LLC. All Rights Reserved.