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)intgetOrder()booleanmatch(ItemDefinition<?> def)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, 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:
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
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:
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>
-
-