Class MessagesBean
java.lang.Object
jp.ecuacion.splib.web.bean.MessagesBean
Stores messages shown on pages.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classStores a warn message. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObtains all the errors.Obtains all the messages with itemPropertyPath specified.getErrorMessagesAtEachItem(String itemPropertyPath) Obtains all the messages with itemPropertyPath specified.Obtains all the messages without itemPropertyPath specified.booleanReturns invalid class string if the item is invalid.voidsetErrorMessage(String message, boolean isShownAtEachItem, String... itemPropertyPaths) Sets error message.voidsetNeedsSuccessMessage(boolean needsSuccessMessage) voidsetWarnMessage(MessagesBean.WarnMessageBean warnMessage)
-
Constructor Details
-
MessagesBean
public MessagesBean()
-
-
Method Details
-
getNeedsSuccessMessage
public boolean getNeedsSuccessMessage() -
setNeedsSuccessMessage
public void setNeedsSuccessMessage(boolean needsSuccessMessage) -
getWarnMessage
-
setWarnMessage
-
setErrorMessage
-
getErrorMessages
-
getErrorMessagesAtEachItem
-
getErrorMessagesAtEachItem
-
getErrorMessagesAtTheTop
-
isValid
-