Class AwaitingActivationHome


  • public final class AwaitingActivationHome
    extends java.lang.Object
    This class provides instances management methods (create, find, ...) for awaiting activations
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean checkKey​(int nIdUser, int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Checks if the key is correct for the user id
      static void create​(int nIdUser, int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Registers a new entry
      static void remove​(int nIdUser, int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Removes the entry
      • Methods inherited from class java.lang.Object

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

      • create

        public static void create​(int nIdUser,
                                  int nKey,
                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Registers a new entry
        Parameters:
        nIdUser - the user id
        nKey - the key
        plugin - the plugin
      • remove

        public static void remove​(int nIdUser,
                                  int nKey,
                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Removes the entry
        Parameters:
        nIdUser - the user id
        nKey - the key
        plugin - the plugin
      • checkKey

        public static boolean checkKey​(int nIdUser,
                                       int nKey,
                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Checks if the key is correct for the user id
        Parameters:
        nIdUser - the user id
        nKey - the key
        plugin - the plugin
        Returns:
        true if the key is correct for the user id, false otherwise