Class UIUserCache


  • public class UIUserCache
    extends Object
    Handles a cache of user dedicated to the UI.
    When a user is not yet into the cache, then it is loaded from the persistence and put into cache.
    Author:
    silveryocha
    • Method Detail

      • getById

        public static User getById​(String id)
        Gets from the dedicated UI cache a user by its identifier.
        Parameters:
        id - an indetifier of a user.
        Returns:
        a user if any, null otherwise.