/** * @see org.opencms.report.A_CmsReport#getWarnings() */ @Override public List getWarnings() { if (m_report != null) { return m_report.getWarnings(); } return super.getWarnings(); }
/** * @see org.opencms.report.A_CmsReport#getWarnings() */ @Override public List<Object> getWarnings() { if (m_report != null) { return m_report.getWarnings(); } return super.getWarnings(); }
/** * @see org.opencms.notification.A_CmsNotification#generateHtmlMsg() */ @Override protected String generateHtmlMsg() { StringBuffer buffer = new StringBuffer(); CmsMessages messages = Messages.get().getBundle(getLocale()); // add warnings to the notification if (m_report.hasWarning()) { buffer.append("<b>"); buffer.append(messages.key(Messages.GUI_PUBLISH_WARNING_HEADER_0)); buffer.append("</b><br/>\n"); appendList(buffer, m_report.getWarnings()); buffer.append("<br/>\n"); } // add errors to the notification if (m_report.hasError()) { buffer.append("<b>"); buffer.append(messages.key(Messages.GUI_PUBLISH_ERROR_HEADER_0)); buffer.append("</b><br/>\n"); appendList(buffer, m_report.getErrors()); buffer.append("<br/>\n"); } return buffer.toString(); }
/** * @see org.opencms.notification.A_CmsNotification#generateHtmlMsg() */ @Override protected String generateHtmlMsg() { StringBuffer buffer = new StringBuffer(); // add warnings to the notification if (m_report.hasWarning()) { buffer.append("<b>"); buffer.append(Messages.get().getBundle().key(Messages.GUI_PUBLISH_WARNING_HEADER_0)); buffer.append("</b><br/>\n"); appendList(buffer, m_report.getWarnings()); buffer.append("<br/>\n"); } // add errors to the notification if (m_report.hasError()) { buffer.append("<b>"); buffer.append(Messages.get().getBundle().key(Messages.GUI_PUBLISH_ERROR_HEADER_0)); buffer.append("</b><br/>\n"); appendList(buffer, m_report.getErrors()); buffer.append("<br/>\n"); } return buffer.toString(); }
new Long(publishJob.getEnqueueTime()), new Integer(publishJob.getReport().getErrors().size()), new Integer(publishJob.getReport().getWarnings().size())}; msgText = Messages.get().getBundle(publishJob.getLocale()).key( Messages.GUI_PUBLISH_JOB_FINISHED_WITH_WARNS_3,
new Long(publishJob.getEnqueueTime()), new Integer(publishJob.getReport().getErrors().size()), new Integer(publishJob.getReport().getWarnings().size())}; msgText = Messages.get().getBundle(publishJob.getLocale()).key( Messages.GUI_PUBLISH_JOB_FINISHED_WITH_WARNS_3,