📄 imagedao.java
字号:
/*
* Created on 2004-8-28
* Author: Xuefeng, Copyright (C) 2004, Xuefeng.
*/
package org.crystalblog.dao;
import java.util.List;
import org.crystalblog.domain.*;
import org.crystalblog.exception.*;
/**
* Inteface of all operations on image table.
*
* @author Xuefeng
*/
public interface ImageDao {
// for browse:
Image getImage(int imageId) throws QueryException;
List getImages(int categoryId, int num, int page) throws QueryException;
List getImages(int categoryId) throws QueryException;
int getImagesCount(int categoryId) throws QueryException;
// for management:
void createImage(Image image) throws CreateException;
void deleteImage(int imageId) throws DeleteException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -