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
- Direct Known Subclasses:
AssociationSynchronizationActionFactory
@Component
public class HeterogenousContainerWrapperFactory<C extends Containerable>
extends PrismContainerWrapperFactoryImpl<C>
Just like
PrismContainerWrapperFactoryImpl
but sets PrismContainerValueWrapper.isHeterogenous()
flag to `true`.- Author:
- katka
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateValueWrapper
(PrismContainerWrapper<C> parent, PrismContainerValue<C> value, ValueStatus status, WrapperContext context) protected boolean
filterDefinitions
(PrismContainerValue<C> value, ItemDefinition<?> def) protected List<? extends ItemDefinition>
getItemDefinitions
(PrismContainerWrapper<C> parent, PrismContainerValue<C> value) int
getOrder()
<C extends Containerable>
booleanmatch
(ItemDefinition<?> itemDef, PrismContainerValue<C> parent) match single value containers which contains a looot of other conainers, e.g. policy rule, policy action, notification configuration, etcvoid
register()
Methods inherited from class com.evolveum.midpoint.gui.impl.factory.wrapper.PrismContainerWrapperFactoryImpl
addItemWrapper, createChildren, createChildWrapper, createContainerValueWrapper, createNewValue, createVirtualWrappers, createWrapper, createWrapperInternal, match, recomputeStatus, registerWrapperPanel, setupWrapper, shouldBeExpanded
Methods inherited from class com.evolveum.midpoint.gui.impl.factory.wrapper.ItemWrapperFactoryImpl
canCreateValueWrapper, canCreateWrapper, createValuesWrapper, createWrapper, createWrapper, determineReadOnly, getModelInteractionService, getModelService, getPrismContext, getRegistry, getStatus, getTaskManager, getValues, setupMetadata, shouldCreateEmptyValue, skipCreateWrapper
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
-
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:
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>
-
filterDefinitions
-
match
public <C extends Containerable> boolean match(ItemDefinition<?> itemDef, PrismContainerValue<C> parent) match single value containers which contains a looot of other conainers, e.g. policy rule, policy action, notification configuration, etc -
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>
-