?? htdao.java
字號:
/*
* Author :Cao guangxin
* on 26-三月-2005 at 09:54:55
*
* Mail:relationinfo@hotmail.com
*
* visit:www.relaioninfo.com or www.helpsoft.org
*/
package org.helpsoft.contract.dao;
import java.util.Date;
import org.helpsoft.contract.dto.*;
import org.helpsoft.contract.exceptions.*;
public interface HtDao
{
/**
* Inserts a new row in the ht table.
*/
public HtPk insert(Ht dto) throws HtDaoException;
/**
* Updates a single row in the ht table.
*/
public void update(HtPk pk, Ht dto) throws HtDaoException;
/**
* Deletes a single row in the ht table.
*/
public void delete(HtPk pk) throws HtDaoException;
/**
* Returns the rows from the ht table that matches the specified primary-key value.
*/
public Ht findByPrimaryKey(HtPk pk) throws HtDaoException;
/**
* Returns all rows from the ht table that match the criteria ''.
*/
public Ht[] findAll() throws HtDaoException;
/**
* Returns all rows from the ht table that match the criteria 'htbm = :htbm'.
*/
public Ht findByPrimaryKey(String htbm) throws HtDaoException;
/**
* Returns all rows from the ht table that match the criteria 'htbm = :htbm'.
*/
public Ht[] findWhereHtbmEquals(String htbm) throws HtDaoException;
/**
* Returns all rows from the ht table that match the criteria 'jfdlrbm = :jfdlrbm'.
*/
public Ht[] findWhereJfdlrbmEquals(String jfdlrbm) throws HtDaoException;
/**
* Returns all rows from the ht table that match the criteria 'jfbm = :jfbm'.
*/
public Ht[] findWhereJfbmEquals(String jfbm) throws HtDaoException;
/**
* Returns all rows from the ht table that match the criteria 'qsdd = :qsdd'.
*/
public Ht[] findWhereQsddEquals(String qsdd) throws HtDaoException;
/**
* Returns all rows from the ht table that match the criteria 'yf = :yf'.
*/
public Ht[] findWhereYfEquals(String yf) throws HtDaoException;
/**
* Returns all rows from the ht table that match the criteria 'yfdlr = :yfdlr'.
*/
public Ht[] findWhereYfdlrEquals(String yfdlr) throws HtDaoException;
/**
* Returns all rows from the ht table that match the criteria 'jfqzrq = :jfqzrq'.
*/
public Ht[] findWhereJfqzrqEquals(Date jfqzrq) throws HtDaoException;
/**
* Returns all rows from the ht table that match the criteria 'yfqzrq = :yfqzrq'.
*/
public Ht[] findWhereYfqzrqEquals(Date yfqzrq) throws HtDaoException;
/**
* Returns all rows from the ht table that match the criteria 'xmmc = :xmmc'.
*/
public Ht[] findWhereXmmcEquals(String xmmc) throws HtDaoException;
/**
* Returns all rows from the ht table that match the criteria 'htnr = :htnr'.
*/
public Ht[] findWhereHtnrEquals(String htnr) throws HtDaoException;
/**
* Sets the value of maxRows
*/
public void setMaxRows(int maxRows);
/**
* Gets the value of maxRows
*/
public int getMaxRows();
/**
* Returns all rows from the ht table that match the specified arbitrary SQL statement
*/
public Ht[] findByDynamicSelect(String sql, Object[] sqlParams) throws HtDaoException;
/**
* Returns all rows from the ht table that match the specified arbitrary SQL statement
*/
public Ht[] findByDynamicWhere(String sql, Object[] sqlParams) throws HtDaoException;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -