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 @NotNull Set<ItemPath>
getFullTextSearchItemPaths(@NotNull FullTextSearchConfigurationType config, List<QName> types)
static boolean
isEnabled(FullTextSearchConfigurationType config)
static boolean
isEnabledFor(FullTextSearchConfigurationType config, Class<?> clazz)
static boolean
isEnabledFor(FullTextSearchConfigurationType config, List<QName> types)
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<?> clazz)
-
isEnabledFor
public static boolean isEnabledFor(FullTextSearchConfigurationType config, List<QName> types)
-
getFullTextSearchItemPaths
@NotNull public static @NotNull Set<ItemPath> getFullTextSearchItemPaths(@NotNull @NotNull FullTextSearchConfigurationType config, Class<? extends ObjectType> clazz)
-
getFullTextSearchItemPaths
@NotNull public static @NotNull Set<ItemPath> getFullTextSearchItemPaths(@NotNull @NotNull FullTextSearchConfigurationType config, List<QName> types)
-
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.
-
-