fr.paris.lutece.plugins.newsletter.business
Class AwaitingActivationDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.newsletter.business.AwaitingActivationDAO
All Implemented Interfaces:
IAwaitingActivationDAO

public class AwaitingActivationDAO
extends java.lang.Object
implements IAwaitingActivationDAO

AwaitingActivationDAO provides newsletter_awaiting_confirmation table management


Constructor Summary
AwaitingActivationDAO()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AwaitingActivationDAO

public AwaitingActivationDAO()
Method Detail

delete

public void delete(int nIdUser,
                   int nKey,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes the entry

Specified by:
delete in interface IAwaitingActivationDAO
Parameters:
nIdUser - the user id
nKey - the key
plugin - the plugin

exists

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

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

insert

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

Specified by:
insert in interface IAwaitingActivationDAO
Parameters:
nIdUser - the user id
nKey - the generated key
plugin - the plugin


Copyright © 2010 Mairie de Paris. All Rights Reserved.