fr.paris.lutece.plugins.document.service.attributes
Class DateManager
java.lang.Object
fr.paris.lutece.plugins.document.service.attributes.DefaultManager
fr.paris.lutece.plugins.document.service.attributes.DateManager
- All Implemented Interfaces:
- AttributeManager
public class DateManager
- extends DefaultManager
Manager for Date Attribute
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateManager
public DateManager()
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 identifierstrValue
- The value to checklocale
- The current Locale
- Returns:
- null if valid, otherwise error message
validateValueParameters
public java.lang.String validateValueParameters(java.util.List<AttributeTypeParameter> listParameters,
java.util.Locale locale)
- Validate the value for the parameters
- Specified by:
validateValueParameters
in interface AttributeManager
- Overrides:
validateValueParameters
in class DefaultManager
- Parameters:
listParameters
- The list of parameters to checklocale
- The current Locale
- 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 Idlocale
- The current Locale
- Returns:
Copyright © 2010 Mairie de Paris. All Rights Reserved.