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
public class ListBoxManager extends DefaultManager
Manager for ListBox Attribute
-
-
Constructor Summary
Constructors Constructor Description ListBoxManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCreateParametersFormHtml(List<AttributeTypeParameter> listParameters, Locale locale)Gets the part of an HTML form to enter parameters dataList<AttributeTypeParameter>getExtraParametersValues(Locale locale, int nAttributeId)Gets extra parameters values for the attributeList<AttributeTypeParameter>getValueParameters(javax.servlet.http.HttpServletRequest request, Locale locale)Get the value parametersStringvalidateValueParameters(List<AttributeTypeParameter> listParameters, Locale locale)Validate the value for the parameters-
Methods inherited from class fr.paris.lutece.plugins.document.service.attributes.DefaultManager
canBeUsedAsThumbnail, getAttributeParametersValues, getAttributeTypeCode, getAttributeXmlValue, getCreateFormHtml, getCreateParametersFormHtml, getCreateParametersFormHtml, getExtraParameters, getModifyFormHtml, getModifyParametersFormHtml, getModifyParametersFormHtml, setAttributeTypeCode, validateValue
-
-
-
-
Method Detail
-
validateValueParameters
public String validateValueParameters(List<AttributeTypeParameter> listParameters, Locale locale)
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
public List<AttributeTypeParameter> getExtraParametersValues(Locale locale, int nAttributeId)
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(javax.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
-
-