Package com.evolveum.midpoint.gui.impl.page.admin.resource.component.wizard.schemaHandling.objectType.smart
Class SmartIntegrationWrapperUtils
java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.resource.component.wizard.schemaHandling.objectType.smart.SmartIntegrationWrapperUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <C extends Containerable>
@NotNull org.apache.wicket.model.IModel<PrismContainerWrapper<C>>createcContainerModel(@NotNull org.apache.wicket.model.IModel<PrismContainerValueWrapper<CorrelationDefinitionType>> model, @Nullable ItemPath path) static <C extends Containerable>
@NotNull org.apache.wicket.model.IModel<PrismContainerWrapper<C>>createCorrelationItemContainerModel(@NotNull org.apache.wicket.model.IModel<PrismContainerValueWrapper<ItemsSubCorrelatorType>> model, @Nullable ItemPath path) static <C extends Containerable>
PrismContainerValueWrapper<C>createNewItemContainerValueWrapper(@NotNull PageBase pageBase, @NotNull PrismContainerValue<?> newItem, @NotNull PrismContainerWrapper<C> model, @NotNull org.apache.wicket.ajax.AjaxRequestTarget target) static @Nullable PrismContainerValueWrapper<ItemsSubCorrelatorType>createNewItemsSubCorrelatorValue(@NotNull PageBase pageBase, @NotNull org.apache.wicket.markup.html.WebMarkupContainer feedback, @NotNull org.apache.wicket.model.IModel<PrismContainerValueWrapper<CorrelationDefinitionType>> model, @Nullable PrismContainerValue<ItemsSubCorrelatorType> value, @NotNull org.apache.wicket.ajax.AjaxRequestTarget target) static voiddiscardDraftMapping(@NotNull PageBase pageBase, @NotNull PrismContainerValueWrapper<MappingType> draftMappingVw) extractCorrelationItemListWrapper(@NotNull PrismContainerValueWrapper<ItemsSubCorrelatorType> object) static @Nullable PrismContainerValueWrapper<MappingType>findRelatedMapping(@NotNull PageBase pageBase, @NotNull PrismContainerValueWrapper<CorrelationItemType> correlationItemWrapper, @Nullable PrismContainerWrapper<?> mappings, @NotNull ItemPath parentPath, @NotNull MappingDirection mappingDirection) static InboundMappingTypegetSingleInboundMapping(@Nullable ResourceAttributeDefinitionType attributeDefinition) Resolves the attribute definition's single inbound mapping, if available.protected static booleanisCorrelationRulePresent(@NotNull PrismContainer<ItemsSubCorrelatorType> container, PrismContainerValue<ItemsSubCorrelatorType> newValue) static <C extends Containerable>
@NotNull PrismContainerValue<C>processSuggestedContainerValue(@NotNull PrismContainerValue<C> container) static voidtransformAndAddMappingIntoCorrelationItemContainer(@NotNull PageBase pageBase, @NotNull org.apache.wicket.model.IModel<PrismContainerValueWrapper<ItemsSubCorrelatorType>> valueModel, @NotNull PrismContainerValueWrapper<MappingType> mappingWrapper, @NotNull org.apache.wicket.ajax.AjaxRequestTarget target)
-
Constructor Details
-
SmartIntegrationWrapperUtils
public SmartIntegrationWrapperUtils()
-
-
Method Details
-
processSuggestedContainerValue
@NotNull public static <C extends Containerable> @NotNull PrismContainerValue<C> processSuggestedContainerValue(@NotNull @NotNull PrismContainerValue<C> container) -
getSingleInboundMapping
public static InboundMappingType getSingleInboundMapping(@Nullable @Nullable ResourceAttributeDefinitionType attributeDefinition) Resolves the attribute definition's single inbound mapping, if available. Purpose: smart integration support only one mapping for inbound direction. Returnsnullif the complex type definition cannot be resolved. -
createcContainerModel
@Contract("_, _ -> new") @NotNull public static <C extends Containerable> @NotNull org.apache.wicket.model.IModel<PrismContainerWrapper<C>> createcContainerModel(@NotNull @NotNull org.apache.wicket.model.IModel<PrismContainerValueWrapper<CorrelationDefinitionType>> model, @Nullable @Nullable ItemPath path) -
createNewItemContainerValueWrapper
public static <C extends Containerable> PrismContainerValueWrapper<C> createNewItemContainerValueWrapper(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull PrismContainerValue<?> newItem, @NotNull @NotNull PrismContainerWrapper<C> model, @NotNull @NotNull org.apache.wicket.ajax.AjaxRequestTarget target) -
createNewItemsSubCorrelatorValue
@Nullable public static @Nullable PrismContainerValueWrapper<ItemsSubCorrelatorType> createNewItemsSubCorrelatorValue(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull org.apache.wicket.markup.html.WebMarkupContainer feedback, @NotNull @NotNull org.apache.wicket.model.IModel<PrismContainerValueWrapper<CorrelationDefinitionType>> model, @Nullable @Nullable PrismContainerValue<ItemsSubCorrelatorType> value, @NotNull @NotNull org.apache.wicket.ajax.AjaxRequestTarget target) -
isCorrelationRulePresent
protected static boolean isCorrelationRulePresent(@NotNull @NotNull PrismContainer<ItemsSubCorrelatorType> container, PrismContainerValue<ItemsSubCorrelatorType> newValue) -
transformAndAddMappingIntoCorrelationItemContainer
public static void transformAndAddMappingIntoCorrelationItemContainer(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull org.apache.wicket.model.IModel<PrismContainerValueWrapper<ItemsSubCorrelatorType>> valueModel, @NotNull @NotNull PrismContainerValueWrapper<MappingType> mappingWrapper, @NotNull @NotNull org.apache.wicket.ajax.AjaxRequestTarget target) -
createCorrelationItemContainerModel
@Contract("_, _ -> new") @NotNull public static <C extends Containerable> @NotNull org.apache.wicket.model.IModel<PrismContainerWrapper<C>> createCorrelationItemContainerModel(@NotNull @NotNull org.apache.wicket.model.IModel<PrismContainerValueWrapper<ItemsSubCorrelatorType>> model, @Nullable @Nullable ItemPath path) -
findRelatedMapping
@Nullable public static @Nullable PrismContainerValueWrapper<MappingType> findRelatedMapping(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull PrismContainerValueWrapper<CorrelationItemType> correlationItemWrapper, @Nullable @Nullable PrismContainerWrapper<?> mappings, @NotNull @NotNull ItemPath parentPath, @NotNull @NotNull MappingDirection mappingDirection) -
discardDraftMapping
public static void discardDraftMapping(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull PrismContainerValueWrapper<MappingType> draftMappingVw) -
extractCorrelationItemListWrapper
public static List<PrismContainerValueWrapper<CorrelationItemType>> extractCorrelationItemListWrapper(@NotNull @NotNull PrismContainerValueWrapper<ItemsSubCorrelatorType> object)
-