Rev 299 | Rev 303 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 299 | Rev 302 | ||
|---|---|---|---|
| Line 4... | Line 4... | ||
| 4 | 4 | ||
| 5 | import org.primefaces.event.FlowEvent; |
5 | import org.primefaces.event.FlowEvent; |
| 6 | 6 | ||
| 7 | import br.com.ec.core.generic.GenericService; |
7 | import br.com.ec.core.generic.GenericService; |
| 8 | import br.com.ec.domain.dto.PessoaDTO; |
8 | import br.com.ec.domain.dto.PessoaDTO; |
| - | 9 | import br.com.ec.domain.model.Endereco; |
|
| 9 | import br.com.ec.domain.model.Pessoa; |
10 | import br.com.ec.domain.model.Pessoa; |
| 10 | 11 | ||
| 11 | public interface PessoaService extends GenericService<Pessoa> { |
12 | public interface PessoaService extends GenericService<Pessoa> { |
| 12 | 13 | ||
| 13 | List<PessoaDTO> consultarPessoasJuridicas(String cnpj); |
14 | List<PessoaDTO> consultarPessoasJuridicas(String cnpj); |
| 14 | 15 | ||
| 15 | Pessoa consultarPessoaPorCpfOuCpnj(String cpfCnpj); |
16 | Pessoa consultarPessoaPorCpfOuCpnj(String cpfCnpj); |
| 16 | 17 | ||
| 17 | Pessoa cadastroExterno(FlowEvent evento, Pessoa pessoa); |
- | |
| - | 18 | Pessoa cadastroExterno(FlowEvent evento, Pessoa pessoa, Endereco endereco); |
|
| 18 | 19 | ||
| 19 | Pessoa detalharPessoa(Long sequencialPessoa); |
20 | Pessoa detalharPessoa(Long sequencialPessoa); |
| 20 | 21 | ||
| 21 | /*
|
22 | /*
|
| 22 | List<Pessoa> consultarPessoasJuridicas();
|
23 | List<Pessoa> consultarPessoasJuridicas();
|