Package com.soffid.iam.service
Interface PreferencesService
-
public interface PreferencesService
Service PreferencesService Manages user preferences
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
findMyPreference(String name)
Operation findMyPreference Retrieves current user preferenceMap<String,String>
findUserPreferences(String user)
Operation findUserPreferences Retrieves all the preferences for the selected uservoid
setUserPreference(String user, String preference, String value)
Operation setUserPreferenceMap<String,String>
setUserPreferences(String user, Map<String,String> preferences)
Operation setUserPreferences Sets all user preferences for the selected uservoid
updateMyPreference(String name, String value)
Operation updateMyPreference Changes current user preference
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
findMyPreference
String findMyPreference(String name) throws InternalErrorException
Operation findMyPreference Retrieves current user preference- Parameters:
name
-- Returns:
- Throws:
InternalErrorException
-
findUserPreferences
Map<String,String> findUserPreferences(String user) throws InternalErrorException
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 InternalErrorException
Operation setUserPreferences Sets all user preferences for the selected user- Parameters:
user
-preferences
-- Returns:
- Throws:
InternalErrorException
-
setUserPreference
void setUserPreference(String user, String preference, String value) throws InternalErrorException
Operation setUserPreference- Parameters:
user
-preference
-value
-- Throws:
InternalErrorException
-
updateMyPreference
void updateMyPreference(String name, String value) throws InternalErrorException
Operation updateMyPreference Changes current user preference- Parameters:
name
-value
-- Throws:
InternalErrorException
-
-