Class ItemWrapperFactoryImpl<IW extends ItemWrapper,PV extends PrismValue,I extends Item,VW extends PrismValueWrapper>   
java.lang.Object
com.evolveum.midpoint.gui.impl.factory.wrapper.ItemWrapperFactoryImpl<IW,PV,I,VW>   
- All Implemented Interfaces:
- ItemWrapperFactory<IW,,- VW, - PV> - WrapperFactory
- Direct Known Subclasses:
- PrismContainerWrapperFactoryImpl,- PrismPropertyWrapperFactoryImpl,- PrismReferenceWrapperFactory,- ResourceAttributeWrapperFactoryImpl
public abstract class ItemWrapperFactoryImpl<IW extends ItemWrapper,PV extends PrismValue,I extends Item,VW extends PrismValueWrapper>   
extends Object
implements ItemWrapperFactory<IW,VW,PV>  
- Author:
- katka
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleancanCreateValueWrapper(PV pcv) protected booleancanCreateWrapper(ItemDefinition<?> def, ItemStatus status, WrapperContext context, boolean isEmptyValue) protected abstract PVcreateNewValue(I item) createValuesWrapper(IW itemWrapper, I item, WrapperContext context) createWrapper(PrismContainerValueWrapper<?> parent, ItemDefinition<?> def, WrapperContext context) createWrapper(PrismContainerValueWrapper<?> parent, Item childItem, ItemStatus status, WrapperContext context) protected abstract IWcreateWrapperInternal(PrismContainerValueWrapper<?> parent, I childContainer, ItemStatus status, WrapperContext wrapperContext) com.evolveum.midpoint.task.api.TaskManagerabstract voidregisterWrapperPanel(IW wrapper) protected <VW extends PrismValueWrapper>
 voidsetupMetadata(IW itemWrapper, VW valueWrapper, WrapperContext ctx) protected abstract voidsetupWrapper(IW wrapper) protected booleanshouldCreateEmptyValue(I item, WrapperContext context) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.gui.api.factory.wrapper.ItemWrapperFactorycreateValueWrapperMethods inherited from interface com.evolveum.midpoint.gui.api.factory.wrapper.WrapperFactorygetOrder, match, match, register
- 
Constructor Details- 
ItemWrapperFactoryImplpublic ItemWrapperFactoryImpl()
 
- 
- 
Method Details- 
createWrapperpublic IW createWrapper(PrismContainerValueWrapper<?> parent, ItemDefinition<?> def, WrapperContext context) throws SchemaException - Specified by:
- createWrapperin interface- ItemWrapperFactory<IW extends ItemWrapper,- PV extends PrismValue, - I extends Item> 
- Throws:
- SchemaException
 
- 
registerWrapperPanel
- 
createWrapperpublic IW createWrapper(PrismContainerValueWrapper<?> parent, Item childItem, ItemStatus status, WrapperContext context) throws SchemaException - Specified by:
- createWrapperin interface- ItemWrapperFactory<IW extends ItemWrapper,- PV extends PrismValue, - I extends Item> 
- Throws:
- SchemaException
 
- 
canCreateWrapperprotected boolean canCreateWrapper(ItemDefinition<?> def, ItemStatus status, WrapperContext context, boolean isEmptyValue) 
- 
setupWrapper
- 
createValuesWrapperprotected List<VW> createValuesWrapper(IW itemWrapper, I item, WrapperContext context) throws SchemaException - Throws:
- SchemaException
 
- 
setupMetadataprotected <VW extends PrismValueWrapper> void setupMetadata(IW itemWrapper, VW valueWrapper, WrapperContext ctx) throws SchemaException - Throws:
- SchemaException
 
- 
getValues
- 
canCreateValueWrapper
- 
createNewValue- Throws:
- SchemaException
 
- 
createWrapperInternalprotected abstract IW createWrapperInternal(PrismContainerValueWrapper<?> parent, I childContainer, ItemStatus status, WrapperContext wrapperContext) 
- 
shouldCreateEmptyValue
- 
getRegistry- Returns:
- the registry
 
- 
getPrismContext- Returns:
- the prismContext
 
- 
getModelService
- 
getTaskManagerpublic com.evolveum.midpoint.task.api.TaskManager getTaskManager()
- 
getModelInteractionService
 
-