Class FormError
java.lang.Object
fr.paris.lutece.plugins.form.business.FormError
class FormError
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the error Messagebooleanreturn true if the error is a mandatory errorvoidsetErrorMessage(String errorMessage) set the error messagevoidsetMandatoryError(boolean mandatoryError) set true if the error is a mandatory errorvoidsetTitleQuestion(String titleMandatoryQuestion) set the title of the mandatory question
-
Constructor Details
-
FormError
public FormError()
-
-
Method Details
-
isMandatoryError
public boolean isMandatoryError()return true if the error is a mandatory error- Returns:
- true if the error is a mandatory error
-
setMandatoryError
public void setMandatoryError(boolean mandatoryError) set true if the error is a mandatory error- Parameters:
mandatoryError- true if the error is a mandatory error
-
getErrorMessage
Gets the error Message- Returns:
- the error Message
-
setErrorMessage
set the error message- Parameters:
errorMessage- the erroer message
-
getTitleQuestion
- Returns:
- the title of the mandatory question
-
setTitleQuestion
set the title of the mandatory question- Parameters:
titleMandatoryQuestion- the title of the mandatory question
-