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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddItemWrapper(ItemDefinition<?> def, PrismContainerValueWrapper<?> containerValueWrapper, WrapperContext context, List<ItemWrapper<?, ?>> wrappers) protected @NotNull List<ItemWrapper<?,?>> createChildren(PrismContainerWrapper<C> parent, PrismContainerValue<C> value, PrismContainerValueWrapper<C> containerValueWrapper, WrapperContext context) protected ItemWrapper<?,?> createChildWrapper(ItemDefinition<?> def, PrismContainerValueWrapper<?> containerValueWrapper, WrapperContext context) createContainerValueWrapper(PrismContainerWrapper<C> objectWrapper, PrismContainerValue<C> objectValue, ValueStatus status, WrapperContext context) protected PrismContainerValue<C>createNewValue(PrismContainer<C> item) createValueWrapper(PrismContainerWrapper<C> parent, PrismContainerValue<C> value, ValueStatus status, WrapperContext context) protected PrismContainerWrapper<C>createWrapperInternal(PrismContainerValueWrapper<?> parent, PrismContainer<C> childContainer, ItemStatus status, WrapperContext ctx) protected List<? extends ItemDefinition>getItemDefinitions(PrismContainerWrapper<C> parent, PrismContainerValue<C> value) intgetOrder()booleanmatch(ItemDefinition<?> def) voidregister()voidregisterWrapperPanel(PrismContainerWrapper<C> wrapper) protected voidsetupWrapper(PrismContainerWrapper<C> wrapper) protected booleanshouldBeExpanded(PrismContainerWrapper<C> parent, PrismContainerValue<C> value, WrapperContext context) Methods 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
-
PrismContainerWrapperFactoryImpl
public PrismContainerWrapperFactoryImpl()
-
-
Method Details
-
match
- Specified by:
matchin interfaceWrapperFactory
-
register
@PostConstruct public void register()- Specified by:
registerin interfaceWrapperFactory
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceWrapperFactory
-
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>> - 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
- Specified by:
createNewValuein 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:
createWrapperInternalin classItemWrapperFactoryImpl<PrismContainerWrapper<C extends Containerable>,PrismContainerValue<C extends Containerable>, PrismContainer<C extends Containerable>, PrismContainerValueWrapper<C extends Containerable>>
-
registerWrapperPanel
- Specified by:
registerWrapperPanelin 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:
createContainerValueWrapperin interfacePrismContainerWrapperFactory<C extends Containerable>
-
shouldBeExpanded
protected boolean shouldBeExpanded(PrismContainerWrapper<C> parent, PrismContainerValue<C> value, WrapperContext context) -
setupWrapper
- Specified by:
setupWrapperin classItemWrapperFactoryImpl<PrismContainerWrapper<C extends Containerable>,PrismContainerValue<C extends Containerable>, PrismContainer<C extends Containerable>, PrismContainerValueWrapper<C extends Containerable>>
-