Class ListBoxManager
java.lang.Object
fr.paris.lutece.plugins.document.service.attributes.DefaultManager
fr.paris.lutece.plugins.document.service.attributes.ListBoxManager
- All Implemented Interfaces:
AttributeManager
Manager for ListBox Attribute
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCreateParametersFormHtml(List<AttributeTypeParameter> listParameters, Locale locale) Gets the part of an HTML form to enter parameters datagetExtraParametersValues(Locale locale, int nAttributeId) Gets extra parameters values for the attributegetValueParameters(jakarta.servlet.http.HttpServletRequest request, Locale locale) Get the value parametersvalidateValueParameters(List<AttributeTypeParameter> listParameters, Locale locale) Validate the value for the parametersMethods inherited from class fr.paris.lutece.plugins.document.service.attributes.DefaultManager
canBeUsedAsThumbnail, getAttributeParametersValues, getAttributeTypeCode, getAttributeXmlValue, getCreateFormHtml, getCreateParametersFormHtml, getCreateParametersFormHtml, getExtraParameters, getModifyFormHtml, getModifyParametersFormHtml, getModifyParametersFormHtml, setAttributeTypeCode, validateValue
-
Constructor Details
-
ListBoxManager
public ListBoxManager()
-
-
Method Details
-
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
-
getCreateParametersFormHtml
public String getCreateParametersFormHtml(List<AttributeTypeParameter> listParameters, Locale locale) Gets the part of an HTML form to enter parameters data- Specified by:
getCreateParametersFormHtmlin interfaceAttributeManager- Overrides:
getCreateParametersFormHtmlin classDefaultManager- Parameters:
listParameters- list attribute type parameterslocale- The current Locale- Returns:
- A part of the HTML form
-
getExtraParametersValues
Gets extra parameters values for the attribute- Specified by:
getExtraParametersValuesin interfaceAttributeManager- Overrides:
getExtraParametersValuesin classDefaultManager- Parameters:
locale- The current Locale- Returns:
- The extra parameters values for the attribute
-
getValueParameters
public List<AttributeTypeParameter> getValueParameters(jakarta.servlet.http.HttpServletRequest request, Locale locale) Get the value parameters- Specified by:
getValueParametersin interfaceAttributeManager- Overrides:
getValueParametersin classDefaultManager- Parameters:
request- the HTTP requestlocale- the locale- Returns:
- a list of
AttributeTypeParameter
-