public interface ProductOptionDao
List<ProductOption> readAllProductOptions()
ProductOption readProductOptionById(Long id)
ProductOption saveProductOption(ProductOption option)
ProductOptionValue readProductOptionValueById(Long id)
List<AssignedProductOptionDTO> findAssignedProductOptionsByProductId(Long productId)
AssignedProductOptionDTO
found for given the productId.productId - List<AssignedProductOptionDTO> findAssignedProductOptionsByProduct(Product product)
AssignedProductOptionDTO
found for given the Product.product - Long countAllowedValuesForProductOptionById(Long productOptionId)
List<Long> readSkuIdsForProductOptionValues(Long productId, String attributeName, String attributeValue, List<Long> possibleSkuIds)
List<Long> findProductIdsUsingProductOptionById(Long productOptionId, int start, int pageSize)
productOptionId - start - pageSize - String translateItemAttributeValue(OrderItemAttribute itemAttribute, ProductOption productOption)
itemAttribute - productOption - Copyright © 2023. All rights reserved.