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
|
protected String |
getCreateParametersTemplate()
Gets the template to enter the parameters of the attribute value
|
protected String |
getCreateTemplate()
Gets the template to enter the attribute value
|
List<AttributeTypeParameter> |
getExtraParametersValues(Locale locale,
int nAttributeId)
Gets extra parameters values for the attribute
|
protected String |
getModifyParametersTemplate()
Gets the template to modify the parameters of the attribute value
|
protected String |
getModifyTemplate()
Gets the template to modify the attribute value
|
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, getCreateParametersFormHtml, getExtraParameters, getModifyFormHtml, getModifyParametersFormHtml, getModifyParametersFormHtml, setAttributeTypeCode, validateValue
protected String getCreateTemplate()
getCreateTemplate
in class DefaultManager
protected String getModifyTemplate()
getModifyTemplate
in class DefaultManager
protected String getCreateParametersTemplate()
getCreateParametersTemplate
in class DefaultManager
protected String getModifyParametersTemplate()
getModifyParametersTemplate
in class DefaultManager
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 © 2020 City of Paris. All rights reserved.