java.lang.Object
fr.paris.lutece.plugins.mylutece.modules.cacheuserattribute.service.CacheUserAttributeService

@ApplicationScoped public class CacheUserAttributeService extends Object
  • 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

      public static Map<String,String> getCachedAttributes(String strUserId)
      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)