Class PortalUserPreferenceServiceImpl
java.lang.Object
fr.paris.lutece.portal.service.prefs.BaseUserPreferencesServiceImpl
fr.paris.lutece.portal.service.prefs.PortalUserPreferenceServiceImpl
- All Implemented Interfaces:
IPortalUserPreferencesService,IUserPreferencesService
@ApplicationScoped
public class PortalUserPreferenceServiceImpl
extends BaseUserPreferencesServiceImpl
implements IPortalUserPreferencesService
Portal User Preference Service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexistsNickname(String strNickname) return true if the nickname already existgetNickname(LuteceUser user) Gets the user's nicknamegetNickname(String strUserId) Gets the user's nicknamevoidsetNickname(String strUserId, String strNickname) Sets the nicknameMethods inherited from class fr.paris.lutece.portal.service.prefs.BaseUserPreferencesServiceImpl
clear, clearKey, clearKeyPrefix, existsKey, existsValueForKey, get, getBoolean, getInt, getUsers, keys, put, putBoolean, putInt, setDaoMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.paris.lutece.portal.service.prefs.IUserPreferencesService
clear, clearKey, clearKeyPrefix, existsKey, existsValueForKey, get, getBoolean, getInt, getUsers, keys, put, putBoolean, putInt
-
Constructor Details
-
PortalUserPreferenceServiceImpl
public PortalUserPreferenceServiceImpl()
-
-
Method Details
-
getNickname
Gets the user's nickname- Specified by:
getNicknamein interfaceIPortalUserPreferencesService- Parameters:
user- The User- Returns:
- The nickname
-
getNickname
Gets the user's nickname- Specified by:
getNicknamein interfaceIPortalUserPreferencesService- Parameters:
strUserId- The User ID- Returns:
- The nickname
-
setNickname
Sets the nickname- Specified by:
setNicknamein interfaceIPortalUserPreferencesService- Parameters:
strUserId- The User IDstrNickname- The nickname
-
existsNickname
return true if the nickname already exist- Specified by:
existsNicknamein interfaceIPortalUserPreferencesService- Parameters:
strNickname- The nickname- Returns:
- true if the nickname already exist
-