?? userservice.java
字號:
package org.itfuture.www.service;
import org.itfuture.www.dao.UserDao;
import org.itfuture.www.po.Account;
import org.itfuture.www.po.Lineitem;
import org.itfuture.www.po.Orders;
import org.itfuture.www.po.Orderstatus;
import org.itfuture.www.po.Profile;
import org.itfuture.www.po.Signon;
//這是一個服務接口,根據(jù)面向接口編程的風格,此接口沒有其它功能,
//只是用來封裝UserDao
public interface UserService {
//此類中所有方法全部來源于UserDao
UserDao getUserDao();
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 + -