?? cartservice.java
字號:
package com.service;
import com.ORM.*;
import java.util.*;
public interface CartService {
/** 選購商品 */
public boolean addCart(Member member,Merchandise mer,int number) throws Exception;
/** 查看購物車中的選購商品 */
public List browseCart(Member member) throws Exception;
/** 清空購物車 */
public boolean clearCart(Member member) throws Exception;
/** 調整選購商品的數量 */
public boolean modiCart(Integer id,int number) throws Exception;
/** 刪除已選購商品 */
public boolean delCart(Integer id) throws Exception;
/** 裝載指定會員的購物車 */
public Cart loadCart(Member member) throws Exception;
/** 更新購物車 */
public boolean updateCart(Cart cart) throws Exception;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -