Interface ProductOptionDao
- All Known Implementing Classes:
ProductOptionDaoImpl
public interface ProductOptionDao
- Author:
- Phillip Verheyden
-
Method Summary
Modifier and TypeMethodDescriptioncountAllowedValuesForProductOptionById(Long productOptionId) countProductsUsingProductOptionById(Long productOptionId) Returns a list ofAssignedProductOptionDTOfound for given theProduct.findAssignedProductOptionsByProductId(Long productId) Returns a list ofAssignedProductOptionDTOfound for given the productId.findProductIdsUsingProductOptionById(Long productOptionId, int start, int pageSize) Returns a paginated list of Product Ids that are using the passed in ProductOption IDreadSkuIdsForProductOptionValues(Long productId, String attributeName, String attributeValue, List<Long> possibleSkuIds) saveProductOption(ProductOption option) translateItemAttributeValue(OrderItemAttribute itemAttribute, ProductOption productOption) Returns a translated String attribute value for OrderItemAttribute
-
Method Details
-
readAllProductOptions
List<ProductOption> readAllProductOptions() -
readProductOptionById
-
saveProductOption
-
readProductOptionValueById
-
findAssignedProductOptionsByProductId
Returns a list ofAssignedProductOptionDTOfound for given the productId.- Parameters:
productId-- Returns:
-
findAssignedProductOptionsByProduct
Returns a list ofAssignedProductOptionDTOfound for given theProduct.- Parameters:
product-- Returns:
-
countAllowedValuesForProductOptionById
-
readSkuIdsForProductOptionValues
-
countProductsUsingProductOptionById
-
findProductIdsUsingProductOptionById
Returns a paginated list of Product Ids that are using the passed in ProductOption ID- Parameters:
productOptionId-start-pageSize-- Returns:
-
translateItemAttributeValue
Returns a translated String attribute value for OrderItemAttribute- Parameters:
itemAttribute-productOption-- Returns:
-