notedao.java

来自「STRUTS数据库项目开发宝典」· Java 代码 · 共 38 行

JAVA
38 行
字号
package com.relationinfo.dao;import java.util.List;import com.relationinfo.model.Note;public interface NoteDAO extends DAO {    /**     * Retrieves all of the notes     */    public List getNotes(Note note);    /**     * Gets note's information based on primary key. An     * ObjectRetrievalFailureException Runtime Exception is thrown if      * nothing is found.     *      * @param notecode the note's notecode     * @return note populated note object     */    public Note getNote(final String notecode);    /**     * Saves a note's information     * @param note the object to be saved     */	    public void saveNote(Note note);	/**     * Removes a note from the database by notecode     * @param notecode the note's notecode     */    public void removeNote(final String notecode);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?