fr.paris.lutece.plugins.newsletter.business
Interface IAwaitingActivationDAO

All Known Implementing Classes:
AwaitingActivationDAO

public interface IAwaitingActivationDAO

Provides methods for awaiting activations


Method Summary
 void delete(int nIdUser, int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Removes the entry
 boolean exists(int nIdUser, int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Checks if the pair user/key already exists.
 void insert(int nIdUser, int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Adds a new pair user/key entry
 

Method Detail

insert

void insert(int nIdUser,
            int nKey,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Adds a new pair user/key entry

Parameters:
nIdUser - the user id
nKey - the generated key
plugin - the plugin

delete

void delete(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

exists

boolean exists(int nIdUser,
               int nKey,
               fr.paris.lutece.portal.service.plugin.Plugin plugin)
Checks if the pair user/key already exists.

Parameters:
nIdUser - the user id
nKey - the generated key
plugin - the plugin
Returns:
true if the pair already exists, false otherwise.


Copyright © 2010 Mairie de Paris. All Rights Reserved.