Rev 528 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 528 | Rev 530 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | package br.com.ec.domain.service; |
1 | package br.com.ec.domain.service; |
| 2 | 2 | ||
| 3 | import org.primefaces.event.FileUploadEvent; |
- | |
| 4 | import org.primefaces.model.file.UploadedFile; |
3 | import org.primefaces.model.file.UploadedFile; |
| 5 | 4 | ||
| 6 | import br.com.ec.core.generic.GenericService; |
5 | import br.com.ec.core.generic.GenericService; |
| 7 | import br.com.ec.domain.dto.ImagemDTO; |
6 | import br.com.ec.domain.dto.ImagemDTO; |
| 8 | 7 | ||
| 9 | public interface ImagemService extends GenericService<ImagemDTO> { |
8 | public interface ImagemService extends GenericService<ImagemDTO> { |
| 10 | 9 | ||
| 11 | ImagemDTO uploadImagem(FileUploadEvent arquivo); |
- | |
| 12 | - | ||
| - | 10 | ImagemDTO uploadImagem(UploadedFile arquivoUpload, String nomeArquivo, String caminhoPasta); |
|
| - | 11 | ||
| 13 | String caminhoPadraoFotos(); |
12 | String caminhoPadraoFotos(); |
| 14 | 13 | ||
| 15 | String caminhoPastaFotos(); |
14 | String caminhoPastaFotos(); |
| 16 | 15 | ||
| 17 | String caminhoPadraoImagens(); |
16 | String caminhoPadraoImagens(); |
| Line 19... | Line 18... | ||
| 19 | String caminhoPastaImagens(); |
18 | String caminhoPastaImagens(); |
| 20 | 19 | ||
| 21 | String caminhoPadraoEstampas(); |
20 | String caminhoPadraoEstampas(); |
| 22 | 21 | ||
| 23 | String caminhoPastaEstampas(); |
22 | String caminhoPastaEstampas(); |
| - | 23 | ||
| - | 24 | /*****************************************/
|
|
| - | 25 | ||
| - | 26 | String retornarCaminhoImagem(String pasta, String nomeArquivo, String extensaoArquivo); |
|
| - | 27 | ||
| - | 28 | /*****************************************/
|
|
| - | 29 | ||
| 24 | 30 | ||
| 25 | }
|
31 | }
|