public interface ProductOptionDao
| Modifier and Type | Method and Description |
|---|---|
Long |
countAllowedValuesForProductOptionById(Long productOptionId) |
Long |
countProductsUsingProductOptionById(Long productOptionId) |
List<AssignedProductOptionDTO> |
findAssignedProductOptionsByProduct(Product product)
Returns a list of
AssignedProductOptionDTO
found for given the Product. |
List<AssignedProductOptionDTO> |
findAssignedProductOptionsByProductId(Long productId)
Returns a list of
AssignedProductOptionDTO
found for given the productId. |
List<Long> |
findProductIdsUsingProductOptionById(Long productOptionId,
int start,
int pageSize)
Returns a paginated list of Product Ids that are using the passed in ProductOption ID
|
List<ProductOption> |
readAllProductOptions() |
ProductOption |
readProductOptionById(Long id) |
ProductOptionValue |
readProductOptionValueById(Long id) |
ProductOption |
saveProductOption(ProductOption option) |
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)
Copyright © 2017. All rights reserved.