Interface IModeDAO

  • All Known Implementing Classes:
    ModeDAO

    public interface IModeDAO
    Author:
    LEVY
    • Method Detail

      • delete

        void delete​(int nModeId)
        Delete a record from the table
        Parameters:
        nModeId - The indentifier of the object Mode
      • getModesList

        ReferenceList getModesList()
        Returns the list of the modes in form of a reference list
        Returns:
        the modes list in form of a ReferenceList object
      • insert

        void insert​(Mode mode)
        Insert a new record in the table.
        Parameters:
        mode - The mode object
      • load

        Mode load​(int nIdMode)
        load the data of Level from the table
        Parameters:
        nIdMode - The indentifier of the object Mode
        Returns:
        The Instance of the object Mode
      • selectModesList

        java.util.Collection<Mode> selectModesList()
        Returns a list of all the modes
        Returns:
        A collection of modes objects
      • store

        void store​(Mode mode)
        Update the record in the table
        Parameters:
        mode - The instance of the Mode to update