Class AdditionalSearchServiceParameter<T>
- java.lang.Object
-
- org.ametys.web.frontoffice.search.metamodel.AdditionalSearchServiceParameter<T>
-
- Type Parameters:
T
- Type of the parameter
public final class AdditionalSearchServiceParameter<T> extends Object
This class is a wrapper of an additional parameter for a search service instance (brought by aSearchable
or aReturnable
, throuhAbstractParameterAdderSearchable
orAbstractParameterAdderReturnable
for instance).
It holds the actualServiceParameter
, 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
Constructors Constructor Description AdditionalSearchServiceParameter(ServiceParameter<T> serviceParameter, boolean reloadCriteriaOnChange)
Constructs the AdditionalSearchServiceParameter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceParameter<T>
getParameter()
Gets the additional service parameterboolean
reloadCriteriaOnChange()
Returnstrue
if in client-side, the change of the field of this parameter must lead to a reload of the search criteria
-
-
-
Constructor Detail
-
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 Detail
-
getParameter
public ServiceParameter<T> getParameter()
Gets the additional service parameter- Returns:
- the additional service parameter
-
reloadCriteriaOnChange
public boolean 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
-
-