Class DefaultProductDao

    • Constructor Detail

      • DefaultProductDao

        public DefaultProductDao()
        Deprecated.
    • Method Detail

      • findAllByCategory

        public SearchResult<ProductModel> findAllByCategory​(CategoryModel category,
                                                            int start,
                                                            int count)
        Deprecated.
        Specified by:
        findAllByCategory in interface ProductDao
        Parameters:
        category - the (root) category in which the search for the products starts
        start - the start number of the search range. Set this value to 0 for getting all products.
        count - the number of elements in the search range. Set this value to -1 for getting all products.
        Returns:
        a SearchResult with the found results. A SearchResult is used for the paging (start,count) of the elements.