Class NumerictextManager
- java.lang.Object
-
- fr.paris.lutece.plugins.document.service.attributes.DefaultManager
-
- fr.paris.lutece.plugins.document.service.attributes.TextManager
-
- fr.paris.lutece.plugins.document.service.attributes.NumerictextManager
-
- All Implemented Interfaces:
AttributeManager
public class NumerictextManager extends TextManager
Manager for Text Attribute
-
-
Constructor Summary
Constructors Constructor Description NumerictextManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringvalidateValue(int nAttributeId, String strValue, Locale locale)Validate the value for the attribute-
Methods inherited from class fr.paris.lutece.plugins.document.service.attributes.TextManager
validateValueParameters
-
Methods inherited from class fr.paris.lutece.plugins.document.service.attributes.DefaultManager
canBeUsedAsThumbnail, getAttributeParametersValues, getAttributeTypeCode, getAttributeXmlValue, getCreateFormHtml, getCreateParametersFormHtml, getCreateParametersFormHtml, getCreateParametersFormHtml, getExtraParameters, getExtraParametersValues, getModifyFormHtml, getModifyParametersFormHtml, getModifyParametersFormHtml, getValueParameters, setAttributeTypeCode
-
-
-
-
Method Detail
-
validateValue
public String validateValue(int nAttributeId, String strValue, Locale locale)
Validate the value for the attribute- Specified by:
validateValuein interfaceAttributeManager- Overrides:
validateValuein classDefaultManager- Parameters:
nAttributeId- The attribute identifierstrValue- The value to checklocale- The current Locale- Returns:
- null if valid, otherwise error message
-
-