|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PreferenceType>
org.sakaiproject.profile2.types.PreferenceType
public enum PreferenceType
These are the types of preferences in Profile2.
We use these when checking if different options are enabled.
See also EmailType.
| Method Summary | |
|---|---|
static PreferenceType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PreferenceType[] |
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 PreferenceType EMAIL_NOTIFICATION_REQUEST
public static final PreferenceType EMAIL_NOTIFICATION_CONFIRM
public static final PreferenceType EMAIL_NOTIFICATION_MESSAGE_NEW
public static final PreferenceType EMAIL_NOTIFICATION_MESSAGE_REPLY
public static final PreferenceType EMAIL_NOTIFICATION_WALL_EVENT_NEW
public static final PreferenceType EMAIL_NOTIFICATION_WALL_POST_MY_NEW
public static final PreferenceType EMAIL_NOTIFICATION_WALL_POST_CONNECTION_NEW
public static final PreferenceType EMAIL_NOTIFICATION_WALL_STATUS_NEW
public static final PreferenceType EMAIL_NOTIFICATION_WORKSITE_NEW
public static final PreferenceType EMAIL_NOTIFICATION_PROFILE_CHANGE
public static final PreferenceType OFFICIAL_IMAGE
public static final PreferenceType GRAVATAR_IMAGE
public static final PreferenceType KUDOS_RATING
public static final PreferenceType PICTURES
public static final PreferenceType ONLINE_STATUS
| Method Detail |
|---|
public static PreferenceType[] values()
for (PreferenceType c : PreferenceType.values()) System.out.println(c);
public static PreferenceType 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 | |||||||||