Interface CommonSearchModel
- All Known Subinterfaces:
FulltextSearchModel, MultiRemoteFieldModel, RelationSearchModel, RemoteFieldModel
- All Known Implementing Classes:
AbstractSearchFieldsHolder, FulltextSearchModelImpl, MultiRemoteFieldModelImpl, RelationSearchModelImpl, RemoteFieldModelImpl
public interface CommonSearchModel
Something that contains a
SearchFieldsModel, like the RemoteFieldModel.
It is a reusable subpart model.
It is the common denominator of FulltextSeach, RelationSearch and RemoteFieldSearch.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetMaxCharsForField(String fieldName) Tells the max number of characters to search in this field if defined.getMinCharsForField(String fieldName) Tells the min number of characters required to search in this field, falls back to default.@Nullable SearchFieldsModelbooleanTells if the model is not null, but not if it has content.voidsetMinChars(int minChars) void
-
Method Details
-
getMinChars
Integer getMinChars() -
setMinChars
void setMinChars(int minChars) -
getMinCharsForField
-
getMaxCharsForField
-
getSearchFieldsModel
-
setSearchFieldsModel
-
hasSearchFieldsModel
boolean hasSearchFieldsModel()Tells if the model is not null, but not if it has content.
-