org.zeroexchange.resource.category.read
Class DAOCategoryReader
java.lang.Object
org.zeroexchange.resource.category.read.DAOCategoryReader
- All Implemented Interfaces:
- CategoryReader
public class DAOCategoryReader
- extends Object
- implements CategoryReader
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DAOCategoryReader
public DAOCategoryReader()
getCategories
public DataSet<Category> getCategories(Category parent)
- Returns subcategories for the specified parent.
- Specified by:
getCategories
in interface CategoryReader
getCategories
public DataSet<Category> getCategories(String query)
- Returns categories according the query.
- Specified by:
getCategories
in interface CategoryReader
getProperties
public Collection<Property> getProperties(Category foreignCategory)
- Collects and returns category's properties and categories of all
parents...
- Specified by:
getProperties
in interface CategoryReader
Copyright © 2013. All Rights Reserved.