| Removed Methods |
String getPrincipal(BasicUser, PrincipalType)
|
Returns the value of the given principal type for the given user, making sure it applies to the user. |
String getPrincipal(BasicUser, ChannelConfiguration)
|
Returns the value of a principal the given user can use to access a channel with the given configuration |
(Map<String, String>) getProfileFieldVariables(BasicUser)
|
Returns a map with each profile field identifier and value:
If it's a basic profile field (e.g: name, username, etc..) the identifier will be the alias
If it's a custom profile field the identifier will be the internal name. |
| Added Methods |
String getPrincipal(BasicUser, ChannelAccessAccessor)
|
Returns the value of a principal the given user can use to access a channel with the given configuration |
(Function<String, String>) getProfileFieldsFunction(BasicUser)
|
Returns a function which maps variables to formatted values for the given user. |
List<ProfileField> getVisibleProfileFields(BasicUser)
|
Returns all profile fields which are both visible for the current user and enabled for the given user |
ProfileField toBasicVO(ProfileField)
|
Converts a profile field to either BasicProfileField or CustomFieldVO. |
List<ProfileField> toBasicVOs(Collection<ProfileField>)
|
Converts a list of profile fields to either BasicProfileField or CustomFieldVO. |