use of org.codelibs.fess.mylasta.action.FessMessages in project fess by codelibs.
the class FessApiAction method getMessage.
protected String getMessage(final VaMessenger<FessMessages> validationMessagesLambda) {
final FessMessages messages = new FessMessages();
validationMessagesLambda.message(messages);
return messageManager.toMessageList(request.getLocale() == null ? Locale.ENGLISH : request.getLocale(), messages).stream().collect(Collectors.joining(" "));
}
use of org.codelibs.fess.mylasta.action.FessMessages in project fess by codelibs.
the class FessBaseAction method saveInfo.
// ===================================================================================
// Small Helper
// ============
protected void saveInfo(final VaMessenger<FessMessages> validationMessagesLambda) {
final FessMessages messages = createMessages();
validationMessagesLambda.message(messages);
sessionManager.info().saveMessages(messages);
}
use of org.codelibs.fess.mylasta.action.FessMessages in project fess by codelibs.
the class FessBaseAction method saveError.
protected void saveError(final VaMessenger<FessMessages> validationMessagesLambda) {
final FessMessages messages = createMessages();
validationMessagesLambda.message(messages);
sessionManager.errors().saveMessages(messages);
}
Aggregations