Class FullTextSearchUtil
- java.lang.Object
-
- com.evolveum.midpoint.schema.util.FullTextSearchUtil
-
public class FullTextSearchUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description FullTextSearchUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable Set<String>
createWords(FullTextSearchConfigurationType config, ObjectType object)
Returns words to index or null if there is nothing to index.static @NotNull Set<ItemPath>
getFullTextSearchItemPaths(@NotNull FullTextSearchConfigurationType config, Class<? extends ObjectType> clazz)
static boolean
isEnabled(FullTextSearchConfigurationType config)
static boolean
isEnabledFor(FullTextSearchConfigurationType config, Class<? extends ObjectType> clazz)
static <T extends ObjectType>
booleanisObjectTextInfoRecomputationNeeded(FullTextSearchConfigurationType config, Class<T> type, Collection<? extends ItemDelta<?,?>> modifications)
-
-
-
Method Detail
-
isEnabled
public static boolean isEnabled(FullTextSearchConfigurationType config)
-
isEnabledFor
public static boolean isEnabledFor(FullTextSearchConfigurationType config, Class<? extends ObjectType> clazz)
-
getFullTextSearchItemPaths
@NotNull public static @NotNull Set<ItemPath> getFullTextSearchItemPaths(@NotNull @NotNull FullTextSearchConfigurationType config, Class<? extends ObjectType> clazz)
-
isObjectTextInfoRecomputationNeeded
public static <T extends ObjectType> boolean isObjectTextInfoRecomputationNeeded(FullTextSearchConfigurationType config, Class<T> type, Collection<? extends ItemDelta<?,?>> modifications)
-
createWords
@Nullable public static @Nullable Set<String> createWords(FullTextSearchConfigurationType config, ObjectType object)
Returns words to index or null if there is nothing to index.
-
-