📄 contenttypedao.java
字号:
package com.myContent.dao;
import java.sql.SQLException;
import java.util.List;
import com.myContent.vo.ContentType;
public interface ContentTypeDAO {
/**
* 根据Object实现新增
* @param ContentType
* @throws SQLException
*/
public abstract int createContentType(ContentType contentType) throws SQLException;
/**
* 根据Object实现修改
* @param ContentType
* @throws SQLException
*/
public abstract int updateContentType(ContentType contentType) throws SQLException;
/**
* 根据Object实现删除
* @param ContentType
* @throws SQLException
*/
public abstract int deleteContentType(ContentType contentType) throws SQLException;
/**
* 根据contentTypeId查询Object
* @param contentTypeId
* @return
* @throws SQLException
*/
public abstract ContentType queryContentType(String contentTypeId) throws SQLException;
/**
* 根据Object实现批量新增
* @param List
* @throws SQLException
*/
public abstract int createListContentType(List list) throws SQLException;
/**
* 根据Object实现批量新增
* @param List
* @throws SQLException
*/
public abstract int[] createBatchListContentType(List list) throws SQLException;
/**
* 获取所有的内容类别
* @throws SQLException
*/
public abstract List queryAllContentType() throws Exception;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -