Class SkuMediaDaoImpl
java.lang.Object
org.broadleafcommerce.core.catalog.dao.SkuMediaDaoImpl
- All Implemented Interfaces:
SkuMediaDao
- Author:
- Chris Kittrell (ckittrell)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadSkuMediaBySkuId(Long skuId) Retrieve a list ofSkuMediaXrefinstances by its sku idsave(SkuMediaXref skuMediaXref) Persist aSkuMediaXrefinstance to the datastore
-
Field Details
-
em
protected jakarta.persistence.EntityManager em
-
-
Constructor Details
-
SkuMediaDaoImpl
public SkuMediaDaoImpl()
-
-
Method Details
-
save
Description copied from interface:SkuMediaDaoPersist aSkuMediaXrefinstance to the datastore- Specified by:
savein interfaceSkuMediaDao- Parameters:
skuMediaXref- the skuMediaXref to persist- Returns:
- the saved state of the passed in skuMediaXref
-
readSkuMediaBySkuId
Description copied from interface:SkuMediaDaoRetrieve a list ofSkuMediaXrefinstances by its sku id- Specified by:
readSkuMediaBySkuIdin interfaceSkuMediaDao- Parameters:
skuId- the sku id of the skuMediaXref- Returns:
- the skuMediaXrefs with this sku id
-