Interface IUserCodeControllerDataDAO

All Known Implementing Classes:
UserCodeControllerDataDAO

public interface IUserCodeControllerDataDAO
IControllerUserCodeDataDAO Interface
  • Method Summary

    Modifier and Type
    Method
    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.
    load(String strUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
    loadAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
    loadDateInvalid(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
  • Method Details

    • 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 insert
      plugin - 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

      UserCodeControllerData load(String strUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Parameters:
      strUser - The identifier of the ControllerUserCodeData
      plugin - the Plugin
      Returns:
      The instance of the ControllerUserCodeData
    • loadAll

      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

      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(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: