org.jickr
Enum PhotoSearch.Privacy

java.lang.Object
  extended by java.lang.Enum<PhotoSearch.Privacy>
      extended by org.jickr.PhotoSearch.Privacy
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PhotoSearch.Privacy>
Enclosing class:
PhotoSearch

public static enum PhotoSearch.Privacy
extends java.lang.Enum<PhotoSearch.Privacy>

Privacy value associated with an object on Flickr. Used to set search conditions via PhotoSearch.setPrivacy(Privacy)

See Also:
PhotoSearch.setPrivacy(Privacy)

Enum Constant Summary
FAMILY
          The object is visible only to people marked as family on Flickr.
FRIENDS
          The object is visible only to people marked as a friend on Flickr.
FRIENDSANDFAMILY
          The object is visible only to people marked either a friend or family on Flickr.
PRIVATE
          The object is visible only to the authenticated user, it is completely private.
PUBLIC
          The object is visible to everyone.
 
Method Summary
static PhotoSearch.Privacy valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PhotoSearch.Privacy[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PUBLIC

public static final PhotoSearch.Privacy PUBLIC
The object is visible to everyone.


FRIENDS

public static final PhotoSearch.Privacy FRIENDS
The object is visible only to people marked as a friend on Flickr.


FAMILY

public static final PhotoSearch.Privacy FAMILY
The object is visible only to people marked as family on Flickr.


FRIENDSANDFAMILY

public static final PhotoSearch.Privacy FRIENDSANDFAMILY
The object is visible only to people marked either a friend or family on Flickr.


PRIVATE

public static final PhotoSearch.Privacy PRIVATE
The object is visible only to the authenticated user, it is completely private.

Method Detail

values

public static final PhotoSearch.Privacy[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(PhotoSearch.Privacy c : PhotoSearch.Privacy.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static PhotoSearch.Privacy valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name