Enum Profile.UpdateType
- java.lang.Object
-
- java.lang.Enum<Profile.UpdateType>
-
- org.exoplatform.social.core.identity.model.Profile.UpdateType
-
- All Implemented Interfaces:
Serializable,Comparable<Profile.UpdateType>
- Enclosing class:
- Profile
public static enum Profile.UpdateType extends Enum<Profile.UpdateType>
Types of updating of profile.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABOUT_MEAVATARBANNERBASIC_INFORCITYCOMPANYCONTACTCOUNTRYDEPARTMENTEXPERIENCESLOCATIONPOSITIONPROFESSIONTEAMTECHNICAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidupdateActivity(ProfileLifeCycle profileLifeCycle, Profile profile)static Profile.UpdateTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Profile.UpdateType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POSITION
public static final Profile.UpdateType POSITION
-
COMPANY
public static final Profile.UpdateType COMPANY
-
LOCATION
public static final Profile.UpdateType LOCATION
-
DEPARTMENT
public static final Profile.UpdateType DEPARTMENT
-
TEAM
public static final Profile.UpdateType TEAM
-
PROFESSION
public static final Profile.UpdateType PROFESSION
-
COUNTRY
public static final Profile.UpdateType COUNTRY
-
CITY
public static final Profile.UpdateType CITY
-
BASIC_INFOR
public static final Profile.UpdateType BASIC_INFOR
-
CONTACT
public static final Profile.UpdateType CONTACT
-
EXPERIENCES
public static final Profile.UpdateType EXPERIENCES
-
AVATAR
public static final Profile.UpdateType AVATAR
-
ABOUT_ME
public static final Profile.UpdateType ABOUT_ME
-
BANNER
public static final Profile.UpdateType BANNER
-
TECHNICAL
public static final Profile.UpdateType TECHNICAL
-
-
Method Detail
-
values
public static Profile.UpdateType[] 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 (Profile.UpdateType c : Profile.UpdateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Profile.UpdateType 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
-
updateActivity
public void updateActivity(ProfileLifeCycle profileLifeCycle, Profile profile)
-
-