📄 linkdao.java
字号:
/*
* Created on 2004-8-28
* Author: Xuefeng, Copyright (C) 2004, Xuefeng.
*/
package org.crystalblog.dao;
import java.util.List;
import org.crystalblog.domain.Link;
import org.crystalblog.exception.*;
/**
* Inteface of all operations on link table.
*
* @author Xuefeng
*/
public interface LinkDao {
// for browse:
List getAllLinks(int accountId) throws QueryException;
Link getLink(int linkId) throws QueryException;
int getLinksCount(int categoryId) throws QueryException;
// for management:
void createLink(Link link) throws CreateException;
void updateLink(Link link) throws UpdateException;
void deleteLink(int linkId) throws DeleteException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -