org.silverpeas.preferences.web
Class MyPreferencesResource
java.lang.Object
com.silverpeas.web.RESTWebService
org.silverpeas.preferences.web.MyPreferencesResource
@Service
@RequestScoped
@Authenticated
public class MyPreferencesResource
- extends RESTWebService
The preferences of the current user in Silverpeas. This web service provides a way to get and
to change its preferences. Currently, only the change of the language is implemented.
- Author:
- mmoquillon
Methods inherited from class com.silverpeas.web.RESTWebService |
getBundle, getBundleLocation, getGreaterUserRole, getHttpRequest, getHttpServletRequest, getHttpServletResponse, getOrganisationController, getUriInfo, getUserDetail, getUserPreferences, getUserRoles, process, validateUserAuthentication, validateUserAuthorization |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyPreferencesResource
public MyPreferencesResource()
getComponentId
public String getComponentId()
- Description copied from class:
RESTWebService
- Gets the identifier of the component instance to which the requested resource belongs to.
- Specified by:
getComponentId
in class RESTWebService
- Returns:
- the identifier of the Silverpeas component instance.
setMyPreferences
public UserPreferencesEntity setMyPreferences(UserPreferencesEntity preferences)
Copyright © 2016 Silverpeas. All Rights Reserved.