📄 hrefdao.java
字号:
/*
* This source file was generated by FireStorm/DAO 3.0 (build 99)
* on 26-十月-2005 at 09:50:56
*
* If you purchase a full license for FireStorm/DAO you can customize this file header.
*
* For more information please visit http://www.codefutures.com/products/firestorm
*/
package cn.wanfeng.myblog.dao;
import cn.wanfeng.myblog.dto.*;
import cn.wanfeng.myblog.exceptions.*;
import java.sql.CallableStatement;
public interface HrefDao
{
/**
* Inserts a new row in the Href table.
*/
public HrefPk insert(Href dto) throws HrefDaoException;
/**
* Updates a single row in the Href table.
*/
public void update(HrefPk pk, Href dto) throws HrefDaoException;
/**
* Deletes a single row in the Href table.
*/
public void delete(HrefPk pk) throws HrefDaoException;
/**
* Returns the rows from the Href table that matches the specified primary-key value.
*/
public Href findByPrimaryKey(HrefPk pk) throws HrefDaoException;
/**
* Returns all rows from the Href table that match the criteria ''.
*/
public Href[] findAll() throws HrefDaoException;
/**
* Returns all rows from the Href table that match the criteria 'HrefID = :hrefID'.
*/
public Href findByPrimaryKey(int hrefID) throws HrefDaoException;
/**
* Returns all rows from the Href table that match the criteria 'CategoryID = :categoryID'.
*/
public Href[] findByCategory(int categoryID) throws HrefDaoException;
/**
* Returns all rows from the Href table that match the criteria 'HrefID = :hrefID'.
*/
public Href[] findWhereHrefIDEquals(int hrefID) throws HrefDaoException;
/**
* Returns all rows from the Href table that match the criteria 'CategoryID = :categoryID'.
*/
public Href[] findWhereCategoryIDEquals(int categoryID) throws HrefDaoException;
/**
* Returns all rows from the Href table that match the criteria 'Name = :name'.
*/
public Href[] findWhereNameEquals(String name) throws HrefDaoException;
/**
* Returns all rows from the Href table that match the criteria 'Url = :url'.
*/
public Href[] findWhereUrlEquals(String url) throws HrefDaoException;
/**
* Sets the value of maxRows
*/
public void setMaxRows(int maxRows);
/**
* Gets the value of maxRows
*/
public int getMaxRows();
/**
* Returns all rows from the Href table that match the specified arbitrary SQL statement
*/
public Href[] findByDynamicSelect(String sql, Object[] sqlParams) throws HrefDaoException;
/**
* Returns all rows from the Href table that match the specified arbitrary SQL statement
*/
public Href[] findByDynamicWhere(String sql, Object[] sqlParams) throws HrefDaoException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -