Class PrismReferenceWrapperFactory<R extends Referencable>
- java.lang.Object
-
- com.evolveum.midpoint.gui.impl.factory.wrapper.ItemWrapperFactoryImpl<PrismReferenceWrapper<R>,PrismReferenceValue,PrismReference,PrismReferenceValueWrapperImpl<R>>
-
- com.evolveum.midpoint.gui.impl.factory.wrapper.PrismReferenceWrapperFactory<R>
-
- All Implemented Interfaces:
ItemWrapperFactory<PrismReferenceWrapper<R>,PrismReferenceValueWrapperImpl<R>,PrismReferenceValue>
,WrapperFactory
- Direct Known Subclasses:
ChildOfReportParamWrapperFactory
,TenantRefWrapperFactory
@Component @Primary public class PrismReferenceWrapperFactory<R extends Referencable> extends ItemWrapperFactoryImpl<PrismReferenceWrapper<R>,PrismReferenceValue,PrismReference,PrismReferenceValueWrapperImpl<R>>
- Author:
- katka
-
-
Constructor Summary
Constructors Constructor Description PrismReferenceWrapperFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PrismReferenceValue
createNewValue(PrismReference item)
PrismReferenceValueWrapperImpl<R>
createValueWrapper(PrismReferenceWrapper<R> parent, PrismReferenceValue value, ValueStatus status, WrapperContext context)
protected PrismReferenceWrapper<R>
createWrapperInternal(PrismContainerValueWrapper<?> parent, PrismReference item, ItemStatus status, WrapperContext ctx)
int
getOrder()
boolean
match(ItemDefinition<?> def)
void
register()
void
registerWrapperPanel(PrismReferenceWrapper<R> wrapper)
protected void
setupWrapper(PrismReferenceWrapper<R> wrapper)
-
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.WrapperFactory
match
-
-
-
-
Method Detail
-
match
public boolean match(ItemDefinition<?> def)
-
register
@PostConstruct public void register()
-
getOrder
public int getOrder()
-
createNewValue
protected PrismReferenceValue createNewValue(PrismReference item)
- Specified by:
createNewValue
in classItemWrapperFactoryImpl<PrismReferenceWrapper<R extends Referencable>,PrismReferenceValue,PrismReference,PrismReferenceValueWrapperImpl<R extends Referencable>>
-
createWrapperInternal
protected PrismReferenceWrapper<R> createWrapperInternal(PrismContainerValueWrapper<?> parent, PrismReference item, ItemStatus status, WrapperContext ctx)
- Specified by:
createWrapperInternal
in classItemWrapperFactoryImpl<PrismReferenceWrapper<R extends Referencable>,PrismReferenceValue,PrismReference,PrismReferenceValueWrapperImpl<R extends Referencable>>
-
createValueWrapper
public PrismReferenceValueWrapperImpl<R> createValueWrapper(PrismReferenceWrapper<R> parent, PrismReferenceValue value, ValueStatus status, WrapperContext context)
-
registerWrapperPanel
public void registerWrapperPanel(PrismReferenceWrapper<R> wrapper)
- Specified by:
registerWrapperPanel
in classItemWrapperFactoryImpl<PrismReferenceWrapper<R extends Referencable>,PrismReferenceValue,PrismReference,PrismReferenceValueWrapperImpl<R extends Referencable>>
-
setupWrapper
protected void setupWrapper(PrismReferenceWrapper<R> wrapper)
- Specified by:
setupWrapper
in classItemWrapperFactoryImpl<PrismReferenceWrapper<R extends Referencable>,PrismReferenceValue,PrismReference,PrismReferenceValueWrapperImpl<R extends Referencable>>
-
-