1 /*2 * JFox - The most lightweight Java EE Application Server!3 * more details please visit http://www.huihoo.org/jfox or http://www.jfox.org.cn.4 *5 * JFox is licenced and re-distributable under GNU LGPL.6 */7 package org.jfox.petstore.dao;8 9 import java.sql.SQLException ;10 import java.util.List ;11 12 import org.jfox.petstore.entity.Category;13 14 /**15 * @author <a HREF="mailto:jfox.young@gmail.com">Young Yang</a>16 */17 public interface CategoryDAO {18 19 List <Category> getCategoryList() throws SQLException ;20 21 Category getCategory(String categoryId) throws SQLException ;22 23 }24