java . util . List < com . thanhnhan . model . SanPham > function ( int arg0 , int arg1 ) { return getPersistence ( ) . findAll ( arg0 , arg1 ) ; }
returns a range of all the san phams . useful when paginating results . returns a maximum of end - start instances . start and end are not primary keys , they are indexes in the result set . thus , 0 refers to the first result in the set . setting both start and end to com.liferay.portal.kernel.dao.orm.queryutil #all_pos will return the full result set . if orderbycomparator is specified , then the query will include the given order by logic . if orderbycomparator is absent and pagination is required start and end are not com.liferay.portal.kernel.dao.orm.queryutil #all_pos , then the query will include the default order by logic from com.thanhnhan.model.impl.sanphammodelimpl . if both orderbycomparator and pagination are absent , for performance reasons , the query will not have an order by clause and the returned result set will be sorted on by the primary key in an ascending order . concode_field_sep SanPhamPersistence _persistence concode_field_sep int countAll concode_elem_sep void cacheResult concode_elem_sep void cacheResult concode_elem_sep List<SanPham> findWithDynamicQuery concode_elem_sep List<SanPham> findWithDynamicQuery concode_elem_sep List<SanPham> findWithDynamicQuery concode_elem_sep SanPham update concode_elem_sep SanPham update concode_elem_sep void clearCache concode_elem_sep void clearCache concode_elem_sep long countWithDynamicQuery concode_elem_sep com.thanhnhan.model.SanPham remove concode_elem_sep com.thanhnhan.model.SanPham fetchByPrimaryKey concode_elem_sep void removeAll concode_elem_sep SanPhamPersistence getPersistence concode_elem_sep com.thanhnhan.model.SanPham create concode_elem_sep com.thanhnhan.model.SanPham findByPrimaryKey concode_elem_sep void setPersistence concode_elem_sep com.thanhnhan.model.SanPham updateImpl