Class AdditionalSearchServiceParameter<T>
java.lang.Object
org.ametys.web.frontoffice.search.metamodel.AdditionalSearchServiceParameter<T>
- Type Parameters:
T
- Type of the parameter
This class is a wrapper of an additional parameter for a search service instance
(brought by a
It holds the actual
Searchable
or a Returnable
, throuh AbstractParameterAdderSearchable
or AbstractParameterAdderReturnable
for instance).
It holds the actual
ServiceParameter
, and a boolean indicating if in client-side, the change of the field of this parameter must lead to a reload of the search criteria.-
Constructor Summary
ConstructorDescriptionAdditionalSearchServiceParameter
(ServiceParameter<T> serviceParameter, boolean reloadCriteriaOnChange) Constructs the AdditionalSearchServiceParameter -
Method Summary
Modifier and TypeMethodDescriptionGets the additional service parameterboolean
Returnstrue
if in client-side, the change of the field of this parameter must lead to a reload of the search criteria
-
Constructor Details
-
AdditionalSearchServiceParameter
public AdditionalSearchServiceParameter(ServiceParameter<T> serviceParameter, boolean reloadCriteriaOnChange) Constructs the AdditionalSearchServiceParameter- Parameters:
serviceParameter
- the actual search service additional parameterreloadCriteriaOnChange
- Set this totrue
if in client-side, the change of the field of this parameter must lead to a reload of the search criteria
-
-
Method Details
-
getParameter
Gets the additional service parameter- Returns:
- the additional service parameter
-
reloadCriteriaOnChange
Returnstrue
if in client-side, the change of the field of this parameter must lead to a reload of the search criteria- Returns:
true
if in client-side, the change of the field of this parameter must lead to a reload of the search criteria
-