logtypedao.java

来自「STRUTS数据库项目开发宝典」· Java 代码 · 共 58 行

JAVA
58
字号
/*
 * 
 * on 06-十月-2005 at 04:15:42
 * 
 * Mail:relationinfo@hotmail.com
 * 
 * visit:www.relaioninfo.com or www.helpsoft.org
 */

package org.helpsoft.helplog.dao;

import org.helpsoft.helplog.dto.*;
import org.helpsoft.helplog.exceptions.*;

public interface LogtypeDao
{
	/** 
	 * Inserts a new row in the Logtype table.
	 */
	public LogtypePk insert(Logtype dto) throws LogtypeDaoException;

	/** 
	 * Updates a single row in the Logtype table.
	 */
	public void update(LogtypePk pk, Logtype dto) throws LogtypeDaoException;

	/** 
	 * Deletes a single row in the Logtype table.
	 */
	public void delete(LogtypePk pk) throws LogtypeDaoException;

	/** 
	 * Returns the rows from the Logtype table that matches the specified primary-key value.
	 */
	public Logtype findByPrimaryKey(LogtypePk pk) throws LogtypeDaoException;

	/** 
	 * Returns all rows from the Logtype table that match the criteria ''.
	 */
	public Logtype[] findAll() throws LogtypeDaoException;

	/** 
	 * Returns all rows from the Logtype table that match the criteria 'logtypecode = :logtypecode'.
	 */
	public Logtype findByPrimaryKey(String logtypecode) throws LogtypeDaoException;

	/** 
	 * Returns all rows from the Logtype table that match the criteria 'logtypecode = :logtypecode'.
	 */
	public Logtype[] findWhereLogtypecodeEquals(String logtypecode) throws LogtypeDaoException;

	/** 
	 * Returns all rows from the Logtype table that match the criteria 'typename = :typename'.
	 */
	public Logtype[] findWhereTypenameEquals(String typename) throws LogtypeDaoException;

}

⌨️ 快捷键说明

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