Package com.evolveum.midpoint.repo.sqale
Class ExtensionProcessor
java.lang.Object
com.evolveum.midpoint.repo.sqale.ExtensionProcessor
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Contains ext item from catalog and additional info needed for processing. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
extensionsToContainer
(Map<String, Object> attributes, Containerable container) extItemValue
(Item<?, ?> item, ExtensionProcessor.ExtItemInfo extItemInfo) findExtensionItem
(@NotNull ItemDefinition<?> definition, MExtItemHolderType holderType) Returns ext item definition or null if the item is not indexed and should be skipped.processExtensions
(@NotNull Containerable extContainer, MExtItemHolderType holderType) resolveExtensionItem
(@NotNull ItemDefinition<?> definition, MExtItemHolderType holderType) Finds extension item for the provided definition and holder type.
-
Constructor Details
-
ExtensionProcessor
-
-
Method Details
-
processExtensions
public Jsonb processExtensions(@NotNull @NotNull Containerable extContainer, MExtItemHolderType holderType) -
findExtensionItem
@Nullable public ExtensionProcessor.ExtItemInfo findExtensionItem(@NotNull @NotNull ItemDefinition<?> definition, MExtItemHolderType holderType) Returns ext item definition or null if the item is not indexed and should be skipped. -
extItemValue
-
resolveExtensionItem
public MExtItem resolveExtensionItem(@NotNull @NotNull ItemDefinition<?> definition, MExtItemHolderType holderType) Finds extension item for the provided definition and holder type. Returns null if the item is not indexed. -
extensionsToContainer
public void extensionsToContainer(Map<String, Object> attributes, Containerable container) throws SchemaException- Throws:
SchemaException
-