P - as Product typepublic class ProductDaoImpl<P extends Product> extends ProductDaoImpl<P> implements ProductDao<P>
ProductDaoFILTER_PARENTS, FILTER_PARENTS_IMMEDIATE, relEntitiesDelTransformeremct, tFILTER_PARENTS, FILTER_PARENTS_IMMEDIATE| Constructor and Description |
|---|
ProductDaoImpl() |
ProductDaoImpl(Class<P> ref) |
| Modifier and Type | Method and Description |
|---|---|
P |
getEntityInstance()
The entity instance maybe an extension of the Base ensure Queries work for extensions
derive the exact instance required for the Query.
|
protected static String |
getHierarchiesSQLString(List categories) |
Page<P> |
getInPriceRange(Double min,
Double max,
List<P> categories)
Get products in Price Rang,e across Categories if specified.
|
Page<P> |
getNew(List<P> categories)
Get New Products, across Categories if specified.
|
Page<P> |
getSale(List<P> categories)
Get Products on Sale across Categories if specified.
|
P |
save(P _product) |
count, countFilterParents, delete, delete, delete, deleteSubHierarchy, filterParents, getAliasForProduct, getLastChildHierarchyCode, getNativeEntityName, getParents, init, isExistsAsParent, load, load, loadPage, makeSpaceForNodeInParent, move, query, query, save, saveconvert, delete, delete, deleteSubHierarchy, deleteSubHierarchy, filterParents, getLastChildHierarchyCode, getParents, getPersistTransformer, getRelEntitiesDelTransformer, makeSpaceForNodeInParent, move, setPersistTransformer, setRelEntitiesDelTransformer, shiftHierarchy, verifyHierarchyconditionConstruct, ensureRowIsEntity, ensureRowIsEntity, getQueryObject, query, query, queryPage, queryPagegetEntityManager, paginate, setEntityManager, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvert, countFilterParents, delete, deleteSubHierarchy, filterParents, getAliasForProduct, getLastChildHierarchyCode, getParents, isExistsAsParent, loadPage, makeSpaceForNodeInParent, move, save, savecount, query, query, queryPage, queryPagedelete, delete, load, loadpublic P getEntityInstance()
QueryableDaogetEntityInstance in interface QueryableDao<P extends Product>getEntityInstance in class AbstractQueryableDaoImpl<P extends Product>public Page<P> getNew(List<P> categories)
ProductDaopublic Page<P> getSale(List<P> categories)
ProductDaopublic Page<P> getInPriceRange(Double min, Double max, List<P> categories)
ProductDao@Transactional(readOnly=false) public P save(P _product)
save in interface GenericDao<P extends Product>save in class ProductDaoImpl<P extends Product>Copyright © 2018. All rights reserved.