Class AwaitingActivationHome
- java.lang.Object
-
- fr.paris.lutece.plugins.newsletter.business.AwaitingActivationHome
-
public final class AwaitingActivationHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for awaiting activations
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancheckKey(int nIdUser, int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Checks if the key is correct for the user idstatic voidcreate(int nIdUser, int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Registers a new entrystatic voidremove(int nIdUser, int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Removes the entry
-
-
-
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 idnKey- the keyplugin- 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 idnKey- the keyplugin- 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 idnKey- the keyplugin- the plugin- Returns:
- true if the key is correct for the user id, false otherwise
-
-