Rev 106 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 106 | Rev 195 | ||
|---|---|---|---|
| Line 12... | Line 12... | ||
| 12 | 12 | ||
| 13 | import org.primefaces.event.FileUploadEvent; |
13 | import org.primefaces.event.FileUploadEvent; |
| 14 | import org.primefaces.model.UploadedFile; |
14 | import org.primefaces.model.UploadedFile; |
| 15 | import org.springframework.context.annotation.Scope; |
15 | import org.springframework.context.annotation.Scope; |
| 16 | 16 | ||
| - | 17 | import br.com.ec.core.exception.NegocioException; |
|
| - | 18 | import br.com.ec.core.util.ArquivoUtil; |
|
| - | 19 | import br.com.ec.core.util.VerificadorUtil; |
|
| 17 | import br.com.ec.domain.dto.FotoDTO; |
20 | import br.com.ec.domain.dto.FotoDTO; |
| 18 | import br.com.ec.domain.model.Produto; |
21 | import br.com.ec.domain.model.Produto; |
| 19 | import br.com.ec.domain.shared.ConstantesSEC; |
22 | import br.com.ec.domain.shared.ConstantesSEC; |
| 20 | import br.edu.cesmac.core.exception.NegocioException; |
- | |
| 21 | import br.edu.cesmac.core.util.ArquivoUtil; |
- | |
| 22 | import br.edu.cesmac.core.util.VerificadorUtil; |
- | |
| 23 | import br.edu.cesmac.web.exception.VerificadorLancamentoException; |
- | |
| 24 | import br.edu.cesmac.web.exception.VerificadorLancamentoException.CommandBean; |
- | |
| 25 | import br.edu.cesmac.web.message.LancadorMensagem; |
- | |
| - | 23 | import br.com.ec.web.exception.VerificadorLancamentoException; |
|
| - | 24 | import br.com.ec.web.exception.VerificadorLancamentoException.CommandBean; |
|
| - | 25 | import br.com.ec.web.message.LancadorMensagem; |
|
| 26 | 26 | ||
| 27 | @Named |
27 | @Named |
| 28 | @Scope("view") |
28 | @Scope("view") |
| 29 | public class FotoBean { |
29 | public class FotoBean { |
| 30 | 30 | ||