Interface IAwaitingActivationDAO
- All Known Implementing Classes:
AwaitingActivationDAO
public interface IAwaitingActivationDAO
Provides methods for awaiting activations
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdUser, int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Removes the entrybooleanexists(int nIdUser, int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Checks if the pair user/key already exists.voidinsert(int nIdUser, int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Adds a new pair user/key entry
-
Method Details
-
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 idnKey- the generated keyplugin- the plugin
-
delete
void delete(int nIdUser, int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Removes the entry- Parameters:
nIdUser- the user idnKey- the keyplugin- 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 idnKey- the generated keyplugin- the plugin- Returns:
- true if the pair already exists, false otherwise.
-