org.broadleafcommerce.catalog.dao
Class CategoryXrefDaoImpl

java.lang.Object
  extended by org.broadleafcommerce.catalog.dao.CategoryXrefDaoImpl
All Implemented Interfaces:
CategoryXrefDao

@Repository(value="blCategoryXrefDao")
public class CategoryXrefDaoImpl
extends java.lang.Object
implements CategoryXrefDao


Field Summary
protected  javax.persistence.EntityManager em
           
protected  EntityConfiguration entityConfiguration
           
protected  java.lang.String queryCacheableKey
           
 
Constructor Summary
CategoryXrefDaoImpl()
           
 
Method Summary
 void delete(CategoryXref categoryXref)
           
 java.lang.String getQueryCacheableKey()
           
 CategoryXref readXrefByIds(java.lang.Long categoryId, java.lang.Long subCategoryId)
           
 java.util.List<CategoryXref> readXrefsByCategoryId(java.lang.Long categoryId)
           
 java.util.List<CategoryXref> readXrefsBySubCategoryId(java.lang.Long subCategoryId)
           
 CategoryXref save(CategoryXref categoryXref)
           
 void setQueryCacheableKey(java.lang.String queryCacheableKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

em

protected javax.persistence.EntityManager em

entityConfiguration

protected EntityConfiguration entityConfiguration

queryCacheableKey

protected java.lang.String queryCacheableKey
Constructor Detail

CategoryXrefDaoImpl

public CategoryXrefDaoImpl()
Method Detail

readXrefsByCategoryId

public java.util.List<CategoryXref> readXrefsByCategoryId(java.lang.Long categoryId)
Specified by:
readXrefsByCategoryId in interface CategoryXrefDao

readXrefsBySubCategoryId

public java.util.List<CategoryXref> readXrefsBySubCategoryId(java.lang.Long subCategoryId)
Specified by:
readXrefsBySubCategoryId in interface CategoryXrefDao

readXrefByIds

public CategoryXref readXrefByIds(java.lang.Long categoryId,
                                  java.lang.Long subCategoryId)
Specified by:
readXrefByIds in interface CategoryXrefDao

save

public CategoryXref save(CategoryXref categoryXref)
Specified by:
save in interface CategoryXrefDao

delete

public void delete(CategoryXref categoryXref)
Specified by:
delete in interface CategoryXrefDao

getQueryCacheableKey

public java.lang.String getQueryCacheableKey()

setQueryCacheableKey

public void setQueryCacheableKey(java.lang.String queryCacheableKey)


Copyright © 2010. All Rights Reserved.