Class AdditionalParameterValueMap
java.lang.Object
org.ametys.web.frontoffice.search.metamodel.AdditionalParameterValueMap
This class holds the current values of the additional parameters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDisplayableValue
(String parameterId, String defaultValue) Expert method, for debug purpose, use only if you know what you do
Gets the value for display purpose.Gets the parameter ids that have a value<T> T
Gets the value of the given additional parameter
-
Constructor Details
-
Method Details
-
getValue
Gets the value of the given additional parameter- Type Parameters:
T
- the type of the value- Parameters:
parameterId
- The id of the parameter- Returns:
- the value of the given additional parameter
- Throws:
ClassCastException
- if the value cannot be cast to the expected type
-
getParameterIds
Gets the parameter ids that have a value- Returns:
- the parameter ids that have a value
-
getDisplayableValue
Expert method, for debug purpose, use only if you know what you do
Gets the value for display purpose.- Parameters:
parameterId
- The id of the parameterdefaultValue
- The value to display if it is not displayable (for security purpose for instance)- Returns:
- the value for display purpose.
-