📄 frienddao.java
字号:
package com.relationinfo.dao;import java.util.List;import com.relationinfo.model.Friend;public interface FriendDAO extends DAO { /** * Retrieves all of the friends */ public List getFriends(Friend friend); /** * Gets friend's information based on primary key. An * ObjectRetrievalFailureException Runtime Exception is thrown if * nothing is found. * * @param friendcode the friend's friendcode * @return friend populated friend object */ public Friend getFriend(final String friendcode); /** * Saves a friend's information * @param friend the object to be saved */ public void saveFriend(Friend friend); /** * Removes a friend from the database by friendcode * @param friendcode the friend's friendcode */ public void removeFriend(final String friendcode);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -