com.aetrion.flickr.photos.geo
Class GeoPermissions

java.lang.Object
  extended by com.aetrion.flickr.photos.geo.GeoPermissions

public class GeoPermissions
extends java.lang.Object

Simple encapsulation of viewing permissions for geo data.

Author:
till (Till Krech - flickr:extranoise)

Constructor Summary
GeoPermissions()
           
 
Method Summary
 boolean isContact()
           
 boolean isFamily()
           
 boolean isFriend()
           
 boolean isPublic()
           
 void setContact(boolean enable)
          enables / disables viewing of geo data by contacs.
 void setFamily(boolean enable)
          enables / disables viewing of geo data by "family members".
 void setFriend(boolean enable)
          enables / disables viewing of geo data by "friends".
 void setPublic(boolean enable)
          enables / disables viewing of geo data by any one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoPermissions

public GeoPermissions()
Method Detail

isContact

public boolean isContact()
Returns:
true if contacts may see the geo data

setContact

public void setContact(boolean enable)
enables / disables viewing of geo data by contacs.

Parameters:
enable - true enables / false diables

isFamily

public boolean isFamily()
Returns:
true if "family members" may see the geo data

setFamily

public void setFamily(boolean enable)
enables / disables viewing of geo data by "family members".

Parameters:
enable - true enables / false diables

isFriend

public boolean isFriend()
Returns:
true if "friends" may see the geo data

setFriend

public void setFriend(boolean enable)
enables / disables viewing of geo data by "friends".

Parameters:
enable - true enables / false diables

isPublic

public boolean isPublic()
Returns:
true if anyone may see the geo data

setPublic

public void setPublic(boolean enable)
enables / disables viewing of geo data by any one.

Parameters:
enable - true enables / false diables


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