P
- as Product
typepublic class ProductDaoImpl<P extends Product> extends ProductDaoImpl<P> implements ProductDao<P>
ProductDao
FILTER_PARENTS, FILTER_PARENTS_IMMEDIATE, relEntitiesDelTransformer
em
ct, t
FILTER_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, save
convert, delete, delete, deleteSubHierarchy, deleteSubHierarchy, filterParents, getLastChildHierarchyCode, getParents, getPersistTransformer, getRelEntitiesDelTransformer, makeSpaceForNodeInParent, move, setPersistTransformer, setRelEntitiesDelTransformer, shiftHierarchy, verifyHierarchy
conditionConstruct, ensureRowIsEntity, ensureRowIsEntity, getQueryObject, query, query, queryPage, queryPage
getEntityManager, paginate, setEntityManager, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convert, countFilterParents, delete, deleteSubHierarchy, filterParents, getAliasForProduct, getLastChildHierarchyCode, getParents, isExistsAsParent, loadPage, makeSpaceForNodeInParent, move, save, save
count, query, query, queryPage, queryPage
delete, delete, load, load
public P getEntityInstance()
QueryableDao
getEntityInstance
in interface QueryableDao<P extends Product>
getEntityInstance
in class AbstractQueryableDaoImpl<P extends Product>
public Page<P> getNew(List<P> categories)
ProductDao
public Page<P> getSale(List<P> categories)
ProductDao
public 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.