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(java.lang.String strNickname)return true if the nickname already existjava.lang.StringgetNickname(LuteceUser user)Gets the user's nicknamejava.lang.StringgetNickname(java.lang.String strUserId)Gets the user's nicknamevoidsetNickname(java.lang.String strUserId, java.lang.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 java.lang.String getNickname(LuteceUser user)
Gets the user's nickname- Specified by:
getNicknamein interfaceIPortalUserPreferencesService- Parameters:
user- The User- Returns:
- The nickname
-
getNickname
public java.lang.String getNickname(java.lang.String strUserId)
Gets the user's nickname- Specified by:
getNicknamein interfaceIPortalUserPreferencesService- Parameters:
strUserId- The User ID- Returns:
- The nickname
-
setNickname
public void setNickname(java.lang.String strUserId, java.lang.String strNickname)Sets the nickname- Specified by:
setNicknamein interfaceIPortalUserPreferencesService- Parameters:
strUserId- The User IDstrNickname- The nickname
-
existsNickname
public boolean existsNickname(java.lang.String strNickname)
return true if the nickname already exist- Specified by:
existsNicknamein interfaceIPortalUserPreferencesService- Parameters:
strNickname- The nickname- Returns:
- true if the nickname already exist
-
-