Interface IUserCodeControllerDataDAO
-
- All Known Implementing Classes:
UserCodeControllerDataDAO
public interface IUserCodeControllerDataDAOIControllerUserCodeDataDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheckUserCode(java.lang.String strUser, java.lang.String strCode, int idAccessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)Checks if the pair user/code existsvoiddelete(java.lang.String strUser, int idAccessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete 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.UserCodeControllerDataload(java.lang.String strUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<UserCodeControllerData>loadAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<UserCodeControllerData>loadDateInvalid(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the table
-
-
-
Method Detail
-
insert
void insert(UserCodeControllerData userCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
userCode- instance of the ControllerUserCodeData object to insertplugin- the Plugin
-
delete
void delete(java.lang.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
UserCodeControllerData load(java.lang.String strUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
strUser- The identifier of the ControllerUserCodeDataplugin- the Plugin- Returns:
- The instance of the ControllerUserCodeData
-
loadAll
java.util.List<UserCodeControllerData> loadAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
plugin- the Plugin- Returns:
- A list of instance of the ControllerUserCodeData
-
loadDateInvalid
java.util.List<UserCodeControllerData> loadDateInvalid(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
plugin- the Plugin- Returns:
- A list of instance of the ControllerUserCodeData
-
checkUserCode
boolean checkUserCode(java.lang.String strUser, java.lang.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:
-
-