package com.cubetiqs.demo.service; import com.cubetiqs.demo.repository.BaseRepository; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.repository.NoRepositoryBean; import java.io.Serializable; import java.util.List; @NoRepositoryBean public interface BaseService { BaseRepository getRepository(); Page findAll(Pageable pageable, String q); Page findAll(Pageable pageable); List findAll(); }