T
- Type of the parameterpublic final class AdditionalSearchServiceParameter<T> extends Object
Searchable
or a Returnable
, throuh AbstractParameterAdderSearchable
or AbstractParameterAdderReturnable
for instance).
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.Modifier and Type | Field and Description |
---|---|
private boolean |
_reloadCriteriaOnChange |
private ServiceParameter<T> |
_serviceParameter |
Constructor and Description |
---|
AdditionalSearchServiceParameter(ServiceParameter<T> serviceParameter,
boolean reloadCriteriaOnChange)
Constructs the AdditionalSearchServiceParameter
|
Modifier and Type | Method and Description |
---|---|
ServiceParameter<T> |
getParameter()
Gets the additional service parameter
|
boolean |
reloadCriteriaOnChange()
Returns
true if in client-side, the change of the field of this parameter must lead to a reload of the search criteria |
private ServiceParameter<T> _serviceParameter
private boolean _reloadCriteriaOnChange
public AdditionalSearchServiceParameter(ServiceParameter<T> serviceParameter, boolean reloadCriteriaOnChange)
serviceParameter
- the actual search service additional parameterreloadCriteriaOnChange
- Set this to true
if in client-side, the change of the field of this parameter must lead to a reload of the search criteriapublic ServiceParameter<T> getParameter()
public boolean reloadCriteriaOnChange()
true
if in client-side, the change of the field of this parameter must lead to a reload of the search criteriatrue
if in client-side, the change of the field of this parameter must lead to a reload of the search criteria