|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PrivacyType>
org.sakaiproject.profile2.types.PrivacyType
public enum PrivacyType
These are the types of privacy settings in Profile2.
We use these when checking the different options
| Method Summary | |
|---|---|
static PrivacyType |
valueOf(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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PrivacyType PRIVACY_OPTION_PROFILEIMAGE
public static final PrivacyType PRIVACY_OPTION_BASICINFO
public static final PrivacyType PRIVACY_OPTION_CONTACTINFO
public static final PrivacyType PRIVACY_OPTION_PERSONALINFO
public static final PrivacyType PRIVACY_OPTION_SEARCH
public static final PrivacyType PRIVACY_OPTION_MYFRIENDS
public static final PrivacyType PRIVACY_OPTION_MYSTATUS
public static final PrivacyType PRIVACY_OPTION_MYPICTURES
public static final PrivacyType PRIVACY_OPTION_MESSAGES
public static final PrivacyType PRIVACY_OPTION_BUSINESSINFO
public static final PrivacyType PRIVACY_OPTION_STAFFINFO
public static final PrivacyType PRIVACY_OPTION_STUDENTINFO
public static final PrivacyType PRIVACY_OPTION_MYKUDOS
public static final PrivacyType PRIVACY_OPTION_MYWALL
public static final PrivacyType PRIVACY_OPTION_SOCIALINFO
public static final PrivacyType PRIVACY_OPTION_ONLINESTATUS
| Method Detail |
|---|
public static PrivacyType[] values()
for (PrivacyType c : PrivacyType.values()) System.out.println(c);
public static PrivacyType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||