Rev 226 | Rev 228 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 226 | Rev 227 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | package br.com.ec.repository; |
1 | package br.com.ec.repository; |
| - | 2 | ||
| - | 3 | import java.util.List; |
|
| 2 | 4 | ||
| 3 | import br.com.ec.core.generic.GenericRepository; |
5 | import br.com.ec.core.generic.GenericRepository; |
| 4 | import br.com.ec.domain.dto.UsuarioDTO; |
6 | import br.com.ec.domain.dto.UsuarioDTO; |
| - | 7 | import br.com.ec.domain.dto.UsuarioLojaDTO; |
|
| - | 8 | import br.com.ec.domain.dto.UsuarioPerfilDTO; |
|
| 5 | import br.com.ec.domain.modal.Usuario; |
9 | import br.com.ec.domain.modal.Usuario; |
| 6 | 10 | ||
| 7 | public interface UsuarioRepository extends GenericRepository<Usuario> { |
11 | public interface UsuarioRepository extends GenericRepository<Usuario> { |
| 8 | 12 | ||
| 9 | UsuarioDTO consultarPorLogin(String login, String senha); |
13 | UsuarioDTO consultarPorLogin(String login, String senha); |
| - | 14 | ||
| - | 15 | List<UsuarioPerfilDTO> consultarPerfisDoUsuario(Long sequencialUsuario); |
|
| - | 16 | ||
| - | 17 | List<UsuarioLojaDTO> consultarLojasDoUsuario(Long sequencialUsuario); |
|
| 10 | 18 | ||
| 11 | Integer obterQuantidadeUsuarioDiferenteComSenhaInformada(String login, String senha); |
19 | Integer obterQuantidadeUsuarioDiferenteComSenhaInformada(String login, String senha); |
| 12 | 20 | ||
| 13 | Integer obterQuantidadeUsuarioComLoginCpfInformados(String login, String cpfCnpj); |
21 | Integer obterQuantidadeUsuarioComLoginCpfInformados(String login, String cpfCnpj); |
| 14 | 22 | ||
| 15 | void alterarSenha(String login, String senha); |
23 | void alterarSenha(String login, String senha); |
| 16 | 24 | ||
| 17 | String consultarEmailPorLogin(String login); |
25 | String consultarEmailPorLogin(String login); |
| - | 26 | ||
| 18 | 27 | ||
| 19 | 28 | ||
| 20 | // void alterarSenha(Usuario usuario);
|
29 | // void alterarSenha(Usuario usuario);
|
| 21 | 30 | ||
| 22 | /*
|
31 | /*
|