Class IndexedItemValueNormalizerImpl
java.lang.Object
com.evolveum.midpoint.model.impl.lens.indexing.IndexedItemValueNormalizerImpl
- All Implemented Interfaces:
IndexedItemValueNormalizer
,ValueNormalizer
-
Method Summary
Modifier and TypeMethodDescriptionstatic IndexedItemValueNormalizer
create
(@NotNull String indexedItemName, @NotNull IndexedItemNormalizationDefinitionType normalizationBean) @NotNull PrismPropertyDefinition<?>
Returns the definition of the indexed version of the item.Returns the qualified name of the indexed version of the item, corresponding to this normalizer (normalization).Returns the full path to the indexed version of the item.@NotNull String
getName()
Returns the name of the normalizer (normalization).boolean
Is this normalizer (normalization) the default one configured for the given item?@NotNull String
normalize
(@NotNull Object rawInput, Task task, OperationResult result) toString()
-
Method Details
-
create
public static IndexedItemValueNormalizer create(@NotNull @NotNull String indexedItemName, @NotNull @NotNull IndexedItemNormalizationDefinitionType normalizationBean) -
getName
Description copied from interface:IndexedItemValueNormalizer
Returns the name of the normalizer (normalization).- Specified by:
getName
in interfaceIndexedItemValueNormalizer
-
isDefault
public boolean isDefault()Description copied from interface:IndexedItemValueNormalizer
Is this normalizer (normalization) the default one configured for the given item?- Specified by:
isDefault
in interfaceIndexedItemValueNormalizer
-
getIndexItemName
Description copied from interface:IndexedItemValueNormalizer
Returns the qualified name of the indexed version of the item, corresponding to this normalizer (normalization).- Specified by:
getIndexItemName
in interfaceIndexedItemValueNormalizer
-
getIndexItemPath
Description copied from interface:IndexedItemValueNormalizer
Returns the full path to the indexed version of the item.- Specified by:
getIndexItemPath
in interfaceIndexedItemValueNormalizer
-
getIndexItemDefinition
Description copied from interface:IndexedItemValueNormalizer
Returns the definition of the indexed version of the item. Currently, it is always a definition of a string. Later this may be changed.- Specified by:
getIndexItemDefinition
in interfaceIndexedItemValueNormalizer
-
normalize
@NotNull public @NotNull String normalize(@NotNull @NotNull Object rawInput, Task task, OperationResult result) throws SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ConfigurationException, ObjectNotFoundException - Specified by:
normalize
in interfaceValueNormalizer
- Throws:
SchemaException
ExpressionEvaluationException
CommunicationException
SecurityViolationException
ConfigurationException
ObjectNotFoundException
-
toString
-