class CatalogEntryServiceImpl extends SalesManagerEntityServiceImpl<Long, CatalogCategoryEntry> 
implements CatalogEntryService {
	
	@Autowired
	private PageableCatalogEntryRepository pageableCatalogEntryRepository;

	private CatalogEntryRepository catalogEntryRepository;
	
	@Inject
	public CatalogEntryServiceImpl(CatalogEntryRepository repository) {
		super(repository);
		this.catalogEntryRepository = repository;
	}

	@Override
	public void add(CatalogCategoryEntry entry, Catalog catalog) {
		entry.setCatalog(catalog);
		catalogEntryRepository.save(entry);
	}


	@Override
	public Page<CatalogCategoryEntry> list(Catalog catalog, MerchantStore store, Language language, String name, int page,
			int count) {<FILL_FUNCTION_BODY>}

	@Override
	public void remove(CatalogCategoryEntry catalogEntry) throws ServiceException {
		catalogEntryRepository.delete(catalogEntry);
		
	}


}

		Pageable pageRequest = PageRequest.of(page, count);
		return pageableCatalogEntryRepository.listByCatalog(catalog.getId(), store.getId(), language.getId(), name, pageRequest);

	
<methods>public void <init>(JpaRepository<com.salesmanager.core.model.catalog.catalog.CatalogCategoryEntry,java.lang.Long>) ,public java.lang.Long count() ,public void create(com.salesmanager.core.model.catalog.catalog.CatalogCategoryEntry) throws com.salesmanager.core.business.exception.ServiceException,public void delete(com.salesmanager.core.model.catalog.catalog.CatalogCategoryEntry) throws com.salesmanager.core.business.exception.ServiceException,public void flush() ,public com.salesmanager.core.model.catalog.catalog.CatalogCategoryEntry getById(java.lang.Long) ,public List<com.salesmanager.core.model.catalog.catalog.CatalogCategoryEntry> list() ,public void save(com.salesmanager.core.model.catalog.catalog.CatalogCategoryEntry) throws com.salesmanager.core.business.exception.ServiceException,public void saveAll(Iterable<com.salesmanager.core.model.catalog.catalog.CatalogCategoryEntry>) throws com.salesmanager.core.business.exception.ServiceException,public void update(com.salesmanager.core.model.catalog.catalog.CatalogCategoryEntry) throws com.salesmanager.core.business.exception.ServiceException<variables>private Class<com.salesmanager.core.model.catalog.catalog.CatalogCategoryEntry> objectClass,private JpaRepository<com.salesmanager.core.model.catalog.catalog.CatalogCategoryEntry,java.lang.Long> repository