Package io.jmix.search.searching
Class SearchUtils
java.lang.Object
io.jmix.search.searching.SearchUtils
@Component("search_SearchUtils")
@Deprecated(since="2.7",
forRemoval=true)
public class SearchUtils
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final FullFieldNamesProviderDeprecated, for removal: This API element is subject to removal in a future version.protected final IndexConfigurationManagerDeprecated, for removal: This API element is subject to removal in a future version.protected final MetadataDeprecated, for removal: This API element is subject to removal in a future version.protected final SearchSecurityDecoratorDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionSearchUtils(IndexConfigurationManager indexConfigurationManager, Metadata metadata, FullFieldNamesProvider fullFieldNamesProvider, SearchSecurityDecorator securityDecorator) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionresolveEffectiveSearchFields(Collection<String> requestedEntities) Deprecated, for removal: This API element is subject to removal in a future version.The method doesn't take into account security constraints of entity fields.resolveEffectiveTargetIndexes(Collection<String> requestedEntities) Deprecated, for removal: This API element is subject to removal in a future version.resolveEntitiesAllowedToSearch(Collection<String> entityNames) Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
indexConfigurationManager
Deprecated, for removal: This API element is subject to removal in a future version. -
metadata
Deprecated, for removal: This API element is subject to removal in a future version. -
fullFieldNamesProvider
Deprecated, for removal: This API element is subject to removal in a future version. -
securityDecorator
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
SearchUtils
public SearchUtils(IndexConfigurationManager indexConfigurationManager, Metadata metadata, FullFieldNamesProvider fullFieldNamesProvider, SearchSecurityDecorator securityDecorator) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
resolveEntitiesAllowedToSearch
@Deprecated(since="2.7", forRemoval=true) public List<String> resolveEntitiesAllowedToSearch(Collection<String> entityNames) Deprecated, for removal: This API element is subject to removal in a future version. -
resolveEffectiveTargetIndexes
@Deprecated(since="2.7", forRemoval=true) public List<String> resolveEffectiveTargetIndexes(Collection<String> requestedEntities) Deprecated, for removal: This API element is subject to removal in a future version. -
resolveEffectiveSearchFields
@Deprecated(since="2.7", forRemoval=true) public Set<String> resolveEffectiveSearchFields(Collection<String> requestedEntities) Deprecated, for removal: This API element is subject to removal in a future version.The method doesn't take into account security constraints of entity fields. The method doesn't separate result fields by the entities.
-