Class PrismPropertyWrapperFactoryImpl<T>
- java.lang.Object
-
- com.evolveum.midpoint.gui.impl.factory.wrapper.ItemWrapperFactoryImpl<PrismPropertyWrapper<T>,PrismPropertyValue<T>,PrismProperty<T>,PrismPropertyValueWrapper<T>>
-
- com.evolveum.midpoint.gui.impl.factory.wrapper.PrismPropertyWrapperFactoryImpl<T>
-
- All Implemented Interfaces:
ItemWrapperFactory<PrismPropertyWrapper<T>,PrismPropertyValueWrapper<T>,PrismPropertyValue<T>>,WrapperFactory
- Direct Known Subclasses:
ExpressionWrapperFactory,ProtectedStringWrapperFactory,TaskHandlerWrapperFactory
@Component public class PrismPropertyWrapperFactoryImpl<T> extends ItemWrapperFactoryImpl<PrismPropertyWrapper<T>,PrismPropertyValue<T>,PrismProperty<T>,PrismPropertyValueWrapper<T>>
- Author:
- katka
-
-
Field Summary
Fields Modifier and Type Field Description protected SchemaServiceschemaService
-
Constructor Summary
Constructors Constructor Description PrismPropertyWrapperFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PrismPropertyValue<T>createNewValue(PrismProperty<T> item)PrismPropertyValueWrapper<T>createValueWrapper(PrismPropertyWrapper<T> parent, PrismPropertyValue<T> value, ValueStatus status, WrapperContext context)protected PrismPropertyWrapper<T>createWrapperInternal(PrismContainerValueWrapper<?> parent, PrismProperty<T> item, ItemStatus status, WrapperContext wrapperContext)intgetOrder()protected StringgetPredefinedValuesOid(PrismProperty<T> item)booleanmatch(ItemDefinition<?> def)voidregister()voidregisterWrapperPanel(PrismPropertyWrapper<T> wrapper)protected voidsetupWrapper(PrismPropertyWrapper<T> wrapper)-
Methods inherited from class com.evolveum.midpoint.gui.impl.factory.wrapper.ItemWrapperFactoryImpl
canCreateValueWrapper, canCreateWrapper, createValuesWrapper, createWrapper, createWrapper, getModelInteractionService, getModelService, getPrismContext, getRegistry, getTaskManager, getValues, setupMetadata, shouldCreateEmptyValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.gui.api.factory.wrapper.WrapperFactory
match
-
-
-
-
Field Detail
-
schemaService
@Autowired protected SchemaService schemaService
-
-
Method Detail
-
match
public boolean match(ItemDefinition<?> def)
-
register
@PostConstruct public void register()
-
getOrder
public int getOrder()
-
createNewValue
protected PrismPropertyValue<T> createNewValue(PrismProperty<T> item) throws SchemaException
- Specified by:
createNewValuein classItemWrapperFactoryImpl<PrismPropertyWrapper<T>,PrismPropertyValue<T>,PrismProperty<T>,PrismPropertyValueWrapper<T>>- Throws:
SchemaException
-
createWrapperInternal
protected PrismPropertyWrapper<T> createWrapperInternal(PrismContainerValueWrapper<?> parent, PrismProperty<T> item, ItemStatus status, WrapperContext wrapperContext)
- Specified by:
createWrapperInternalin classItemWrapperFactoryImpl<PrismPropertyWrapper<T>,PrismPropertyValue<T>,PrismProperty<T>,PrismPropertyValueWrapper<T>>
-
getPredefinedValuesOid
protected String getPredefinedValuesOid(PrismProperty<T> item)
-
createValueWrapper
public PrismPropertyValueWrapper<T> createValueWrapper(PrismPropertyWrapper<T> parent, PrismPropertyValue<T> value, ValueStatus status, WrapperContext context)
-
registerWrapperPanel
public void registerWrapperPanel(PrismPropertyWrapper<T> wrapper)
- Specified by:
registerWrapperPanelin classItemWrapperFactoryImpl<PrismPropertyWrapper<T>,PrismPropertyValue<T>,PrismProperty<T>,PrismPropertyValueWrapper<T>>
-
setupWrapper
protected void setupWrapper(PrismPropertyWrapper<T> wrapper)
- Specified by:
setupWrapperin classItemWrapperFactoryImpl<PrismPropertyWrapper<T>,PrismPropertyValue<T>,PrismProperty<T>,PrismPropertyValueWrapper<T>>
-
-