mbmanager.java
来自「Struts数据库开发中的一个案例」· Java 代码 · 共 41 行
JAVA
41 行
package com.relationinfo.service;import java.util.List;import com.relationinfo.model.Mb;import com.relationinfo.dao.MbDAO;public interface MbManager extends Manager { /** * Setter for DAO, convenient for unit testing */ public void setMbDAO(MbDAO mbDAO); /** * Retrieves all of the mbs */ public List getMbs(Mb mb); /** * Gets mb's information based on mbbm. * @param mbbm the mb's mbbm * @return mb populated mb object */ public Mb getMb(final String mbbm); /** * Saves a mb's information * @param mb the object to be saved */ public void saveMb(Mb mb); /** * Removes a mb from the database by mbbm * @param mbbm the mb's mbbm */ public void removeMb(final String mbbm);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?