Class IndexedItemValueNormalizerImpl
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.indexing.IndexedItemValueNormalizerImpl
-
- All Implemented Interfaces:
IndexedItemValueNormalizer,ValueNormalizer
public class IndexedItemValueNormalizerImpl extends Object implements IndexedItemValueNormalizer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IndexedItemValueNormalizercreate(@NotNull String indexedItemName, @NotNull IndexedItemNormalizationDefinitionType normalizationBean)@NotNull PrismPropertyDefinition<?>getIndexItemDefinition()Returns the definition of the indexed version of the item.ItemNamegetIndexItemName()Returns the qualified name of the indexed version of the item, corresponding to this normalizer (normalization).ItemPathgetIndexItemPath()Returns the full path to the indexed version of the item.@NotNull StringgetName()Returns the name of the normalizer (normalization).booleanisDefault()Is this normalizer (normalization) the default one configured for the given item?@NotNull Stringnormalize(@NotNull Object rawInput, Task task, OperationResult result)StringtoString()
-
-
-
Method Detail
-
create
public static IndexedItemValueNormalizer create(@NotNull @NotNull String indexedItemName, @NotNull @NotNull IndexedItemNormalizationDefinitionType normalizationBean)
-
getName
@NotNull public @NotNull String getName()
Description copied from interface:IndexedItemValueNormalizerReturns the name of the normalizer (normalization).- Specified by:
getNamein interfaceIndexedItemValueNormalizer
-
isDefault
public boolean isDefault()
Description copied from interface:IndexedItemValueNormalizerIs this normalizer (normalization) the default one configured for the given item?- Specified by:
isDefaultin interfaceIndexedItemValueNormalizer
-
getIndexItemName
public ItemName getIndexItemName()
Description copied from interface:IndexedItemValueNormalizerReturns the qualified name of the indexed version of the item, corresponding to this normalizer (normalization).- Specified by:
getIndexItemNamein interfaceIndexedItemValueNormalizer
-
getIndexItemPath
public ItemPath getIndexItemPath()
Description copied from interface:IndexedItemValueNormalizerReturns the full path to the indexed version of the item.- Specified by:
getIndexItemPathin interfaceIndexedItemValueNormalizer
-
getIndexItemDefinition
@NotNull public @NotNull PrismPropertyDefinition<?> getIndexItemDefinition()
Description copied from interface:IndexedItemValueNormalizerReturns 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:
getIndexItemDefinitionin interfaceIndexedItemValueNormalizer
-
normalize
@NotNull public @NotNull String normalize(@NotNull @NotNull Object rawInput, Task task, OperationResult result) throws SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ConfigurationException, ObjectNotFoundException
- Specified by:
normalizein interfaceValueNormalizer- Throws:
SchemaExceptionExpressionEvaluationExceptionCommunicationExceptionSecurityViolationExceptionConfigurationExceptionObjectNotFoundException
-
-