?? userdao.java
字號:
package org.itfuture.www.dao;
import org.itfuture.www.po.Account;
import org.itfuture.www.po.Orders;
import org.itfuture.www.po.Profile;
import org.itfuture.www.po.Signon;
//這是關于用戶所有信息的一個接口,只作方法聲明,而不實現,等到下面實現類去實現
public interface UserDao {
// 用于校驗用戶名,密碼
Signon checkOut(String name, String password);
// 注冊新用戶
boolean regist(Signon signon, Account account, Profile profile);
// 生成訂單信息數據,存入數據庫
boolean addOrder(Orders order, Signon signon);
// 得到一個序列號,當作商品編號
String getValue();
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -