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>
- Author:
- katka
-
-
Constructor Summary
Constructors Constructor Description HeterogenousContainerWrapperFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValueWrapper<C>
createValueWrapper(PrismContainerWrapper<C> parent, PrismContainerValue<C> value, ValueStatus status, WrapperContext context)
protected List<? extends ItemDefinition>
getItemDefinitions(PrismContainerWrapper<C> parent, PrismContainerValue<C> value)
int
getOrder()
boolean
match(ItemDefinition<?> def)
match single value containers which contains a looot of other conainers, e.g.void
register()
-
Methods inherited from class com.evolveum.midpoint.gui.impl.factory.wrapper.PrismContainerWrapperFactoryImpl
addItemWrapper, createChildren, createChildWrapper, createContainerValueWrapper, createNewValue, createWrapperInternal, registerWrapperPanel, setupWrapper, shouldBeExpanded
-
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.ItemWrapperFactory
createWrapper, createWrapper
-
Methods inherited from interface com.evolveum.midpoint.gui.api.factory.wrapper.WrapperFactory
match
-
-
-
-
Method Detail
-
createValueWrapper
public PrismContainerValueWrapper<C> createValueWrapper(PrismContainerWrapper<C> parent, PrismContainerValue<C> value, ValueStatus status, WrapperContext context) throws SchemaException
- Specified by:
createValueWrapper
in interfaceItemWrapperFactory<PrismContainerWrapper<C extends Containerable>,PrismContainerValueWrapper<C extends Containerable>,PrismContainerValue<C extends Containerable>>
- Overrides:
createValueWrapper
in classPrismContainerWrapperFactoryImpl<C extends Containerable>
- Throws:
SchemaException
-
getItemDefinitions
protected List<? extends ItemDefinition> getItemDefinitions(PrismContainerWrapper<C> parent, PrismContainerValue<C> value)
- Overrides:
getItemDefinitions
in classPrismContainerWrapperFactoryImpl<C extends Containerable>
-
match
public boolean match(ItemDefinition<?> def)
match single value containers which contains a looot of other conainers, e.g. policy rule, policy action, notification configuration, etc- Specified by:
match
in interfaceWrapperFactory
- Overrides:
match
in classPrismContainerWrapperFactoryImpl<C extends Containerable>
-
register
@PostConstruct public void register()
- Specified by:
register
in interfaceWrapperFactory
- Overrides:
register
in classPrismContainerWrapperFactoryImpl<C extends Containerable>
-
getOrder
public int getOrder()
- Specified by:
getOrder
in interfaceWrapperFactory
- Overrides:
getOrder
in classPrismContainerWrapperFactoryImpl<C extends Containerable>
-
-