public class UserCodeControllerDataDAO extends Object implements IUserCodeControllerDataDAO
IUserCodeControllerDataDAO| Constructor and Description |
|---|
UserCodeControllerDataDAO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkUserCode(String strUser,
String strCode,
int idAccessControl,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Checks if the pair user/code exists
|
void |
delete(String strUser,
int idAccessControl,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteByAccessControl(int idAccessControl,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(UserCodeControllerData userCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
UserCodeControllerData |
load(String strUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<UserCodeControllerData> |
loadAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<UserCodeControllerData> |
loadDateInvalid(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
public void insert(UserCodeControllerData userCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IUserCodeControllerDataDAOinsert in interface IUserCodeControllerDataDAOuserCode - instance of the ControllerUserCodeData object to insertplugin - the Pluginpublic void delete(String strUser, int idAccessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IUserCodeControllerDataDAOdelete in interface IUserCodeControllerDataDAOplugin - the Pluginpublic void deleteByAccessControl(int idAccessControl,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IUserCodeControllerDataDAOdeleteByAccessControl in interface IUserCodeControllerDataDAOplugin - the Pluginpublic UserCodeControllerData load(String strUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IUserCodeControllerDataDAOload in interface IUserCodeControllerDataDAOstrUser - The identifier of the ControllerUserCodeDataplugin - the Pluginpublic List<UserCodeControllerData> loadAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
IUserCodeControllerDataDAOloadAll in interface IUserCodeControllerDataDAOplugin - the Pluginpublic boolean checkUserCode(String strUser, String strCode, int idAccessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IUserCodeControllerDataDAOcheckUserCode in interface IUserCodeControllerDataDAOpublic List<UserCodeControllerData> loadDateInvalid(fr.paris.lutece.portal.service.plugin.Plugin plugin)
IUserCodeControllerDataDAOloadDateInvalid in interface IUserCodeControllerDataDAOplugin - the PluginCopyright © 2022 City of Paris. All rights reserved.