Rev 529 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 529 | Rev 641 | ||
|---|---|---|---|
| Line 130... | Line 130... | ||
| 130 | }
|
130 | }
|
| 131 | 131 | ||
| 132 | @Transient |
132 | @Transient |
| 133 | public String imagemEscala() { |
133 | public String imagemEscala() { |
| 134 | return retornarImagemPngOuJpg("escala_"); |
134 | return retornarImagemPngOuJpg("escala_"); |
| - | 135 | }
|
|
| - | 136 | ||
| - | 137 | @Transient |
|
| - | 138 | public String imagemDestaques() { |
|
| - | 139 | return retornarImagemPngOuJpg("destaques_"); |
|
| 135 | }
|
140 | }
|
| 136 | 141 | ||
| 137 | private String retornarImagemPngOuJpg(String pasta) { |
142 | private String retornarImagemPngOuJpg(String pasta) { |
| 138 | File foto = new File(caminhoPastaImagens() + pasta + getSequencial() + ".jpg"); |
143 | File foto = new File(caminhoPastaImagens() + pasta + getSequencial() + ".jpg"); |
| 139 | if (foto.exists()) { |
144 | if (foto.exists()) { |