Class CacheUserAttributeService
- java.lang.Object
-
- fr.paris.lutece.plugins.mylutece.modules.cacheuserattribute.service.CacheUserAttributeService
-
public class CacheUserAttributeService extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CacheUserAttributeService()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.String>getCachedAttributes(java.lang.String strUserId)get cache attributes as Map of a lutece userstatic java.util.Map<java.lang.String,java.lang.String>getCachedAttributesByListUserIdsAndAttributeId(java.util.List<java.lang.String> listUserIds, int nAttributeId)get cache attributes by list of user ids and attribute idstatic voidloginEvent(fr.paris.lutece.portal.business.event.LuteceUserEvent event)consume event
-
-
-
Method Detail
-
loginEvent
public static void loginEvent(fr.paris.lutece.portal.business.event.LuteceUserEvent event)
consume event- Parameters:
event-
-
getCachedAttributes
public static java.util.Map<java.lang.String,java.lang.String> getCachedAttributes(java.lang.String strUserId)
get cache attributes as Map of a lutece user- Parameters:
strUserId-- Returns:
- the map
-
getCachedAttributesByListUserIdsAndAttributeId
public static java.util.Map<java.lang.String,java.lang.String> getCachedAttributesByListUserIdsAndAttributeId(java.util.List<java.lang.String> listUserIds, int nAttributeId)get cache attributes by list of user ids and attribute id- Parameters:
listUserIds-nAttributeId-- Returns:
- the map (key = user id, value = content of attribute)
-
-