Class CacheUserAttributeService
java.lang.Object
fr.paris.lutece.plugins.mylutece.modules.cacheuserattribute.service.CacheUserAttributeService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCachedAttributes(String strUserId) get cache attributes as Map of a lutece usergetCachedAttributesByListUserIdsAndAttributeId(List<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
-
Constructor Details
-
CacheUserAttributeService
public CacheUserAttributeService()
-
-
Method Details
-
loginEvent
public static void loginEvent(fr.paris.lutece.portal.business.event.LuteceUserEvent event) consume event- Parameters:
event-
-
getCachedAttributes
get cache attributes as Map of a lutece user- Parameters:
strUserId-- Returns:
- the map
-
getCachedAttributesByListUserIdsAndAttributeId
public static Map<String,String> getCachedAttributesByListUserIdsAndAttributeId(List<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)
-