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
Manager for Date Attribute
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttributeParametersValues(int nAttributeId, Locale locale) Gets parameters values for the attributevalidateValue(int nAttributeId, String strValue, Locale locale) Validate the value for the attributevalidateValueParameters(List<AttributeTypeParameter> listParameters, Locale locale) Validate the value for the parametersMethods inherited from class fr.paris.lutece.plugins.document.service.attributes.DefaultManager
canBeUsedAsThumbnail, getAttributeTypeCode, getAttributeXmlValue, getCreateFormHtml, getCreateParametersFormHtml, getCreateParametersFormHtml, getCreateParametersFormHtml, getExtraParameters, getExtraParametersValues, getModifyFormHtml, getModifyParametersFormHtml, getModifyParametersFormHtml, getValueParameters, setAttributeTypeCode
-
Constructor Details
-
DateManager
public DateManager()
-
-
Method Details
-
validateValue
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
-
validateValueParameters
Validate the value for the parameters- Specified by:
validateValueParametersin interfaceAttributeManager- Overrides:
validateValueParametersin classDefaultManager- 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:
getAttributeParametersValuesin classDefaultManager- Parameters:
nAttributeId- The attribute Idlocale- The current Locale- Returns:
- The collection of attribute type parameters
-