Package com.soffid.iam.base.service
Interface PreferencesService
public interface PreferencesService
Service PreferencesService
Manages user preferences
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfindMyPreference(String name) Operation findMyPreference Retrieves current user preferencefindUserPreferences(String user) Operation findUserPreferences Retrieves all the preferences for the selected uservoidsetUserPreference(String user, String preference, String value) Operation setUserPreferencesetUserPreferences(String user, Map<String, String> preferences) Operation setUserPreferences Sets all user preferences for the selected uservoidupdateMyPreference(String name, String value) Operation updateMyPreference Changes current user preference
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
findMyPreference
Operation findMyPreference Retrieves current user preference- Parameters:
name-- Returns:
- Throws:
InternalErrorException
-
findUserPreferences
Operation findUserPreferences Retrieves all the preferences for the selected user- Parameters:
user-- Returns:
- Throws:
InternalErrorException
-
setUserPreferences
Map<String,String> setUserPreferences(String user, Map<String, String> preferences) throws InternalErrorExceptionOperation setUserPreferences Sets all user preferences for the selected user- Parameters:
user-preferences-- Returns:
- Throws:
InternalErrorException
-
setUserPreference
Operation setUserPreference- Parameters:
user-preference-value-- Throws:
InternalErrorException
-
updateMyPreference
Operation updateMyPreference Changes current user preference- Parameters:
name-value-- Throws:
InternalErrorException
-