Package com.evolveum.midpoint.gui.impl.page.admin.resource.component.wizard.schemaHandling.objectType.smart
Class SmartIntegrationStatusInfoUtils
java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.resource.component.wizard.schemaHandling.objectType.smart.SmartIntegrationStatusInfoUtils
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static org.apache.wicket.model.IModel<String>buildProgressMessageModel(@NotNull PageBase pageBase, @Nullable String operationKey, @NotNull ActivityProgressInformation child) static @NotNull List<StatusRowRecord>buildStatusRows(@NotNull PageBase pageBase, @Nullable com.evolveum.midpoint.smart.api.info.StatusInfo<?> suggestion, boolean rejectEmptyProgress) static @NotNull Set<AdditionalCorrelationItemMappingType>collectAdditionalMappingsIfSuggestion(@NotNull PageBase pageBase, @NotNull org.apache.wicket.ajax.AjaxRequestTarget target, @NotNull List<PrismContainerValueWrapper<ItemsSubCorrelatorType>> itemsW) static @NotNull List<ResourceAttributeDefinitionType>collectRequiredResourceAttributeDefs(@NotNull PageBase pageBase, @NotNull org.apache.wicket.ajax.AjaxRequestTarget target, @NotNull PrismContainerValueWrapper<CorrelationSuggestionType> parentSuggestionW) static intcomputeSuggestedObjectsCount(@Nullable com.evolveum.midpoint.smart.api.info.StatusInfo<?> statusInfo) static @NotNull StringextractEfficiencyFromSuggestedCorrelationItemWrapper(@NotNull PrismContainerValueWrapper<ItemsSubCorrelatorType> valueWrapper) static @Nullable FloatextractEfficiencyFromSuggestedMappingItemWrapper(@NotNull PrismContainerValueWrapper<MappingType> valueWrapper) static voidhandleSuggestionSuspendResumeOperation(@NotNull PageBase pageBase, @NotNull com.evolveum.midpoint.smart.api.info.StatusInfo<?> statusInfo, @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result) static booleanisNotCompletedSuggestion(@Nullable com.evolveum.midpoint.smart.api.info.StatusInfo<?> statusInfo) static booleanisSuggestionExists(@Nullable com.evolveum.midpoint.smart.api.info.StatusInfo<?> statusInfo) static @Nullable List<com.evolveum.midpoint.smart.api.info.StatusInfo<AssociationsSuggestionType>>loadAssociationSuggestions(@NotNull PageBase pageBase, @NotNull String resourceOid, @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result) static @Nullable com.evolveum.midpoint.smart.api.info.StatusInfo<AssociationsSuggestionType>loadAssociationTypeSuggestion(@NotNull PageBase pageBase, @NotNull String resourceOid, @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result) static @NotNull SmartIntegrationStatusInfoUtils.SuggestionProviderResult<ShadowAssociationTypeDefinitionType,AssociationsSuggestionType> loadAssociationTypeSuggestionWrappers(@NotNull PageBase pageBase, @NotNull String resourceOid, @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result) static @NotNull SmartIntegrationStatusInfoUtils.SuggestionProviderResult<ItemsSubCorrelatorType,CorrelationSuggestionsType> loadCorrelationSuggestionWrappers(@NotNull PageBase pageBase, @NotNull String resourceOid, @NotNull ResourceObjectTypeDefinitionType rotDef, boolean includeNonCompletedSuggestions, @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result) static @Nullable com.evolveum.midpoint.smart.api.info.StatusInfo<CorrelationSuggestionsType>loadCorrelationTypeSuggestion(@NotNull PageBase pageBase, @NotNull String resourceOid, @NotNull ResourceObjectTypeIdentification identification, @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result) static @Nullable List<com.evolveum.midpoint.smart.api.info.StatusInfo<CorrelationSuggestionsType>>loadCorrelationTypeSuggestions(@NotNull PageBase pageBase, @NotNull String resourceOid, @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result) static @NotNull SmartIntegrationStatusInfoUtils.SuggestionProviderResult<MappingType,MappingsSuggestionType> loadMappingSuggestionWrappers(@NotNull PageBase pageBase, @NotNull String resourceOid, @NotNull ResourceObjectTypeDefinitionType rotDef, @NotNull MappingDirection mappingDirection, boolean includeNonCompletedSuggestions, @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result) static @Nullable com.evolveum.midpoint.smart.api.info.StatusInfo<ObjectTypesSuggestionType>loadObjectClassObjectTypeSuggestions(@NotNull PageBase pageBase, @NotNull String resourceOid, @NotNull QName objectClassName, @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result) static @Nullable com.evolveum.midpoint.smart.api.info.StatusInfo<MappingsSuggestionType>loadObjectTypeMappingTypeSuggestion(@NotNull PageBase pageBase, @NotNull String resourceOid, @Nullable ResourceObjectTypeIdentification objectTypeIdentification, @NotNull MappingDirection mappingDirection, @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result) static @Nullable List<com.evolveum.midpoint.smart.api.info.StatusInfo<MappingsSuggestionType>>loadObjectTypeMappingTypeSuggestions(@NotNull PageBase pageBase, @NotNull String resourceOid, @NotNull MappingDirection mappingDirection, @Nullable ResourceObjectTypeIdentification objectTypeIdentification, @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result) static @Nullable List<com.evolveum.midpoint.smart.api.info.StatusInfo<ObjectTypesSuggestionType>>loadObjectTypeSuggestions(@NotNull PageBase pageBase, @NotNull String resourceOid, @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result) static @NotNull SmartIntegrationStatusInfoUtils.SuggestionProviderResult<ResourceObjectTypeDefinitionType,ObjectTypesSuggestionType> loadObjectTypeSuggestionWrappers(@NotNull PageBase pageBase, @NotNull String resourceOid, @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result) static voidshowSuggestionInfoPanelPopup(@NotNull PageBase pageBase, @NotNull org.apache.wicket.ajax.AjaxRequestTarget target, @Nullable com.evolveum.midpoint.smart.api.info.StatusInfo<?> statusInfo)
-
Constructor Details
-
SmartIntegrationStatusInfoUtils
public SmartIntegrationStatusInfoUtils()
-
-
Method Details
-
loadObjectTypeSuggestions
@Nullable public static @Nullable List<com.evolveum.midpoint.smart.api.info.StatusInfo<ObjectTypesSuggestionType>> loadObjectTypeSuggestions(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull String resourceOid, @NotNull @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull @NotNull OperationResult result) -
loadAssociationSuggestions
@Nullable public static @Nullable List<com.evolveum.midpoint.smart.api.info.StatusInfo<AssociationsSuggestionType>> loadAssociationSuggestions(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull String resourceOid, @NotNull @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull @NotNull OperationResult result) -
loadObjectClassObjectTypeSuggestions
@Nullable public static @Nullable com.evolveum.midpoint.smart.api.info.StatusInfo<ObjectTypesSuggestionType> loadObjectClassObjectTypeSuggestions(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull String resourceOid, @NotNull @NotNull QName objectClassName, @NotNull @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull @NotNull OperationResult result) -
loadCorrelationTypeSuggestions
@Nullable public static @Nullable List<com.evolveum.midpoint.smart.api.info.StatusInfo<CorrelationSuggestionsType>> loadCorrelationTypeSuggestions(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull String resourceOid, @NotNull @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull @NotNull OperationResult result) -
loadObjectTypeMappingTypeSuggestions
@Nullable public static @Nullable List<com.evolveum.midpoint.smart.api.info.StatusInfo<MappingsSuggestionType>> loadObjectTypeMappingTypeSuggestions(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull String resourceOid, @NotNull @NotNull MappingDirection mappingDirection, @Nullable @Nullable ResourceObjectTypeIdentification objectTypeIdentification, @NotNull @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull @NotNull OperationResult result) -
loadObjectTypeMappingTypeSuggestion
@Nullable public static @Nullable com.evolveum.midpoint.smart.api.info.StatusInfo<MappingsSuggestionType> loadObjectTypeMappingTypeSuggestion(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull String resourceOid, @Nullable @Nullable ResourceObjectTypeIdentification objectTypeIdentification, @NotNull @NotNull MappingDirection mappingDirection, @NotNull @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull @NotNull OperationResult result) -
loadAssociationTypeSuggestion
@Nullable public static @Nullable com.evolveum.midpoint.smart.api.info.StatusInfo<AssociationsSuggestionType> loadAssociationTypeSuggestion(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull String resourceOid, @NotNull @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull @NotNull OperationResult result) -
loadCorrelationTypeSuggestion
@Nullable public static @Nullable com.evolveum.midpoint.smart.api.info.StatusInfo<CorrelationSuggestionsType> loadCorrelationTypeSuggestion(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull String resourceOid, @NotNull @NotNull ResourceObjectTypeIdentification identification, @NotNull @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull @NotNull OperationResult result) -
loadCorrelationSuggestionWrappers
@NotNull public static @NotNull SmartIntegrationStatusInfoUtils.SuggestionProviderResult<ItemsSubCorrelatorType,CorrelationSuggestionsType> loadCorrelationSuggestionWrappers(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull String resourceOid, @NotNull @NotNull ResourceObjectTypeDefinitionType rotDef, boolean includeNonCompletedSuggestions, @NotNull @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull @NotNull OperationResult result) -
loadMappingSuggestionWrappers
@NotNull public static @NotNull SmartIntegrationStatusInfoUtils.SuggestionProviderResult<MappingType,MappingsSuggestionType> loadMappingSuggestionWrappers(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull String resourceOid, @NotNull @NotNull ResourceObjectTypeDefinitionType rotDef, @NotNull @NotNull MappingDirection mappingDirection, boolean includeNonCompletedSuggestions, @NotNull @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull @NotNull OperationResult result) -
isNotCompletedSuggestion
public static boolean isNotCompletedSuggestion(@Nullable @Nullable com.evolveum.midpoint.smart.api.info.StatusInfo<?> statusInfo) -
isSuggestionExists
public static boolean isSuggestionExists(@Nullable @Nullable com.evolveum.midpoint.smart.api.info.StatusInfo<?> statusInfo) -
collectRequiredResourceAttributeDefs
@NotNull public static @NotNull List<ResourceAttributeDefinitionType> collectRequiredResourceAttributeDefs(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull org.apache.wicket.ajax.AjaxRequestTarget target, @NotNull @NotNull PrismContainerValueWrapper<CorrelationSuggestionType> parentSuggestionW) -
collectAdditionalMappingsIfSuggestion
@NotNull public static @NotNull Set<AdditionalCorrelationItemMappingType> collectAdditionalMappingsIfSuggestion(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull org.apache.wicket.ajax.AjaxRequestTarget target, @NotNull @NotNull List<PrismContainerValueWrapper<ItemsSubCorrelatorType>> itemsW) -
loadObjectTypeSuggestionWrappers
@NotNull public static @NotNull SmartIntegrationStatusInfoUtils.SuggestionProviderResult<ResourceObjectTypeDefinitionType,ObjectTypesSuggestionType> loadObjectTypeSuggestionWrappers(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull String resourceOid, @NotNull @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull @NotNull OperationResult result) -
loadAssociationTypeSuggestionWrappers
@NotNull public static @NotNull SmartIntegrationStatusInfoUtils.SuggestionProviderResult<ShadowAssociationTypeDefinitionType,AssociationsSuggestionType> loadAssociationTypeSuggestionWrappers(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull String resourceOid, @NotNull @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull @NotNull OperationResult result) -
buildStatusRows
@NotNull public static @NotNull List<StatusRowRecord> buildStatusRows(@NotNull @NotNull PageBase pageBase, @Nullable @Nullable com.evolveum.midpoint.smart.api.info.StatusInfo<?> suggestion, boolean rejectEmptyProgress) -
buildProgressMessageModel
protected static org.apache.wicket.model.IModel<String> buildProgressMessageModel(@NotNull @NotNull PageBase pageBase, @Nullable @Nullable String operationKey, @NotNull @NotNull ActivityProgressInformation child) -
extractEfficiencyFromSuggestedCorrelationItemWrapper
@NotNull public static @NotNull String extractEfficiencyFromSuggestedCorrelationItemWrapper(@NotNull @NotNull PrismContainerValueWrapper<ItemsSubCorrelatorType> valueWrapper) -
extractEfficiencyFromSuggestedMappingItemWrapper
@Nullable public static @Nullable Float extractEfficiencyFromSuggestedMappingItemWrapper(@NotNull @NotNull PrismContainerValueWrapper<MappingType> valueWrapper) -
computeSuggestedObjectsCount
public static int computeSuggestedObjectsCount(@Nullable @Nullable com.evolveum.midpoint.smart.api.info.StatusInfo<?> statusInfo) -
showSuggestionInfoPanelPopup
public static void showSuggestionInfoPanelPopup(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull org.apache.wicket.ajax.AjaxRequestTarget target, @Nullable @Nullable com.evolveum.midpoint.smart.api.info.StatusInfo<?> statusInfo) -
handleSuggestionSuspendResumeOperation
public static void handleSuggestionSuspendResumeOperation(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull com.evolveum.midpoint.smart.api.info.StatusInfo<?> statusInfo, @NotNull @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull @NotNull OperationResult result)
-