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 aSearchableor aReturnable, throuhAbstractParameterAdderSearchableorAbstractParameterAdderReturnablefor 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. 
- 
- 
Field Summary
Fields Modifier and Type Field Description private boolean_reloadCriteriaOnChangeprivate ServiceParameter<T>_serviceParameter 
- 
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 parameterbooleanreloadCriteriaOnChange()Returnstrueif in client-side, the change of the field of this parameter must lead to a reload of the search criteria 
 - 
 
- 
- 
Field Detail
- 
_serviceParameter
private ServiceParameter<T> _serviceParameter
 
- 
_reloadCriteriaOnChange
private boolean _reloadCriteriaOnChange
 
 - 
 
- 
Constructor Detail
- 
AdditionalSearchServiceParameter
public AdditionalSearchServiceParameter(ServiceParameter<T> serviceParameter, boolean reloadCriteriaOnChange)
Constructs the AdditionalSearchServiceParameter- Parameters:
 serviceParameter- the actual search service additional parameterreloadCriteriaOnChange- Set this totrueif 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()
Returnstrueif in client-side, the change of the field of this parameter must lead to a reload of the search criteria- Returns:
 trueif in client-side, the change of the field of this parameter must lead to a reload of the search criteria
 
 - 
 
 -