Rev 228 | Rev 242 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 228 | Rev 229 | ||
|---|---|---|---|
| Line 2... | Line 2... | ||
| 2 | 2 | ||
| 3 | import java.util.List; |
3 | import java.util.List; |
| 4 | 4 | ||
| 5 | import br.com.ec.core.generic.GenericRepository; |
5 | import br.com.ec.core.generic.GenericRepository; |
| 6 | import br.com.ec.domain.dto.UsuarioDTO; |
6 | import br.com.ec.domain.dto.UsuarioDTO; |
| 7 | import br.com.ec.domain.dto.UsuarioLojaDTO; |
- | |
| - | 7 | import br.com.ec.domain.dto.LojaDTO; |
|
| 8 | import br.com.ec.domain.dto.UsuarioPerfilDTO; |
8 | import br.com.ec.domain.dto.UsuarioPerfilDTO; |
| 9 | import br.com.ec.domain.modal.Usuario; |
9 | import br.com.ec.domain.modal.Usuario; |
| 10 | 10 | ||
| 11 | public interface UsuarioRepository extends GenericRepository<Usuario> { |
11 | public interface UsuarioRepository extends GenericRepository<Usuario> { |
| 12 | 12 | ||
| 13 | UsuarioDTO consultarPorLogin(String login, String senha); |
13 | UsuarioDTO consultarPorLogin(String login, String senha); |
| 14 | 14 | ||
| 15 | List<UsuarioPerfilDTO> consultarPerfisDoUsuario(Long sequencialUsuario); |
15 | List<UsuarioPerfilDTO> consultarPerfisDoUsuario(Long sequencialUsuario); |
| 16 | 16 | ||
| 17 | List<UsuarioLojaDTO> consultarLojasDoUsuario(Long sequencialUsuario); |
- | |
| 18 | - | ||
| 19 | List<UsuarioLojaDTO> consultarTodasLojasAtivas(Long sequencialUsuario); |
- | |
| - | 17 | List<LojaDTO> consultarLojasDoUsuario(Long sequencialUsuario); |
|
| 20 | 18 | ||
| 21 | Integer obterQuantidadeUsuarioDiferenteComSenhaInformada(String login, String senha); |
19 | Integer obterQuantidadeUsuarioDiferenteComSenhaInformada(String login, String senha); |
| 22 | 20 | ||
| 23 | Integer obterQuantidadeUsuarioComLoginCpfInformados(String login, String cpfCnpj); |
21 | Integer obterQuantidadeUsuarioComLoginCpfInformados(String login, String cpfCnpj); |
| 24 | 22 | ||