Class HeterogenousContainerWrapperFactory<C extends Containerable>
java.lang.Object
com.evolveum.midpoint.gui.impl.factory.wrapper.ItemWrapperFactoryImpl<PrismContainerWrapper<C>,PrismContainerValue<C>,PrismContainer<C>,PrismContainerValueWrapper<C>>
com.evolveum.midpoint.gui.impl.factory.wrapper.PrismContainerWrapperFactoryImpl<C>
com.evolveum.midpoint.gui.impl.factory.wrapper.HeterogenousContainerWrapperFactory<C>
- All Implemented Interfaces:
ItemWrapperFactory<PrismContainerWrapper<C>,,PrismContainerValueWrapper<C>, PrismContainerValue<C>> PrismContainerWrapperFactory<C>,WrapperFactory
@Component
public class HeterogenousContainerWrapperFactory<C extends Containerable>
extends PrismContainerWrapperFactoryImpl<C>
Just like
PrismContainerWrapperFactoryImpl but sets PrismContainerValueWrapper.isHeterogenous() flag to `true`.- Author:
- katka
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateValueWrapper(PrismContainerWrapper<C> parent, PrismContainerValue<C> value, ValueStatus status, WrapperContext context) protected List<? extends ItemDefinition>getItemDefinitions(PrismContainerWrapper<C> parent, PrismContainerValue<C> value) intgetOrder()booleanmatch(ItemDefinition<?> itemDef) match single value containers which contains a looot of other conainers, e.g.voidregister()Methods inherited from class com.evolveum.midpoint.gui.impl.factory.wrapper.PrismContainerWrapperFactoryImpl
addItemWrapper, createChildren, createChildWrapper, createContainerValueWrapper, createNewValue, createWrapperInternal, registerWrapperPanel, setupWrapper, shouldBeExpandedMethods inherited from class com.evolveum.midpoint.gui.impl.factory.wrapper.ItemWrapperFactoryImpl
canCreateValueWrapper, canCreateWrapper, createValuesWrapper, createWrapper, createWrapper, getModelInteractionService, getModelService, getPrismContext, getRegistry, getTaskManager, getValues, setupMetadata, shouldCreateEmptyValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.gui.api.factory.wrapper.ItemWrapperFactory
createWrapper, createWrapperMethods inherited from interface com.evolveum.midpoint.gui.api.factory.wrapper.WrapperFactory
match
-
Constructor Details
-
HeterogenousContainerWrapperFactory
public HeterogenousContainerWrapperFactory()
-
-
Method Details
-
createValueWrapper
public PrismContainerValueWrapper<C> createValueWrapper(PrismContainerWrapper<C> parent, PrismContainerValue<C> value, ValueStatus status, WrapperContext context) throws SchemaException - Specified by:
createValueWrapperin interfaceItemWrapperFactory<PrismContainerWrapper<C extends Containerable>,PrismContainerValueWrapper<C extends Containerable>, PrismContainerValue<C extends Containerable>> - Overrides:
createValueWrapperin classPrismContainerWrapperFactoryImpl<C extends Containerable>- Throws:
SchemaException
-
getItemDefinitions
protected List<? extends ItemDefinition> getItemDefinitions(PrismContainerWrapper<C> parent, PrismContainerValue<C> value) - Overrides:
getItemDefinitionsin classPrismContainerWrapperFactoryImpl<C extends Containerable>
-
match
match single value containers which contains a looot of other conainers, e.g. policy rule, policy action, notification configuration, etc- Specified by:
matchin interfaceWrapperFactory- Overrides:
matchin classPrismContainerWrapperFactoryImpl<C extends Containerable>
-
register
@PostConstruct public void register()- Specified by:
registerin interfaceWrapperFactory- Overrides:
registerin classPrismContainerWrapperFactoryImpl<C extends Containerable>
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceWrapperFactory- Overrides:
getOrderin classPrismContainerWrapperFactoryImpl<C extends Containerable>
-