org.zeroexchange.resource.category.read
Class DAOCategoryReader

java.lang.Object
  extended by org.zeroexchange.resource.category.read.DAOCategoryReader
All Implemented Interfaces:
CategoryReader

public class DAOCategoryReader
extends Object
implements CategoryReader

Author:
black

Constructor Summary
DAOCategoryReader()
           
 
Method Summary
 DataSet<Category> getCategories(Category parent)
          Returns subcategories for the specified parent.
 DataSet<Category> getCategories(String query)
          Returns categories according the query.
 Collection<Property> getProperties(Category foreignCategory)
          Collects and returns category's properties and categories of all parents...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DAOCategoryReader

public DAOCategoryReader()
Method Detail

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.