group1dao.java
来自「通过Tomcat实现服务器的功能然后进行实现 这是一个个人通讯管理系统」· Java 代码 · 共 72 行
JAVA
72 行
package com.relationinfo.txl.dao;
import com.relationinfo.txl.dto.*;
import com.relationinfo.txl.exceptions.*;
import java.sql.CallableStatement;
public interface Group1Dao
{
/**
* 增加新记录到.
*/
public Group1Pk insert(Group1 dto) throws Group1DaoException;
/**
* 更新单笔记录.
*/
public void update(Group1Pk pk, Group1 dto) throws Group1DaoException;
/**
* Deletes a single row in the.
*/
public void delete(Group1Pk pk) throws Group1DaoException;
/**
* Returns the rows from the that matches the specified primary-key value.
*/
public Group1 findByPrimaryKey(Group1Pk pk) throws Group1DaoException;
/**
* Returns all rows from the that match the criteria 'groupid = :groupid'.
*/
public Group1 findByPrimaryKey(String groupid) throws Group1DaoException;
/**
* Returns all rows from the that match the criteria ''.
*/
public Group1[] findAll() throws Group1DaoException;
/**
* Returns all rows from the that match the criteria 'groupid = :groupid'.
*/
public Group1[] findWhereGroupidEquals(String groupid) throws Group1DaoException;
/**
* Returns all rows from the that match the criteria 'groupname = :groupname'.
*/
public Group1[] findWhereGroupnameEquals(String groupname) throws Group1DaoException;
/**
* 设置 maxRows
*/
public void setMaxRows(int maxRows);
/**
* 获得 maxRows
*/
public int getMaxRows();
/**
* Returns all rows from the that match the specified arbitrary SQL statement
*/
public Group1[] findByDynamicSelect(String sql, Object[] sqlParams) throws Group1DaoException;
/**
* Returns all rows from the that match the specified arbitrary SQL statement
*/
public Group1[] findByDynamicWhere(String sql, Object[] sqlParams) throws Group1DaoException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?