Class PortalUserPreferenceServiceImpl
- java.lang.Object
-
- fr.paris.lutece.portal.service.prefs.BaseUserPreferencesServiceImpl
-
- fr.paris.lutece.portal.service.prefs.PortalUserPreferenceServiceImpl
-
- All Implemented Interfaces:
IPortalUserPreferencesService,IUserPreferencesService,org.springframework.beans.factory.InitializingBean
public class PortalUserPreferenceServiceImpl extends BaseUserPreferencesServiceImpl implements IPortalUserPreferencesService
Portal User Preference Service
-
-
Constructor Summary
Constructors Constructor Description PortalUserPreferenceServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexistsNickname(String strNickname)return true if the nickname already existStringgetNickname(LuteceUser user)Gets the user's nicknameStringgetNickname(String strUserId)Gets the user's nicknamevoidsetNickname(String strUserId, String strNickname)Sets the nickname-
Methods inherited from class fr.paris.lutece.portal.service.prefs.BaseUserPreferencesServiceImpl
afterPropertiesSet, clear, clearKey, clearKeyPrefix, existsKey, existsValueForKey, get, getBoolean, getInt, getUsers, keys, put, putBoolean, putInt, setDao
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.paris.lutece.portal.service.prefs.IUserPreferencesService
clear, clearKey, clearKeyPrefix, existsKey, existsValueForKey, get, getBoolean, getInt, getUsers, keys, put, putBoolean, putInt
-
-
-
-
Method Detail
-
getNickname
public String getNickname(LuteceUser user)
Gets the user's nickname- Specified by:
getNicknamein interfaceIPortalUserPreferencesService- Parameters:
user- The User- Returns:
- The nickname
-
getNickname
public String getNickname(String strUserId)
Gets the user's nickname- Specified by:
getNicknamein interfaceIPortalUserPreferencesService- Parameters:
strUserId- The User ID- Returns:
- The nickname
-
setNickname
public void setNickname(String strUserId, String strNickname)
Sets the nickname- Specified by:
setNicknamein interfaceIPortalUserPreferencesService- Parameters:
strUserId- The User IDstrNickname- The nickname
-
existsNickname
public boolean existsNickname(String strNickname)
return true if the nickname already exist- Specified by:
existsNicknamein interfaceIPortalUserPreferencesService- Parameters:
strNickname- The nickname- Returns:
- true if the nickname already exist
-
-