fr.paris.lutece.plugins.document.service.attributes
Class NumerictextManager

java.lang.Object
  extended by fr.paris.lutece.plugins.document.service.attributes.DefaultManager
      extended by fr.paris.lutece.plugins.document.service.attributes.TextManager
          extended by fr.paris.lutece.plugins.document.service.attributes.NumerictextManager
All Implemented Interfaces:
AttributeManager

public class NumerictextManager
extends TextManager

Manager for Text Attribute


Constructor Summary
NumerictextManager()
           
 
Method Summary
 java.lang.String validateValue(int nAttributeId, java.lang.String strValue, java.util.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, getExtraParameters, getExtraParametersValues, getModifyFormHtml, getModifyParametersFormHtml, setAttributeTypeCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumerictextManager

public NumerictextManager()
Method Detail

validateValue

public java.lang.String validateValue(int nAttributeId,
                                      java.lang.String strValue,
                                      java.util.Locale locale)
Validate the value for the attribute

Specified by:
validateValue in interface AttributeManager
Overrides:
validateValue in class DefaultManager
Parameters:
nAttributeId - The attribute identifier
strValue - The value to check
locale - The current Locale
Returns:
null if valid, otherwise error message


Copyright © 2009 Mairie de Paris. All Rights Reserved.