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 fr.paris.lutece.plugins.document.service.attributes.DefaultManager |
canBeUsedAsThumbnail, getAttributeTypeCode, getAttributeXmlValue, getCreateFormHtml, getCreateParametersFormHtml, getCreateParametersFormHtml, getExtraParameters, getExtraParametersValues, getModifyFormHtml, getModifyParametersFormHtml, getParameters, getValueParameters, setAttributeTypeCode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateManager
public DateManager()
validateValue
public String validateValue(int nAttributeId,
String strValue,
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 String validateValueParameters(List<AttributeTypeParameter> listParameters,
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 Collection<AttributeTypeParameter> getAttributeParametersValues(int nAttributeId,
Locale locale)
- Gets parameters values for the attribute
- Overrides:
getAttributeParametersValues in class DefaultManager
- Parameters:
nAttributeId - The attribute Idlocale - The current Locale
- Returns:
- The collection of attribute type parameters
Copyright © 2014 Mairie de Paris. All Rights Reserved.