fr.paris.lutece.util.beanvalidation
Interface ValidationErrorConfig

All Known Implementing Classes:
DefaultValidationErrorConfig

public interface ValidationErrorConfig

Interface for ValidationError Configs


Method Summary
 String getFieldKeysPrefix()
          The prefix of fields name in the resource file (ex : myplugin.model.entity.product.field." )
 String getFieldWrapperBegin()
          Returns the begin wrapper string for fieldname rendering (ex : "'" or "<strong">" )
 String getFieldWrapperEnd()
          Returns the end wrapper string for fieldname rendering (ex : "'" or "</strong">" )
 String getValue1Attributes()
          Returns the list of constraint descriptor attribute that will appear in the value#1 of the message
 String getValue2Attributes()
          Returns the list of constraint descriptor attribute that will appear in the value#2 of the message
 String[] getVariablesPrefix()
          The array of all variables prefix
 

Method Detail

getValue1Attributes

String getValue1Attributes()
Returns the list of constraint descriptor attribute that will appear in the value#1 of the message

Returns:
A list of attributes separated with spaces or commas

getValue2Attributes

String getValue2Attributes()
Returns the list of constraint descriptor attribute that will appear in the value#2 of the message

Returns:
A list of attributes separated with spaces or commas

getVariablesPrefix

String[] getVariablesPrefix()
The array of all variables prefix

Returns:
The array

getFieldKeysPrefix

String getFieldKeysPrefix()
The prefix of fields name in the resource file (ex : myplugin.model.entity.product.field." )

Returns:
the _strFieldKeysPrefix

getFieldWrapperBegin

String getFieldWrapperBegin()
Returns the begin wrapper string for fieldname rendering (ex : "'" or "<strong">" )

Returns:
The begin string

getFieldWrapperEnd

String getFieldWrapperEnd()
Returns the end wrapper string for fieldname rendering (ex : "'" or "</strong">" )

Returns:
The end string


Copyright © 2014 Mairie de Paris. All Rights Reserved.