Interface NoteDao


  • public interface NoteDao
    This classes uses SQLite commands to access, fetch and insert/delete Note data from database
    Since:
    2022-03-01
    • Method Detail

      • getAllNote

        java.util.List<Note> getAllNote()
        Query to return all notes
        Returns:
        List All Notes available in Note activity
      • updateNote

        void updateNote​(java.lang.String title,
                        java.lang.String description,
                        int id)
        Query to update current notes in phone
        Parameters:
        title - defines note title
        description - defines note description
        id - defines note id
      • insertNote

        void insertNote​(Note note)
        Insert note function
        Parameters:
        note - Note
      • delete

        void delete​(Note note)
        Delete note function
        Parameters:
        note - Note