01: package com.odal.petstore.persistence.iface;
02:
03: import com.odal.petstore.domain.Category;
04: import com.odal.petstore.OdalPetstoreException;
05:
06: import java.util.List;
07:
08: /**
09: * @author Gennady Krizhevsky
10: */
11: public interface CategoryDao {
12: List getCategoryList() throws OdalPetstoreException;
13:
14: Category getCategory(String categoryId)
15: throws OdalPetstoreException;
16: }
|