Interface IUserCodeControllerDataDAO
- All Known Implementing Classes:
UserCodeControllerDataDAO
public interface IUserCodeControllerDataDAO
IControllerUserCodeDataDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionbooleancheckUserCode(String strUser, String strCode, int idAccessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin) Checks if the pair user/code existsvoidDelete a record from the tablevoiddeleteByAccessControl(int idAccessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidinsert(UserCodeControllerData userCode, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.Load the data from the tableloadAll(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableloadDateInvalid(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
userCode- instance of the ControllerUserCodeData object to insertplugin- the Plugin
-
delete
void delete(String strUser, int idAccessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
strUser-idAccessControl-plugin- the Plugin
-
deleteByAccessControl
void deleteByAccessControl(int idAccessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
idAccessControl-plugin- the Plugin
-
load
Load the data from the table- Parameters:
strUser- The identifier of the ControllerUserCodeDataplugin- the Plugin- Returns:
- The instance of the ControllerUserCodeData
-
loadAll
Load the data from the table- Parameters:
plugin- the Plugin- Returns:
- A list of instance of the ControllerUserCodeData
-
loadDateInvalid
Load the data from the table- Parameters:
plugin- the Plugin- Returns:
- A list of instance of the ControllerUserCodeData
-
checkUserCode
boolean checkUserCode(String strUser, String strCode, int idAccessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin) Checks if the pair user/code exists- Parameters:
strUser-strCode-idAccessControl-plugin-- Returns:
-