Rev 21723 | Rev 23781 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.repository.dtr;import java.util.List;import org.springframework.stereotype.Repository;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.dao.entity.dtr.Api;import com.spice.profitmandi.dao.enumuration.dtr.Method;@Repositorypublic interface ApiRepository {public void persist(Api api);public List<Api> selectAll(int pageNumber, int pageSize);public Api selectById(int id) throws ProfitMandiBusinessException;public Api selectByName(String name) throws ProfitMandiBusinessException;public Api selectByUriAndMethod(String uri, Method method) throws ProfitMandiBusinessException;public List<Api> selectByUri(String uri);public void deleteById(int id) throws ProfitMandiBusinessException;}