本文整理了Java中com.evolveum.midpoint.repo.api.RepositoryService.getFullTextSearchConfiguration
方法的一些代码示例,展示了RepositoryService.getFullTextSearchConfiguration
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RepositoryService.getFullTextSearchConfiguration
方法的具体详情如下:
包路径:com.evolveum.midpoint.repo.api.RepositoryService
类名称:RepositoryService
方法名:getFullTextSearchConfiguration
暂无
代码示例来源:origin: Evolveum/midpoint
@Override
public FullTextSearchConfigurationType getFullTextSearchConfiguration() {
Long startTime = repoOpStart();
try {
return repositoryService.getFullTextSearchConfiguration();
} finally {
repoOpEnd(startTime);
}
}
代码示例来源:origin: Evolveum/midpoint
public static <T extends ObjectType> Set<RObjectTextInfo> createItemsSet(@NotNull ObjectType object, @NotNull RObject repo,
@NotNull RepositoryContext repositoryContext) {
FullTextSearchConfigurationType config = repositoryContext.repositoryService.getFullTextSearchConfiguration();
if (!FullTextSearchConfigurationUtil.isEnabled(config)) {
return Collections.emptySet();
代码示例来源:origin: Evolveum/midpoint
private <T extends ObjectType> boolean isObjectTextInfoRecomputationNeeded(Class<T> type, Collection<? extends ItemDelta> modifications) {
FullTextSearchConfigurationType config = repositoryService.getFullTextSearchConfiguration();
if (!FullTextSearchConfigurationUtil.isEnabled(config)) {
return false;
}
Set<ItemPath> paths = FullTextSearchConfigurationUtil.getFullTextSearchItemPaths(config, type);
for (ItemDelta modification : modifications) {
ItemPath namesOnly = modification.getPath().namedSegmentsOnly();
for (ItemPath path : paths) {
if (path.startsWith(namesOnly)) {
return true;
}
}
}
return false;
}
内容来源于网络,如有侵权,请联系作者删除!