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

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

public class DateManager
extends DefaultManager

Manager for Date Attribute


Constructor Summary
DateManager()
           
 
Method Summary
 java.util.Collection<AttributeTypeParameter> getAttributeParametersValues(int nAttributeId, java.util.Locale locale)
          Gets parameters values for the attribute
 java.lang.String validateValue(java.lang.String strValue)
          Validate the value for the attribute
 java.lang.String validateValueParameters(java.util.List<AttributeTypeParameter> listParameters)
          Validate the value for the parameters
 
Methods inherited from class fr.paris.lutece.plugins.document.service.attributes.DefaultManager
getAttributeTypeCode, getAttributeXmlValue, getCreateFormHtml, getCreateParametersFormHtml, getExtraParameters, getExtraParametersValues, getModifyFormHtml, getModifyParametersFormHtml, setAttributeTypeCode, validateValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateManager

public DateManager()
Method Detail

validateValue

public java.lang.String validateValue(java.lang.String strValue)
Validate the value for the attribute

Specified by:
validateValue in interface AttributeManager
Overrides:
validateValue in class DefaultManager
Parameters:
strValue - The value to check
Returns:
null if valid, otherwise false

validateValueParameters

public java.lang.String validateValueParameters(java.util.List<AttributeTypeParameter> listParameters)
Validate the value for the parameters

Specified by:
validateValueParameters in interface AttributeManager
Overrides:
validateValueParameters in class DefaultManager
Parameters:
listParameters - The list of parameters to check
Returns:
null if valid, otherwise message property

getAttributeParametersValues

public java.util.Collection<AttributeTypeParameter> getAttributeParametersValues(int nAttributeId,
                                                                                 java.util.Locale locale)
Gets parameters values for the attribute

Overrides:
getAttributeParametersValues in class DefaultManager
Parameters:
nAttributeId - The attribute Id
locale - The current Locale
Returns:


Copyright © 2008 Mairie de Paris. All Rights Reserved.