Generated by
JDiff

Interface org.cyclos.impl.users.ProfileFieldHandler

Added Methods
String getPrincipal(BasicUser, PrincipalType) Returns the value of the given principal type for the given user, making sure it applies to the user.
boolean isDefaultHidden(Group, ProfileField) Returns whether the given field is marked as hidden for the given group configuration.
void prepareNew(User) Sets all default profile field visibilities, as well as creates an empty UserCustomFieldValue with the default value set
 

Changed Methods
List<ProfileField> getAllProfileFields() Documentation changed from old to new.
Returns a list containing all ProfileField - all BasicProfileFields and all UserCustomFields
List<ProfileField> getEnabledProfileFields(BasicUser) Change in signature from ProductsAccessor to BasicUser.
Documentation changed from old to new.
Returns the list of profile fields that are enabled in the given user
Object getFieldValue(BasicUser, ProfileField) Documentation changed from old to new.
Returns the value of the given profle field for the given user.
List<ProductMyProfileFieldDTO> getMyProfileFields(ProductAccessor) Documentation changed from old to new.
Returns the aggregate my profile fields for the given products accessor.
List<ProductUserProfileFieldDTO> getUserProfileFields(ProductAccessor) Documentation changed from old to new.
Returns the aggregate user profile fields for the given products accessor.
boolean isEnabled(BasicUser, ProfileField) Change in signature from (ProductsAccessor, ProfileField) to (BasicUser, ProfileField).
Returns whether the given profile field is enabled for the given products accessor
boolean isHidden(User, ProfileField) Change in signature from (BasicUser, ProfileField) to (User, ProfileField).
Returns whether the given field is marked as hidden for the given user.
ProfileField toEntity(ProfileField) Documentation changed from old to new.
Returns a profile field compatible to storing as an entity, converting UserCustomFieldVOs to UserCustomFields.
ProfileField toVO(ProfileField) Documentation changed from old to new.
Returns a profile field compatible to send to client, converting UserCustomFields to CustomFieldDetailedVOs.
List<UserProfileFieldActions> getFieldActions(BasicUser) Documentation changed from old to new.
Returns the enabled fields for the given user (and visible to the logged user) and the actions that the logged user can perform over them The contexts which can be used are: - Internal or public registration: the given user should be transient - The logged user is viewing other user's profile.
List<ProfileField> getMatchingFields(<any>, Map<BooleanPath, Boolean>) Documentation changed from old to new.
Returns a list of the enabled profile fields that matches all the given filters in the map: for each map key, retains only fields whose that boolean flag is the same as the map value.