Package org.sakaiproject.profile2.types
Enum PrivacyType
- java.lang.Object
-
- java.lang.Enum<PrivacyType>
-
- org.sakaiproject.profile2.types.PrivacyType
-
- All Implemented Interfaces:
Serializable,Comparable<PrivacyType>
public enum PrivacyType extends Enum<PrivacyType>
These are the types of privacy settings in Profile2.We use these when checking the different options
- Since:
- 1.5
- Author:
- Steve Swinsburg (steve.swinsburg@gmail.com)
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PrivacyTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PrivacyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRIVACY_OPTION_PROFILEIMAGE
public static final PrivacyType PRIVACY_OPTION_PROFILEIMAGE
-
PRIVACY_OPTION_BASICINFO
public static final PrivacyType PRIVACY_OPTION_BASICINFO
-
PRIVACY_OPTION_CONTACTINFO
public static final PrivacyType PRIVACY_OPTION_CONTACTINFO
-
PRIVACY_OPTION_PERSONALINFO
public static final PrivacyType PRIVACY_OPTION_PERSONALINFO
-
PRIVACY_OPTION_SEARCH
public static final PrivacyType PRIVACY_OPTION_SEARCH
-
PRIVACY_OPTION_MYFRIENDS
public static final PrivacyType PRIVACY_OPTION_MYFRIENDS
-
PRIVACY_OPTION_MYSTATUS
public static final PrivacyType PRIVACY_OPTION_MYSTATUS
-
PRIVACY_OPTION_MYPICTURES
public static final PrivacyType PRIVACY_OPTION_MYPICTURES
-
PRIVACY_OPTION_MESSAGES
public static final PrivacyType PRIVACY_OPTION_MESSAGES
-
PRIVACY_OPTION_BUSINESSINFO
public static final PrivacyType PRIVACY_OPTION_BUSINESSINFO
-
PRIVACY_OPTION_STAFFINFO
public static final PrivacyType PRIVACY_OPTION_STAFFINFO
-
PRIVACY_OPTION_STUDENTINFO
public static final PrivacyType PRIVACY_OPTION_STUDENTINFO
-
PRIVACY_OPTION_MYKUDOS
public static final PrivacyType PRIVACY_OPTION_MYKUDOS
-
PRIVACY_OPTION_MYWALL
public static final PrivacyType PRIVACY_OPTION_MYWALL
-
PRIVACY_OPTION_SOCIALINFO
public static final PrivacyType PRIVACY_OPTION_SOCIALINFO
-
PRIVACY_OPTION_ONLINESTATUS
public static final PrivacyType PRIVACY_OPTION_ONLINESTATUS
-
-
Method Detail
-
values
public static PrivacyType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PrivacyType c : PrivacyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PrivacyType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-