Class AwaitingActivationHome
java.lang.Object
fr.paris.lutece.plugins.newsletter.business.AwaitingActivationHome
This class provides instances management methods (create, find, ...) for awaiting activations
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
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
-