⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 manager.java

📁 Strut数据库开发中的JSF项目
💻 JAVA
字号:
package com.relationinfo.service;import java.io.Serializable;import java.util.List;import com.relationinfo.dao.DAO;public interface Manager {        /**     * Expose the setDAO method for testing purposes     * @param dao     */    public void setDAO(DAO dao);        /**     * Generic method used to get a all objects of a particular type.      * @param clazz the type of objects      * @return List of populated objects     */    public List getObjects(Class clazz);        /**     * Generic method to get an object based on class and identifier.      *      * @param clazz model class to lookup     * @param id the identifier (primary key) of the class     * @return a populated object      * @see org.springframework.orm.ObjectRetrievalFailureException     */    public Object getObject(Class clazz, Serializable id);    /**     * Generic method to save an object.     * @param o the object to save     */    public void saveObject(Object o);    /**     * Generic method to delete an object based on class and id     * @param clazz model class to lookup     * @param id the identifier of the class     */    public void removeObject(Class clazz, Serializable id);}

⌨️ 快捷键说明

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