fr.paris.lutece.plugins.document.service.attributes
public class ListBoxManager extends DefaultManager
Constructor and Description |
---|
ListBoxManager() |
Modifier and Type | Method and Description |
---|---|
String |
getCreateParametersFormHtml(List<AttributeTypeParameter> listParameters,
Locale locale)
Gets the part of an HTML form to enter parameters data
|
List<AttributeTypeParameter> |
getExtraParametersValues(Locale locale,
int nAttributeId)
Gets extra parameters values for the attribute
|
protected Map<String,List<String>> |
getParameters(int nAttributeId,
Locale locale)
Get parameters map
|
List<AttributeTypeParameter> |
getValueParameters(javax.servlet.http.HttpServletRequest request,
Locale locale)
Get the value parameters
|
String |
validateValueParameters(List<AttributeTypeParameter> listParameters,
Locale locale)
Validate the value for the parameters
|
canBeUsedAsThumbnail, getAttributeParametersValues, getAttributeTypeCode, getAttributeXmlValue, getCreateFormHtml, getCreateParametersFormHtml, getExtraParameters, getModifyFormHtml, getModifyParametersFormHtml, setAttributeTypeCode, validateValue
public String validateValueParameters(List<AttributeTypeParameter> listParameters, Locale locale)
validateValueParameters
in interface AttributeManager
validateValueParameters
in class DefaultManager
listParameters
- The list of parameters to checklocale
- The current Localepublic String getCreateParametersFormHtml(List<AttributeTypeParameter> listParameters, Locale locale)
getCreateParametersFormHtml
in interface AttributeManager
getCreateParametersFormHtml
in class DefaultManager
listParameters
- list attribute type parameterslocale
- The current Localepublic List<AttributeTypeParameter> getExtraParametersValues(Locale locale, int nAttributeId)
getExtraParametersValues
in interface AttributeManager
getExtraParametersValues
in class DefaultManager
locale
- The current Localepublic List<AttributeTypeParameter> getValueParameters(javax.servlet.http.HttpServletRequest request, Locale locale)
getValueParameters
in interface AttributeManager
getValueParameters
in class DefaultManager
request
- the HTTP requestlocale
- the localeAttributeTypeParameter
protected Map<String,List<String>> getParameters(int nAttributeId, Locale locale)
getParameters
in class DefaultManager
nAttributeId
- the attribute identifierlocale
- The current localeCopyright © 2014 Mairie de Paris. All rights reserved.