Class CacheUserAttributeService


  • public class CacheUserAttributeService
    extends java.lang.Object
    • 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 user
      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
      static void loginEvent​(fr.paris.lutece.portal.business.event.LuteceUserEvent event)
      consume event
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CacheUserAttributeService

        public CacheUserAttributeService()
    • 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)