Rev 23781 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.repository.dtr;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.dao.entity.dtr.Api;import com.spice.profitmandi.dao.enumuration.dtr.Method;import org.springframework.stereotype.Repository;import java.util.List;import java.util.Set;@Repositorypublic interface ApiRepository {public void persist(Api api);public List<Api> selectAll(int offset, int limit);public Api selectById(int id) throws ProfitMandiBusinessException;public List<Api> selectByIds(Set<Integer> ids) throws ProfitMandiBusinessException;public List<Api> selectAll();public void deleteById(int id) throws ProfitMandiBusinessException;public boolean isExistByName(String name);public boolean isExistByUriAndMethod(String uri, Method method);}