54555657585960616263
this.site = site; } public Noticia getNoticia() { if(noticia == null){ noticia = new Noticia(); noticia.setSite(site); } return noticia; }
107108109110111112113114
messageContext.add("Erro ao remover Noticia: " + e.getMessage(), SeverityType.ERROR); } } public void novaNoticia(){ this.noticia = new Noticia(); noticia.setSite(getSite()); }
145146147148149150151152
this.novaPagina = novaPagina; } public Noticia getNovaNoticia() { if(this.novaNoticia == null) this.novaNoticia = new Noticia(); return this.novaNoticia; }