xxdao.java

来自「Struts数据库开发中的一个案例」· Java 代码 · 共 38 行

JAVA
38
字号
package com.relationinfo.dao;import java.util.List;import com.relationinfo.model.Xx;public interface XxDAO extends DAO {    /**     * Retrieves all of the xxs     */    public List getXxs(Xx xx);    /**     * Gets xx's information based on primary key. An     * ObjectRetrievalFailureException Runtime Exception is thrown if      * nothing is found.     *      * @param xxbm the xx's xxbm     * @return xx populated xx object     */    public Xx getXx(final String xxbm);    /**     * Saves a xx's information     * @param xx the object to be saved     */	    public void saveXx(Xx xx);	/**     * Removes a xx from the database by xxbm     * @param xxbm the xx's xxbm     */    public void removeXx(final String xxbm);}

⌨️ 快捷键说明

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