Home | History | Annotate | Download | only in notepad2

Lines Matching full:rowid

113      * successfully created return the new rowId for that note, otherwise return
118 * @return rowId or -1 if failed
129 * Delete the note with the given rowId
131 * @param rowId id of note to delete
134 public boolean deleteNote(long rowId) {
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
151 * Return a Cursor positioned at the note that matches the given rowId
153 * @param rowId id of note to retrieve
157 public Cursor fetchNote(long rowId) throws SQLException {
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null,
173 * specified using the rowId, and it is altered to use the title and body
176 * @param rowId id of note to update
181 public boolean updateNote(long rowId, String title, String body) {
186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0;