📄 dataaccess.java
字号:
package com.jacksonreed;/** * This interface is implemented by all data access objects (DAO) * in support of the basic CRUD services of the system. In Remulak, * the primary key will always be a single integer field (surrogate keys) * and findByName is a single string. * * @author Paul Reed, Jackson-Reed, Inc. <prreed@jacksonreed.com> * @version 1.0 */public interface DataAccess { public void insertObject(Object model) throws DAOAppException, DAODBUpdateException, DAOSysException; public void updateObject(Object model) throws DAOAppException, DAODBUpdateException, DAOSysException; public void deleteObject(Integer id) throws DAOSysException, DAODBUpdateException; public Object findByPrimaryKey(Integer id) throws DAOSysException, DAOFinderException; public Object findByName(String name) throws DAOSysException, DAOFinderException;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -