this.getContentActionHelper().scanEntity(contentToPublish, this);
if (this.getFieldErrors().size()>0) {
this.addActionError(this.getText("error.content.publishingContentWithErrors", msgArg));
continue;
}
contentManager.insertOnLineContent(contentToPublish);
ApsSystemUtils.getLogger().info("Content '" + contentToPublish.getId()
+ "' published by user '" + this.getCurrentUser().getUsername() + "'");
publishedContents.add(contentToPublish);
}
//RIVISITARE LOGICA DI COSTRUZIONE LABEL