Class UserCardSettingService
java.lang.Object
io.meeds.social.usercard.service.UserCardSettingService
Saves which profile properties the user card displays, settings the
administrators choose for all the users
-
Field Details
-
INVALID_PROPERTY_MESSAGE
- See Also:
-
FIRST_FIELD_KEY
- See Also:
-
SECOND_FIELD_KEY
- See Also:
-
THIRD_FIELD_KEY
- See Also:
-
PHONE_KEY
- See Also:
-
EMAIL_KEY
- See Also:
-
-
Constructor Details
-
UserCardSettingService
public UserCardSettingService()
-
-
Method Details
-
saveSettings
- Parameters:
settings- the profile properties the user card displaysusername- the user who saves the settings- Throws:
IllegalAccessException- when the user isn't an administratorIllegalArgumentException- when a property doesn't exist or can't be displayed at its place in the user card
-