Class ItemValueMetadataProcessingSpec
java.lang.Object
com.evolveum.midpoint.model.common.mapping.metadata.ItemValueMetadataProcessingSpec
- All Implemented Interfaces:
DebugDumpable,ShortDumpable
Specification of value metadata processing for a given data item: mappings that should be applied
and item definitions driving e.g. storage and applicability of built-in processing of individual
metadata items.
Information present here is derived from e.g. object templates and metadata mappings attached to data mappings.
It is already processed regarding applicability of metadata processing to individual data items.
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetadataMappings(@NotNull List<MetadataMappingType> mappingsToAdd, @NotNull OriginProvider<MetadataMappingType> originProvider) voidaddPathsToIgnore(@NotNull List<ItemPathType> pathsToIgnore) debugDump(int indent) forScope(@NotNull MetadataMappingScopeType scope) forScope(@NotNull MetadataMappingScopeType scope, boolean useDefaults) @NotNull Collection<MetadataMappingConfigItem>@NotNull MetadataMappingScopeTypegetScope()booleanisEmpty()booleanisFullProcessing(ItemPath itemPath) voidpopulateFromCurrentFocusTemplate(@NotNull ItemPath dataPath, ItemDefinition<?> dataDefinition, ObjectResolver objectResolver, String contextDesc, Task task, OperationResult result) voidpopulateFromCurrentFocusTemplate(ModelContext<?> lensContext, @NotNull ItemPath dataPath, ItemDefinition<?> dataDefinition, ObjectResolver objectResolver, String contextDesc, Task task, OperationResult result) voidShow the content of the object intended for diagnostics.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
Method Details
-
forScope
public static ItemValueMetadataProcessingSpec forScope(@NotNull @NotNull MetadataMappingScopeType scope) -
forScope
public static ItemValueMetadataProcessingSpec forScope(@NotNull @NotNull MetadataMappingScopeType scope, boolean useDefaults) -
populateFromCurrentFocusTemplate
public void populateFromCurrentFocusTemplate(@NotNull @NotNull ItemPath dataPath, ItemDefinition<?> dataDefinition, ObjectResolver objectResolver, String contextDesc, Task task, OperationResult result) throws CommunicationException, ObjectNotFoundException, SchemaException, SecurityViolationException, ConfigurationException, ExpressionEvaluationException -
populateFromCurrentFocusTemplate
public void populateFromCurrentFocusTemplate(ModelContext<?> lensContext, @NotNull @NotNull ItemPath dataPath, ItemDefinition<?> dataDefinition, ObjectResolver objectResolver, String contextDesc, Task task, OperationResult result) throws CommunicationException, ObjectNotFoundException, SchemaException, SecurityViolationException, ConfigurationException, ExpressionEvaluationException -
isEmpty
public boolean isEmpty() -
addMetadataMappings
public void addMetadataMappings(@NotNull @NotNull List<MetadataMappingType> mappingsToAdd, @NotNull @NotNull OriginProvider<MetadataMappingType> originProvider) -
getMappings
-
isFullProcessing
-
getScope
-
shortDump
Description copied from interface:ShortDumpableShow the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.- Specified by:
shortDumpin interfaceShortDumpable- Parameters:
sb- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-
addPathsToIgnore
-