org.zeroexchange.dao.resource
Class CategoryDAOImpl
java.lang.Object
org.zeroexchange.dao.HibernateSessionHolder
org.zeroexchange.dao.BaseHibernateDAO<Integer,T>
org.zeroexchange.dao.BaseIntegerPKDAO<Category>
org.zeroexchange.dao.resource.CategoryDAOImpl
- All Implemented Interfaces:
- DAO<Integer,Category>, IntegerPKDAO<Category>, CategoryDAO
public class CategoryDAOImpl
- extends BaseIntegerPKDAO<Category>
- implements CategoryDAO
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CategoryDAOImpl
public CategoryDAOImpl()
getEntityClass
protected Class<Category> getEntityClass()
-
- Specified by:
getEntityClass
in class BaseHibernateDAO<Integer,Category>
getChildCategories
public DataSet<Category> getChildCategories(Category parent)
- Returns subcategories for the specified parent.
- Specified by:
getChildCategories
in interface CategoryDAO
getCategoriesByTitle
public DataSet<Category> getCategoriesByTitle(String query)
- Returns categories by the title.
- Specified by:
getCategoriesByTitle
in interface CategoryDAO
Copyright © 2013. All Rights Reserved.