📄 menudao.java
字号:
package com.relationinfo.dao;import java.util.List;import com.relationinfo.model.Menu;public interface MenuDAO extends DAO { /** * Retrieves all of the menus */ public List getMenus(Menu menu); /** * Gets menu's information based on primary key. An * ObjectRetrievalFailureException Runtime Exception is thrown if * nothing is found. * * @param menucode the menu's menucode * @return menu populated menu object */ public Menu getMenu(final String menucode); /** * Saves a menu's information * @param menu the object to be saved */ public void saveMenu(Menu menu); /** * Removes a menu from the database by menucode * @param menucode the menu's menucode */ public void removeMenu(final String menucode);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -