Class PrismContainerWrapperFactoryImpl<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>
-
- All Implemented Interfaces:
ItemWrapperFactory<PrismContainerWrapper<C>,PrismContainerValueWrapper<C>,PrismContainerValue<C>>
,PrismContainerWrapperFactory<C>
,WrapperFactory
- Direct Known Subclasses:
AppendersWrapperFactoryImpl
,AssignmentDetailsWrapperFactoryImpl
,ClassLoggerWrapperFactoryImpl
,ConnectorConfigurationWrapperFactoryImpl
,HeterogenousContainerWrapperFactory
,LoggingConfigurationWrapperFactoryImpl
,MetadataWrapperFactoryImpl
,NoEmptyValueContainerWrapperFactoryImpl
,OperationalContainerWrapperFactory
,OutboundAttributeMappingWrapperFactory
,PrismObjectWrapperFactoryImpl
,ProfilingClassLoggerWrapperFactoryImpl
,ReportParamWrapperFactoryImpl
,ResourceAttributeMappingWrapperFactory
,ShadowAssociationWrapperFactoryImpl
,ShadowAttributesWrapperFactoryImpl
,ValueMetadataWrapperFactoryImpl
@Component public class PrismContainerWrapperFactoryImpl<C extends Containerable> extends ItemWrapperFactoryImpl<PrismContainerWrapper<C>,PrismContainerValue<C>,PrismContainer<C>,PrismContainerValueWrapper<C>> implements PrismContainerWrapperFactory<C>
- Author:
- katka
-
-
Constructor Summary
Constructors Constructor Description PrismContainerWrapperFactoryImpl()
-
Method Summary
-
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
-
match
public boolean match(ItemDefinition<?> def)
- Specified by:
match
in interfaceWrapperFactory
-
register
@PostConstruct public void register()
- Specified by:
register
in interfaceWrapperFactory
-
getOrder
public int getOrder()
- Specified by:
getOrder
in interfaceWrapperFactory
-
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>>
- Throws:
SchemaException
-
createChildren
@NotNull protected @NotNull List<ItemWrapper<?,?>> createChildren(PrismContainerWrapper<C> parent, PrismContainerValue<C> value, PrismContainerValueWrapper<C> containerValueWrapper, WrapperContext context) throws SchemaException
- Throws:
SchemaException
-
getItemDefinitions
protected List<? extends ItemDefinition> getItemDefinitions(PrismContainerWrapper<C> parent, PrismContainerValue<C> value)
-
addItemWrapper
protected void addItemWrapper(ItemDefinition<?> def, PrismContainerValueWrapper<?> containerValueWrapper, WrapperContext context, List<ItemWrapper<?,?>> wrappers) throws SchemaException
- Throws:
SchemaException
-
createChildWrapper
protected ItemWrapper<?,?> createChildWrapper(ItemDefinition<?> def, PrismContainerValueWrapper<?> containerValueWrapper, WrapperContext context) throws SchemaException
- Throws:
SchemaException
-
createNewValue
protected PrismContainerValue<C> createNewValue(PrismContainer<C> item)
- Specified by:
createNewValue
in classItemWrapperFactoryImpl<PrismContainerWrapper<C extends Containerable>,PrismContainerValue<C extends Containerable>,PrismContainer<C extends Containerable>,PrismContainerValueWrapper<C extends Containerable>>
-
createWrapperInternal
protected PrismContainerWrapper<C> createWrapperInternal(PrismContainerValueWrapper<?> parent, PrismContainer<C> childContainer, ItemStatus status, WrapperContext ctx)
- Specified by:
createWrapperInternal
in classItemWrapperFactoryImpl<PrismContainerWrapper<C extends Containerable>,PrismContainerValue<C extends Containerable>,PrismContainer<C extends Containerable>,PrismContainerValueWrapper<C extends Containerable>>
-
registerWrapperPanel
public void registerWrapperPanel(PrismContainerWrapper<C> wrapper)
- Specified by:
registerWrapperPanel
in classItemWrapperFactoryImpl<PrismContainerWrapper<C extends Containerable>,PrismContainerValue<C extends Containerable>,PrismContainer<C extends Containerable>,PrismContainerValueWrapper<C extends Containerable>>
-
createContainerValueWrapper
public PrismContainerValueWrapper<C> createContainerValueWrapper(PrismContainerWrapper<C> objectWrapper, PrismContainerValue<C> objectValue, ValueStatus status, WrapperContext context)
- Specified by:
createContainerValueWrapper
in interfacePrismContainerWrapperFactory<C extends Containerable>
-
shouldBeExpanded
protected boolean shouldBeExpanded(PrismContainerWrapper<C> parent, PrismContainerValue<C> value, WrapperContext context)
-
setupWrapper
protected void setupWrapper(PrismContainerWrapper<C> wrapper)
- Specified by:
setupWrapper
in classItemWrapperFactoryImpl<PrismContainerWrapper<C extends Containerable>,PrismContainerValue<C extends Containerable>,PrismContainer<C extends Containerable>,PrismContainerValueWrapper<C extends Containerable>>
-
-