📄 customertypedao.java
字号:
package com.relationinfo.customertrace.dao;
import com.relationinfo.customertrace.dto.CustomerType;
import com.relationinfo.customertrace.dto.CustomerTypePk;
import com.relationinfo.customertrace.exceptions.CustomerTypeDaoException;
public interface CustomerTypeDao
{
/**
* 增加新记录到 customerType table.
*/
public CustomerTypePk insert(CustomerType dto) throws CustomerTypeDaoException;
/**
* 更新单笔记录 customerType table.
*/
public void update(CustomerTypePk pk, CustomerType dto) throws CustomerTypeDaoException;
/**
* Deletes a single row in the customerType table.
*/
public void delete(CustomerTypePk pk) throws CustomerTypeDaoException;
/**
* Returns the rows from the customerType table that matches the specified primary-key value.
*/
public CustomerType findByPrimaryKey(CustomerTypePk pk) throws CustomerTypeDaoException;
/**
* Returns all rows from the customerType table that match the criteria 'customertypecode = :customertypecode'.
*/
public CustomerType findByPrimaryKey(String customertypecode) throws CustomerTypeDaoException;
/**
* Returns all rows from the customerType table that match the criteria ''.
*/
public CustomerType[] findAll() throws CustomerTypeDaoException;
/**
* Returns all rows from the customerType table that match the criteria 'customertypecode = :customertypecode'.
*/
public CustomerType[] findWhereCustomertypecodeEquals(String customertypecode) throws CustomerTypeDaoException;
/**
* Returns all rows from the customerType table that match the criteria 'customertypename = :customertypename'.
*/
public CustomerType[] findWhereCustomertypenameEquals(String customertypename) throws CustomerTypeDaoException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -