itemdao.java
来自「Java/J2EE application framework based on」· Java 代码 · 共 20 行
JAVA
20 行
package org.springframework.samples.jpetstore.dao;
import java.util.List;
import org.springframework.dao.DataAccessException;
import org.springframework.samples.jpetstore.domain.Item;
import org.springframework.samples.jpetstore.domain.Order;
public interface ItemDao {
public void updateQuantity(Order order) throws DataAccessException;
boolean isItemInStock(String itemId) throws DataAccessException;
List getItemListByProduct(String productId) throws DataAccessException;
Item getItem(String itemId) throws DataAccessException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?