/** * Adds a new ui message with level SUCCESS to the current messages. * * @param reporter * The reporting component * @param message * The actual message */ public final void success(Component reporter, Serializable message) { add(new FeedbackMessage(reporter, message, FeedbackMessage.SUCCESS)); }
@Override protected FeedbackMessagesModel newFeedbackMessagesModel() { FeedbackMessagesModel model = super.newFeedbackMessagesModel(); model.setFilter(SKIP_RENDERED_MESSAGES_FILTER); return model; }
/** * Adds a message * * @param reporter * @param message * @param level */ public final void add(Component reporter, Serializable message, int level) { add(new FeedbackMessage(reporter, message, level)); }
/** * Adds a new ui message with level FATAL to the current messages. * * @param reporter * the reporting component * @param message * the actual message */ public final void fatal(Component reporter, Serializable message) { add(new FeedbackMessage(reporter, message, FeedbackMessage.FATAL)); }
/** * Adds a new ui message with level SUCCESS to the current messages. * * @param reporter * The reporting component * @param message * The actual message */ public final void success(Component reporter, Serializable message) { add(new FeedbackMessage(reporter, message, FeedbackMessage.SUCCESS)); }
/** * Adds a new ui message with level ERROR to the current messages. * * @param reporter * the reporting component * @param message * the actual message */ public final void error(Component reporter, Serializable message) { add(new FeedbackMessage(reporter, message, FeedbackMessage.ERROR)); }
/** * Adds a new ui message with level DEBUG to the current messages. * * @param reporter * the reporting component * @param message * the actual message */ public final void debug(Component reporter, Serializable message) { add(new FeedbackMessage(reporter, message, FeedbackMessage.DEBUG)); }
/** * Adds a new ui message with level WARNING to the current messages. * * @param reporter * the reporting component * @param message * the actual message */ public final void warn(Component reporter, Serializable message) { add(new FeedbackMessage(reporter, message, FeedbackMessage.WARNING)); }
/** * Adds a new ui message with level ERROR to the current messages. * * @param reporter * the reporting component * @param message * the actual message */ public final void error(Component reporter, Serializable message) { add(new FeedbackMessage(reporter, message, FeedbackMessage.ERROR)); }
/** * Adds a new ui message with level WARNING to the current messages. * * @param reporter * the reporting component * @param message * the actual message */ public final void warn(Component reporter, Serializable message) { add(new FeedbackMessage(reporter, message, FeedbackMessage.WARNING)); }
/** * Adds a message * * @param reporter * @param message * @param level */ public final void add(Component reporter, Serializable message, int level) { add(new FeedbackMessage(reporter, message, level)); }
/** * Adds a new ui message with level DEBUG to the current messages. * * @param reporter * the reporting component * @param message * the actual message */ public final void debug(Component reporter, Serializable message) { add(new FeedbackMessage(reporter, message, FeedbackMessage.DEBUG)); }
/** * Adds a new ui message with level INFO to the current messages. * * @param reporter * The reporting component * @param message * The actual message */ public final void info(Component reporter, Serializable message) { add(new FeedbackMessage(reporter, message, FeedbackMessage.INFO)); }
/** * Adds a new ui message with level INFO to the current messages. * * @param reporter * The reporting component * @param message * The actual message */ public final void info(Component reporter, Serializable message) { add(new FeedbackMessage(reporter, message, FeedbackMessage.INFO)); }
/** * Adds a new ui message with level FATAL to the current messages. * * @param reporter * the reporting component * @param message * the actual message */ public final void fatal(Component reporter, Serializable message) { add(new FeedbackMessage(reporter, message, FeedbackMessage.FATAL)); }
/** * Adds a message * * @param reporter * @param message * @param level */ public final void add(Component reporter, String message, int level) { add(new FeedbackMessage(reporter, message, level)); }
/** * Adds a new ui message with level FATAL to the current messages. * * @param reporter * the reporting component * @param message * the actual message */ public final void fatal(Component reporter, String message) { add(new FeedbackMessage(reporter, message, FeedbackMessage.FATAL)); }
/** * Adds a new ui message with level WARNING to the current messages. * * @param reporter * the reporting component * @param message * the actual message */ public final void warn(Component reporter, String message) { add(new FeedbackMessage(reporter, message, FeedbackMessage.WARNING)); }
/** * Adds a new ui message with level DEBUG to the current messages. * * @param reporter * the reporting component * @param message * the actual message */ public final void debug(Component reporter, String message) { add(new FeedbackMessage(reporter, message, FeedbackMessage.DEBUG)); }
/** * Adds a new ui message with level DEBUG to the current messages. * * @param reporter * the reporting component * @param message * the actual message */ public final void debug(Component reporter, String message) { add(new FeedbackMessage(reporter, message, FeedbackMessage.DEBUG)); }